2009/5/28 Nicolas Girard <nicolas.gir...@nerim.net>:
> 2009/5/28 Wolfgang Schuster <schuster.wolfg...@googlemail.com>:
>>

>>>
>>>   \starttext
>>>   \font\Myfont=Delicious-Roman at 24pt
>>>   \Myfont Hello, world
>>>   \stoptext
>>

Now, I'm trying to make the typescript code from the wiki [1] work
[1] http://wiki.contextgarden.net/exljbris_typescript

My test file is as follows:


% ==========================
\definefontfeature[default][liga=yes,kern=yes,tlig=yes,trep=yes,script=latn,mapping=tex-text]
\starttypescript [sans] [delicious]
  \setups[font:fallback:sans]
  \definefontsynonym [Sans]           [Delicious-Regular]
  \definefontsynonym [SansItalic]     [Delicious-Italic]
  \definefontsynonym [SansBold]       [Delicious-Bold]
  \definefontsynonym [SansBoldItalic] [Delicious-BoldItalic]
  \definefontsynonym [SansCaps]       [Delicious-Caps]
\stoptypescript

\starttypescript [sans] [delicious]
  \definefontsynonym [Delicious-Regular]    [name:Delicious-Roman]
 [features=default]
  \definefontsynonym [Delicious-Italic]     [name:Delicious-Italic]
 [features=default]
  \definefontsynonym [Delicious-Bold]       [name:Delicious-Bold]
 [features=default]
  \definefontsynonym [Delicious-BoldItalic]
[name:Delicious-BoldItalic] [features=default]
  \definefontsynonym [Delicious-Caps]       [name:Delicious-SmallCaps]
 [features=default]
\stoptypescript


\starttypescript [delicious]
  \definetypeface [delicious] [ss] [sans] [delicious] [default]
\stoptypescript

\setupbodyfont[delicious,ss,10pt]

\starttext
Goodbye --- cruel -- world

fi ff ffi

\italic{Italic} Roman

\stoptext
% ==========================

But the fonts fall silently back to lmodern.
Am I missing something ?
Sorry, this may sound like dumb questions, but I just don't get it :-/

--
Nicolas
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to