ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Protrusion and expansion in simplefonts not working in latest beta?
@ 2010-08-17 18:11 Vianney le Clément
  2010-08-17 18:19 ` Hans Hagen
  2010-08-17 18:23 ` Wolfgang Schuster
  0 siblings, 2 replies; 6+ messages in thread
From: Vianney le Clément @ 2010-08-17 18:11 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Protrusion and expansion in simplefonts not working in latest beta?
  2010-08-17 18:11 Protrusion and expansion in simplefonts not working in latest beta? Vianney le Clément
@ 2010-08-17 18:19 ` Hans Hagen
  2010-08-17 18:23 ` Wolfgang Schuster
  1 sibling, 0 replies; 6+ messages in thread
From: Hans Hagen @ 2010-08-17 18:19 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Protrusion and expansion in simplefonts not working in latest beta?
  2010-08-17 18:11 Protrusion and expansion in simplefonts not working in latest beta? Vianney le Clément
  2010-08-17 18:19 ` Hans Hagen
@ 2010-08-17 18:23 ` Wolfgang Schuster
  2010-08-17 19:00   ` Vianney le Clément
  1 sibling, 1 reply; 6+ messages in thread
From: Wolfgang Schuster @ 2010-08-17 18:23 UTC (permalink / raw)
  To: mailing list for ConTeXt users

  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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Protrusion and expansion in simplefonts not working in latest beta?
  2010-08-17 18:23 ` Wolfgang Schuster
@ 2010-08-17 19:00   ` Vianney le Clément
  2010-08-17 19:12     ` Wolfgang Schuster
  2010-08-17 20:34     ` Hans Hagen
  0 siblings, 2 replies; 6+ messages in thread
From: Vianney le Clément @ 2010-08-17 19:00 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Tue, Aug 17, 2010 at 20:23, Wolfgang Schuster
<schuster.wolfgang@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 <pragma@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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Protrusion and expansion in simplefonts not working in latest beta?
  2010-08-17 19:00   ` Vianney le Clément
@ 2010-08-17 19:12     ` Wolfgang Schuster
  2010-08-17 20:34     ` Hans Hagen
  1 sibling, 0 replies; 6+ messages in thread
From: Wolfgang Schuster @ 2010-08-17 19:12 UTC (permalink / raw)
  To: mailing list for ConTeXt users

  Am 17.08.10 21:00, schrieb Vianney le Clément:
> On Tue, Aug 17, 2010 at 20:23, Wolfgang Schuster
> <schuster.wolfgang@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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Protrusion and expansion in simplefonts not working in latest beta?
  2010-08-17 19:00   ` Vianney le Clément
  2010-08-17 19:12     ` Wolfgang Schuster
@ 2010-08-17 20:34     ` Hans Hagen
  1 sibling, 0 replies; 6+ messages in thread
From: Hans Hagen @ 2010-08-17 20:34 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-08-17 20:34 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-17 18:11 Protrusion and expansion in simplefonts not working in latest beta? Vianney le Clément
2010-08-17 18:19 ` Hans Hagen
2010-08-17 18:23 ` Wolfgang Schuster
2010-08-17 19:00   ` Vianney le Clément
2010-08-17 19:12     ` Wolfgang Schuster
2010-08-17 20:34     ` Hans Hagen

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).