[NTG-context] lucida ot

Wolfgang Schuster schuster.wolfgang at googlemail.com
Sun Apr 29 12:24:27 CEST 2012


Am 25.04.2012 um 21:10 schrieb Mari Voipio:

> On Tue, Apr 24, 2012 at 20:53, Wolfgang Schuster
> <schuster.wolfgang at googlemail.com> wrote:
>> 
>> \definetypeface[mainface][rm][specserif]  [Lucida Blackletter OT][default][features=default]
>> \definetypeface[mainface][cg][calligraphy][lucidaot]             [default][features=default]
>> 
>> \setupbodyfont[mainface]
>> 
>> \definebodyfontenvironment[default][em=cg]
>> 
>> \starttext
>> 
>> \input knuth
>> 
>> roman {\cg calligraphic} roman {\em emphasized} roman
>> 
>> \stoptext
> 
> Works fine in a single file, but as soon as I try using it in a
> project environment, it hangs..
> 
> A minimal environment test file:
> \startenvironment env_ms_blackletter
> 
> \definetypeface[mainface][rm][specserif]  [Lucida Blackletter OT][default][features=default]
> 
> \setupbodyfont[mainface]
> 
> \stopenvironment

There are two ways to get around this:

1. Load the environment before \startcomponent or \startproduct

2. Add a definition for a math font, e.g.

  \definetypeface[mainface][mm][math][lucidaot][default]

Wolfgang


More information about the ntg-context mailing list