* Using mycrotypography features with simplefont module and OTF/TTF @ 2011-07-22 13:56 Alexandre Leray 2011-07-22 14:07 ` Wolfgang Schuster 0 siblings, 1 reply; 3+ messages in thread From: Alexandre Leray @ 2011-07-22 13:56 UTC (permalink / raw) To: mailing list for ConTeXt users Dear all, I'm trying to enable protrusion on a text composed with a ttf font (tried otf converted from ttf as well) and using the simplefont module. We have tried different things but did not see any difference in the results. Our context version is 2011.07.20 14:10 The full context code is visible here: http://dpaste.com/574351/ The relevant chunk is this: % USING SIMPLEFONT: FAILS % %\usemodule[simplefonts][protrusion=quality,expansion=quality] %\setmainfont[umepmincho] % USING TYPESCRIPT: FAILS TOO % \starttypescript [serif] [umepmincho] \definefontsynonym [Serif] [name:umepmincho] \stoptypescript \definetypeface [umepmincho] [rm] [serif] [umepmincho] \definefontfeature[default][default][expansion=quality,protrusion=quality] \setupalign[hz,hanging] \setupbodyfont[umepmincho, 10pt] \definebodyfontenvironment[default][x=0.75 ,a=1.5, b=1.75, c=2,d=3.4] % defines higher sizes of fonts Is there a way to make it work? Thanks! Alex ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Using mycrotypography features with simplefont module and OTF/TTF 2011-07-22 13:56 Using mycrotypography features with simplefont module and OTF/TTF Alexandre Leray @ 2011-07-22 14:07 ` Wolfgang Schuster 2011-07-22 14:19 ` stdin 0 siblings, 1 reply; 3+ messages in thread From: Wolfgang Schuster @ 2011-07-22 14:07 UTC (permalink / raw) To: mailing list for ConTeXt users Am 22.07.2011 um 15:56 schrieb Alexandre Leray: > Dear all, > > I'm trying to enable protrusion on a text composed with a ttf font (tried otf converted from ttf as well) > and using the simplefont module. We have tried different things but did not see any difference in the results. > > Our context version is 2011.07.20 14:10 > > The full context code is visible here: http://dpaste.com/574351/ > > The relevant chunk is this: > > % USING SIMPLEFONT: FAILS % > %\usemodule[simplefonts][protrusion=quality,expansion=quality] > %\setmainfont[umepmincho] For all fonts: \setupsimplefonts[protrusion=...,expansion=…] For only one font: \set(main|sans|…)font[...][expansion=...,protrusion=...] Wolfgang ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Using mycrotypography features with simplefont module and OTF/TTF 2011-07-22 14:07 ` Wolfgang Schuster @ 2011-07-22 14:19 ` stdin 0 siblings, 0 replies; 3+ messages in thread From: stdin @ 2011-07-22 14:19 UTC (permalink / raw) To: ntg-context Thanks a lot, it works! btw could you tell me how to achieve the same with typescripts for future works? Alex Le ven. 22 juil. 2011 16:07:24 CEST, Wolfgang Schuster a écrit : > Am 22.07.2011 um 15:56 schrieb Alexandre Leray: > >> Dear all, >> >> I'm trying to enable protrusion on a text composed with a ttf font (tried otf converted from ttf as well) >> and using the simplefont module. We have tried different things but did not see any difference in the results. >> >> Our context version is 2011.07.20 14:10 >> >> The full context code is visible here: http://dpaste.com/574351/ >> >> The relevant chunk is this: >> >> % USING SIMPLEFONT: FAILS % >> %\usemodule[simplefonts][protrusion=quality,expansion=quality] >> %\setmainfont[umepmincho] > > For all fonts: \setupsimplefonts[protrusion=...,expansion=…] > > For only one font: \set(main|sans|…)font[...][expansion=...,protrusion=...] > > Wolfgang > > ___________________________________________________________________________________ > If your question is of interest to others as well, please add an entry to the Wiki! > > maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : http://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > ___________________________________________________________________________________ -- <stdin> Alexandre Leray & Stéphanie Vilayphiou http://stdin.fr/ +32 (0)4 89 00 88 59 ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-07-22 14:19 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2011-07-22 13:56 Using mycrotypography features with simplefont module and OTF/TTF Alexandre Leray 2011-07-22 14:07 ` Wolfgang Schuster 2011-07-22 14:19 ` stdin
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).