ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* matching font sizes with fallback fonts
@ 2013-07-31 16:16 Pablo Rodríguez
  2013-07-31 20:43 ` Wolfgang Schuster
  0 siblings, 1 reply; 3+ messages in thread
From: Pablo Rodríguez @ 2013-07-31 16:16 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Dear list,

I’m trying to match the fallback font size with the lowercase size of
the main font, as shown in this sample:

    \usemodule[simplefonts][size=90pt]
    \setmainfontfallback[GFS Neohellenic]
      [range={greekandcoptic,greekextended}, force=yes, rscale=auto]
    \setmainfont[TeX Gyre Pagella]
    \starttext
    aα γg AΑ ΒB
    \stoptext

But rscale=auto doesn’t seem to work (if this is the right option).

What am I doing wrong here?

Many thanks for your help,


Pablo	
-- 
http://www.ousia.tk
___________________________________________________________________________________
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: matching font sizes with fallback fonts
  2013-07-31 16:16 matching font sizes with fallback fonts Pablo Rodríguez
@ 2013-07-31 20:43 ` Wolfgang Schuster
  2013-08-01 17:09   ` Pablo Rodríguez
  0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Schuster @ 2013-07-31 20:43 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 31.07.2013 um 18:16 schrieb Pablo Rodríguez <oinos@web.de>:

> Dear list,
> 
> I’m trying to match the fallback font size with the lowercase size of
> the main font, as shown in this sample:
> 
>    \usemodule[simplefonts][size=90pt]
>    \setmainfontfallback[GFS Neohellenic]
>      [range={greekandcoptic,greekextended}, force=yes, rscale=auto]
>    \setmainfont[TeX Gyre Pagella]
>    \starttext
>    aα γg AΑ ΒB
>    \stoptext
> 
> But rscale=auto doesn’t seem to work (if this is the right option).
> 
> What am I doing wrong here?

1. The simplefonts module uses “scale” as key and not “rscale”.

2. You can also use a number as argument for the scale key, keywords like auto are not possible.

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: matching font sizes with fallback fonts
  2013-07-31 20:43 ` Wolfgang Schuster
@ 2013-08-01 17:09   ` Pablo Rodríguez
  0 siblings, 0 replies; 3+ messages in thread
From: Pablo Rodríguez @ 2013-08-01 17:09 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 07/31/2013 10:43 PM, Wolfgang Schuster wrote:
> Am 31.07.2013 um 18:16 schrieb Pablo Rodríguez <oinos@web.de>:
>>[...]
>>    \usemodule[simplefonts][size=90pt]
>>    \setmainfontfallback[GFS Neohellenic]
>>      [range={greekandcoptic,greekextended}, force=yes, rscale=auto]
>>    \setmainfont[TeX Gyre Pagella]
>>    \starttext
>>    aα γg AΑ ΒB
>>    \stoptext
>>
>> But rscale=auto doesn’t seem to work (if this is the right option).
>>
>> What am I doing wrong here?
> 
> 1. The simplefonts module uses “scale” as key and not “rscale”.
> 
> 2. You can also use a number as argument for the scale key, keywords
> like auto are not possible.

Many thanks for your reply, Wolfgang.


Pablo
-- 
http://www.ousia.tk
___________________________________________________________________________________
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:[~2013-08-01 17:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-31 16:16 matching font sizes with fallback fonts Pablo Rodríguez
2013-07-31 20:43 ` Wolfgang Schuster
2013-08-01 17:09   ` Pablo Rodríguez

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