Am 13.07.2008 um 23:16 schrieb Mohamed Bana:
Wolfgang Schuster
writes: Use the attached version.
Regards, Wolfgang
Fantastic, everything but Candara is working. Btw have you managed to install anyone of the new C fonts (constantia, consola etc) with TeXFont?
You don't need TeXFont to use the fonts with XeTeX or LuaTeX. Everything you have to do is to put the fonts in your TeX tree or in the OS font directory.
usage;
\usetypescriptfile[type-vista]
\definetypeface [constantia] [rm] [serif] [constantia] [default]
\definetypeface [constantia] [ss] [sans] [candara] [default]
\setupbodyfont [constantia,11pt]
This is my test file: \usetypefile [vista] \usetypescript[candara] \setupbodyfont[candara] \def\sc{\setfontfeature{latin-smallcaps}} \def\os{\setfontfeature{latin-oldstyle}} \starttext \ss Text Va ffi ffi fi fl {\sc ABC abc} {\os 123} 123 \bf Text Va ffi ffi fi fl {\sc ABC abc} {\os 123} 123 \it Text Va ffi ffi fi fl {\sc ABC abc} {\os 123} 123 \bi Text Va ffi ffi fi fl {\sc ABC abc} {\os 123} 123 \stoptext Wolfgang