* Cambria and companion fonts
@ 2010-09-29 12:52 Patrick Gundlach
2010-09-29 12:59 ` Wolfgang Schuster
0 siblings, 1 reply; 5+ messages in thread
From: Patrick Gundlach @ 2010-09-29 12:52 UTC (permalink / raw)
To: mailing list for ConTeXt users
While looking at Cambria, is there any typescript (or something similar) that defines for example Corbel or Candara as a companion to Cambria?
Patrick
___________________________________________________________________________________
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] 5+ messages in thread
* Re: Cambria and companion fonts
2010-09-29 12:52 Cambria and companion fonts Patrick Gundlach
@ 2010-09-29 12:59 ` Wolfgang Schuster
2010-09-29 13:25 ` Patrick Gundlach
0 siblings, 1 reply; 5+ messages in thread
From: Wolfgang Schuster @ 2010-09-29 12:59 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 29.09.2010 um 14:52 schrieb Patrick Gundlach:
>
> While looking at Cambria, is there any typescript (or something similar) that defines for example Corbel or Candara as a companion to Cambria?
No but you can write your own typescript:
\definetypeface [mainface] [rm] [serif] [cambria] [default]
\definetypeface [mainface] [ss] [sans] [corbel] [default] [rscale=auto]
\definetypeface [mainface] [tt] [mono] [consolas] [default] [rscale=auto]
\definetypeface [mainface] [mm] [math] [cambria] [default]
\setupbodyfont[mainface]
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] 5+ messages in thread
* Re: Cambria and companion fonts
2010-09-29 12:59 ` Wolfgang Schuster
@ 2010-09-29 13:25 ` Patrick Gundlach
2010-09-29 13:33 ` Wolfgang Schuster
0 siblings, 1 reply; 5+ messages in thread
From: Patrick Gundlach @ 2010-09-29 13:25 UTC (permalink / raw)
To: mailing list for ConTeXt users
>> While looking at Cambria, is there any typescript (or something similar) that defines for example Corbel or Candara as a companion to Cambria?
>
> No but you can write your own typescript:
>
> \definetypeface [mainface] [rm] [serif] [cambria] [default]
> \definetypeface [mainface] [ss] [sans] [corbel] [default] [rscale=auto]
> \definetypeface [mainface] [tt] [mono] [consolas] [default] [rscale=auto]
> \definetypeface [mainface] [mm] [math] [cambria] [default]
>
> \setupbodyfont[mainface]
OK, I see. (I only searched the .tex files, but missed the .mkiv while searching for "corbel"). Thanks again!
But even if I had seen the lines with corbel, I would have asked how to use the typescript. The definition in type-otf.mkiv goes like:
\starttypescript [sans] [corbel] [name]
...
...
\stoptypescript
I guess [name] is just a default classifier for defining the base level of a filename-font mapping, right? I assume that somewhere there is a statement like
\usetypescript [sans] [corbel] [name]
after saying
\definetypeface [mainface] [ss] [sans] [corbel] [default] [rscale=auto]
Is this the way this is done internally?
What exactly is rscale=auto ?
Patrick
___________________________________________________________________________________
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] 5+ messages in thread
* Re: Cambria and companion fonts
2010-09-29 13:25 ` Patrick Gundlach
@ 2010-09-29 13:33 ` Wolfgang Schuster
2010-09-29 14:02 ` Florian Wobbe
0 siblings, 1 reply; 5+ messages in thread
From: Wolfgang Schuster @ 2010-09-29 13:33 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 29.09.2010 um 15:25 schrieb Patrick Gundlach:
> I guess [name] is just a default classifier for defining the base level of a filename-font mapping, right?
It’s a leftover from mkii where you had [name] and [texnansi,ec,...], the first was to map from “Serif” etc. to the symbolic name (e.g. PalatinoItalic) and the other to map the symbolic name to the font file.
> I assume that somewhere there is a statement like
>
> \usetypescript [sans] [corbel] [name]
>
> after saying
>
> \definetypeface [mainface] [ss] [sans] [corbel] [default] [rscale=auto]
>
> Is this the way this is done internally?
This was always the case, even in mkii.
> What exactly is rscale=auto ?
Instead of giving a scale factor (e.g. factor=1.1) you can say auto and context use the font information to scale the sans font to the same size as the serif font.
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] 5+ messages in thread
end of thread, other threads:[~2010-09-29 14:02 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-29 12:52 Cambria and companion fonts Patrick Gundlach
2010-09-29 12:59 ` Wolfgang Schuster
2010-09-29 13:25 ` Patrick Gundlach
2010-09-29 13:33 ` Wolfgang Schuster
2010-09-29 14:02 ` Florian Wobbe
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).