On Thu, 22 Nov 2007 13:52:16 +0100
Steffen Wolfrum
Am 22.11.2007 um 12:30 schrieb Mojca Miklavec:
or, even more simple would be the following one-liner: \definetypeface[mygentium][rm][Xserif][Gentium Basic][default]
So do you mean like this?
\definetypeface[mygentium][rm][Xserif][Gentium Basic][default] %\setupbodyfont[mygentium,36pt]
\starttext
Test WQG 0196
\stoptext
When I uncomment the second line the typesetting process stops after the log entry (/usr/local/texlive/2007/../texmf-local/tex/context/base/type-xtx.tex)
for about 13 seconds and finally ends up in
Output written on xetex_gentium_1.xdv (1 page, 1672 bytes). Transcript written on xetex_gentium_1.log. TeXExec | runtime: 18.589679
Now I am curious what else I am missing ...
Steffen
The following works for me with LuaTeX and XeTeX. I had my test file in the same directory as the fonts, can you try this or you forgot to call "fc-cache -v -r". \starttypescript[serif][gentium-basic] \definefontsynonym[Serif] [GentiumBasic] \definefontsynonym[SerifItalic] [GentiumBasicItalic] \definefontsynonym[SerifBold] [GentiumBasicBold] \definefontsynonym[SerifBoldItalic][GentiumBasicBoldItalic] \stoptypescript \starttypescript[serif][gentium-basic] \definefontsynonym[GentiumBasic] [file:GenBasR] [features=default] \definefontsynonym[GentiumBasicItalic] [file:GenBasI] [features=default] \definefontsynonym[GentiumBasicBold] [file:GenBasB] [features=default] \definefontsynonym[GentiumBasicBoldItalic][file:GenBasBI][features=default] \stoptypescript \starttypescript[gentium-basic] \definetypeface[gentium][rm][serif][gentium-basic][default] \stoptypescript \usetypescript[gentium-basic] \setupbodyfont[gentium] \starttext \rm\input knuth\par \it\input knuth\par \bf\input knuth\par \bi\input knuth \stoptext Wolfgang