define font | font with name Delicious-Roman is not found
Hi all, I'm using the latest beta of context minimals, rsynced over a TeXlive 2008 on ubuntu. LuaTeX is Version beta-0.40.1-2009050920 (Web2C 7.5.7) MTXrun is TDS Runner Tool 1.22 ConTeXt is 2009.05.28 14:36 $ mtxrun --script fonts --list|grep Delicious gives: deliciousbold Delicious-Bold /usr/local/share/fonts/d/delicious_bold.otf deliciousbolditalic Delicious-BoldItalic /usr/local/share/fonts/d/delicious_bolditalic.otf deliciousheavy Delicious-Heavy /usr/local/share/fonts/d/delicious_heavy.otf deliciousitalic Delicious-Italic /usr/local/share/fonts/d/delicious_italic.otf deliciousroman Delicious-Roman /usr/local/share/fonts/d/delicious_roman.otf delicioussmallcaps Delicious-SmallCaps /usr/local/share/fonts/d/delicious_smallcaps.otf while env|grep ^OS gives OSFONTDIR=/usr/local/share/fonts Running the following file is okay: \starttext \font\Myfont=/usr/local/share/fonts/d/delicious_roman.otf at 24pt \Myfont Hello, world \stoptext but running \starttext \font\Myfont=Delicious-Roman at 24pt \Myfont Hello, world \stoptext leads to define font | font with name Delicious-Roman is not found define font | unknown font Delicious-Roman, loading aborted ! Font \Myfont=Delicious-Roman at 24pt not loadable: metric data not found or bad. What's going wrong ? Thanks very much in advance ! -- Nicolas
Am 28.05.2009 um 17:59 schrieb Nicolas Girard:
Hi all, I'm using the latest beta of context minimals, rsynced over a TeXlive 2008 on ubuntu.
[...]
Running the following file is okay:
\starttext \font\Myfont=/usr/local/share/fonts/d/delicious_roman.otf at 24pt \Myfont Hello, world \stoptext
but running
\starttext \font\Myfont=Delicious-Roman at 24pt \Myfont Hello, world \stoptext
Please don't use \font, use ConTeXt's \definefont instead: \definefont[Myfont][name:Delicious-Roman][features=default] Wolfgang
participants (2)
-
Nicolas Girard
-
Wolfgang Schuster