[NTG-context] Protrusion and expansion in simplefonts not working in latest beta?

2010-08-17 Thread 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]

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
___
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
___


Re: [NTG-context] Protrusion and expansion in simplefonts not working in latest beta?

2010-08-17 Thread Hans Hagen

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
-
___
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
___


Re: [NTG-context] Protrusion and expansion in simplefonts not working in latest beta?

2010-08-17 Thread Wolfgang Schuster

 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

___
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
___


Re: [NTG-context] Protrusion and expansion in simplefonts not working in latest beta?

2010-08-17 Thread Vianney le Clément
On Tue, Aug 17, 2010 at 20:23, Wolfgang Schuster
schuster.wolfg...@googlemail.com 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?


2010/8/17 Hans Hagen pra...@wxs.nl:
 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
___
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
___


Re: [NTG-context] Protrusion and expansion in simplefonts not working in latest beta?

2010-08-17 Thread Wolfgang Schuster

 Am 17.08.10 21:00, schrieb Vianney le Clément:

On Tue, Aug 17, 2010 at 20:23, Wolfgang Schuster
schuster.wolfg...@googlemail.com  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

___
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
___


Re: [NTG-context] Protrusion and expansion in simplefonts not working in latest beta?

2010-08-17 Thread Hans Hagen

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
-
___
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
___