[NTG-context] ConTeXt + XeTeX + Adobe Bembo Std = ???
Paul Hoffman
nkuitse at nkuitse.com
Thu Jul 13 15:15:18 CEST 2006
Bingo! Thanks a million, Adam; that did the trick.
> To show the arbitrariness of some of the names, you can change the
> last definition and how you call it:
>
> \starttypescript[OpenTypeBembo]
> \definetypeface [BooBoo] [rm] [serif] [bembo] [default]
> [encoding=uc]
> \stoptypescript
>
> \usetypescriptfile[type-bembo]
> \usetypescript[OpenTypeBembo]
> \setupbodyfont[BooBoo,11pt]
>
> And when you call the "BooBoo" typeface, it knows that definition and
> calls the following definitions when using the \rm family:
>
> \starttypescript[serif][bembo] [uc]
> \starttypescript[serif][bembo] [name]
> \starttypescript[serif][default][size]
>
> (and some other, special definitions that 98% of the time you don't
> need
> to worry about.)
Aha! That explains a lot. Now I know how to define a variant with
old-style figures:
\starttypescript[serif][bembo][uc]
\definefontsynonym[BemboRegular]
["Bembo Std:mapping=tex-text"]
[encoding=uc]
...
\stoptypescript
%
\starttypescript[serif][bembo-osf][uc]
\definefontsynonym[BemboRegular]
["Bembo Std:mapping=tex-text;+onum"]
[encoding=uc]
...
\stoptypescript
%
\starttypescript[serif][bembo,bembo-osf][name]
\definefontsynonym[Serif][BemboRegular]
...
\stoptypescript
%
\starttypescript[bembo][uc]
\definetypeface[bembo]
[rm][serif][bembo][default][encoding=uc]
\definetypeface[bembo-osf]
[rm][serif][bembo-osf][default][encoding=uc]
\stoptypescript
I figured out bold italic, too ("Bembo Std-Bold Italic", not "Bembo
Std-BoldItalic", d'oh!) and all is golden. I suppose I should try to
fix the typescript so it can be used with other encodings, but I'll
leave that for another day. For now, I'm just thrilled to be able to
use my brand new shiny font. ConTeXt + XeTeX + Adobe Bembo Std +
helpful netizens = bliss.
Paul.
--
Paul Hoffman <nkuitse at nkuitse.com>
http://nkuitse.com/
http://hoffmancommapaul.com/
More information about the ntg-context
mailing list