Arthur, This works! Thanks for your help. Bart On Monday 17 November 2008 02:25:15 pm Arthur Reutenauer wrote:
Hello Bart,
Try
\starttypescript[serif][caslon][uc]
\definefontsynonym[CaslonRegular][name:CaslonOldFaceBT-Roman][encoding=uc] \definefontsynonym[CaslonItalic][name:CaslonOldFaceBT-Italic][encoding=uc] \definefontsynonym[CaslonBold][name:CaslonOldFaceBT-Heavy][encoding=uc] \stoptypescript
\starttypescript[serif][caslon][name] \definefontsynonym [Serif] [CaslonRegular] \definefontsynonym [SerifItalic] [CaslonItalic] \definefontsynonym [SerifBold] [CaslonBold] \stoptypescript
\starttypescript[caslon][uc] \definetypeface[caslon][rm][serif][caslon][default][encoding=uc] \stoptypescript
\usetypescript[caslon][uc] \setupbodyfont[caslon, 12pt]
\starttext Testing {\bf Testing} {\it Testing} \stoptext
Note the two changes: \definetypeface's in the first typescript have been replaced with \definefontsynonym commands, and the font names have been prepended with "name:", forcing XeTeX to look for an installed font instead of a TFM (in plain XeTeX, you get the same result by surrounding the font name with double quotes).
I am unable to test the typescript because I don't have Caslon Old Face, but it works when I replace the font names with the appropriate faces from Adobe Caslon, which I have.
Arthur ___________________________________________________________________________ ________ 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 ___________________________________________________________________________ ________