[NTG-context] lucida ot

Wolfgang Schuster schuster.wolfgang at googlemail.com
Sat Apr 21 11:36:54 CEST 2012


Am 20.04.2012 um 15:24 schrieb Mari Voipio:

> On Wed, Apr 18, 2012 at 14:37, Mari Voipio <mari.voipio at iki.fi> wrote:
>>> Now I can at least get started, and figure out about the Blackletter a
>>> bit later
>> 
>> It turns out that I need it rather sooner than later
> 
> ARGH, I give up!
> 
> ConTeXt finds the Lucida Blackletter OT font on my system (Mac OS X), because:
> 
> mtxrun --script fonts --list --all --pattern=Lucida*
> 
> says (among others)
> 
> lucidablackletterot                 lucidablackletterot
> /Users/Mari/Library/Fonts/LucidaBlackletterOT.otf
> lucidablackletterotnormal           lucidablackletterot
> /Users/Mari/Library/Fonts/LucidaBlackletterOT.otf
> lucidablackletterotregular          lucidablackletterot
> /Users/Mari/Library/Fonts/LucidaBlackletterOT.otf
> 
> 
> 
> But whatever versions of font synonyms and typescripts and all other
> commands I try, I always get something like
> typescripts > unknown: library 'blackletter"
> 
> I'm sure I'm missing something really elementary here, but what?
> 
> This is one of my more recent attempts at calling for the font:
> 
> \starttypescript [rm] [blackletter]
>  \definefontsynonym [Serif]        	  [file:LucidaBlackletterOT.otf]
> \stoptypescript
> 
> \definetypeface	[blackletter]	[rm]	[serif]	[blackletter]
> 
> \setupbodyfont[blackletter]
> 
> Any ideas of what I'm doing wrong?


You need \starttypescript[serif][blackletter] but there is a shorter method:

\definetypeface[lucidablackletter][rm][specserif][Lucida Blackletter OT]

\setupbodyfont[lucidaot]

\starttext
Lucida Bright {\lucidablackletter Lucida Blackletter} Lucida Bright
\stoptext

Wolfgang


More information about the ntg-context mailing list