Protrusion and expansion in simplefonts not working in latest beta?
Hello, Protrusion and expansion seem to be not working anymore when using the simplefonts module in the latest betas. I used to write something like \usemodule[simplefonts][protrusion=quality,expansion=quality] \setupalign[hanging,hz] \setmainfont[Tex Gyre Bonum] but that doesn't give me any of the nice effects anymore. Has something changed in the interface to access those features? BTW, I would definitely love an option in simplefonts to take care of this whole setup at once. Something like \setupmodule[simplefonts][microtypography=yes] to take care of the first two lines of the previous example. Or at least imply \setupalign[hanging] when setting the protrusion parameter and similarly for the expansion parameter. Thanks, Vianney
On 17-8-2010 8:11, Vianney le Clément wrote:
Hello,
Protrusion and expansion seem to be not working anymore when using the simplefonts module in the latest betas. I used to write something like
\usemodule[simplefonts][protrusion=quality,expansion=quality] \setupalign[hanging,hz] \setmainfont[Tex Gyre Bonum]
but that doesn't give me any of the nice effects anymore. Has something changed in the interface to access those features?
BTW, I would definitely love an option in simplefonts to take care of this whole setup at once. Something like \setupmodule[simplefonts][microtypography=yes]
please keep the original key names (protrusion and expansion) as it's already complex enough .. nowhere we use the term microtypography and it is a rather meaningless term as there is much micro going on
to take care of the first two lines of the previous example. Or at least imply \setupalign[hanging] when setting the protrusion parameter and similarly for the expansion parameter.
in many case you don't want to use them both at the same time Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
Am 17.08.10 20:11, schrieb Vianney le Clément:
Hello,
Protrusion and expansion seem to be not working anymore when using the simplefonts module in the latest betas. I used to write something like
\usemodule[simplefonts][protrusion=quality,expansion=quality] \setupalign[hanging,hz] \setmainfont[Tex Gyre Bonum]
\setmainfont[Tex Gyre Bonum][protrusion=quality,expansion=quality] Wolfgang
On Tue, Aug 17, 2010 at 20:23, Wolfgang Schuster
\setmainfont[Tex Gyre Bonum][protrusion=quality,expansion=quality]
Thanks, that does the trick. Any reason why we cannot set these
settings as module parameters anymore?
2010/8/17 Hans Hagen
please keep the original key names (protrusion and expansion) as it's already complex enough .. nowhere we use the term microtypography and it is a rather meaningless term as there is much micro going on
Ok, that's rational. No problem, I can live without it.
to take care of the first two lines of the previous example. Or at least imply \setupalign[hanging] when setting the protrusion parameter and similarly for the expansion parameter.
in many case you don't want to use them both at the same time
Could you expand a bit more on this? My understanding was that setting protrusion=quality without \setupalign[hanging] did nothing, but of course I may be completely wrong. Thanks, Vianney
Am 17.08.10 21:00, schrieb Vianney le Clément:
On Tue, Aug 17, 2010 at 20:23, Wolfgang Schuster
wrote: \setmainfont[Tex Gyre Bonum][protrusion=quality,expansion=quality] Thanks, that does the trick. Any reason why we cannot set these settings as module parameters anymore?
To set both features for all fonts you can use \setupsimplefonts[expansion=quality,protrusion=quality]. Wolfgang
On 17-8-2010 9:00, Vianney le Clément wrote:
Could you expand a bit more on this? My understanding was that setting protrusion=quality without \setupalign[hanging] did nothing, but of course I may be completely wrong.
true but it also creates more font data so it uses more memory and slows down font loading Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (3)
-
Hans Hagen
-
Vianney le Clément
-
Wolfgang Schuster