Hello Hraban, thanks for pointing this out.
To Hans: the \typescriptthree indeed needs to go out of those definitions (line 300 in type-otf). To Hraban: encoding=uc has *zero* effect. To be honest - I doubt that you will be able to extract any more than (theoretical limit of) 256 glyphs from the Type1 font with XeTeX - character slots and font glyphs are in one-to-one correlation, so I doubt that you can access the glyphs outside of those 256 slots (unless you make tfm & map files, but that's probably the reason why one wants to use XeTeX - to get rid of that encoding mess). So: I guess that Latin-1 works, but encoding=uc is ignored anyway. type-xtx contains quite some "uc" leftovers, but I'm not sure if "fixing" them is a wise idea or not (backward compatibility). Mojca On Sun, Apr 6, 2008 at 2:37 PM, Henning Hraban Ramm wrote: > Am 2008-04-06 um 13:35 schrieb Henning Hraban Ramm: > > > (2) > > This seems wrong to me (i.e. I don't understand it): > > > > \starttypescript [serif] > > [adventor,bonum,cursor,heros,pagella,schola,termes] > > \definefontsynonym > > [\typescriptprefix{n:\typescripttwo}-Regular] > > [file:texgyre\typescriptthree\typescriptprefix{f:\typescripttwo}- > > regular] > > [features=default] > > Works for me if I just leave out \typescriptthree ! > > Here's my working setup, including a PostScript font: > > \usetypescriptfile [type-otf2] % with change mentioned above > \usetypescript [schoolbook][uc] > > \starttypescript [sans] [urw-grotesk] > % PostScript name / file name (in texmf tree) / instead of an > encoding > \definefontsynonym [URWGroteskT-LighNarr] [file:u004242t] > [features=default] > \definefontsynonym [URWGroteskT-MediNarr] [file:u004244t] > [features=default] > \definefontsynonym [URWGroteskT-LighNarrObli] > [file:u004262t] > [features=default] > \definefontsynonym [URWGroteskT-MediNarrObli] > [file:u004264t] > [features=default] > \stoptypescript > > \starttypescript [sans] [urw-grotesk] %[name] > \definefontsynonym [Sans] [URWGroteskT-LighNarr] > \definefontsynonym [SansItalic] [URWGroteskT-LighNarrObli] > \definefontsynonym [SansBold] [URWGroteskT-MediNarr] > \definefontsynonym [SansBoldItalic][URWGroteskT-MediNarrObli] > \definefontsynonym [SansSlanted] [SansItalic] > \definefontsynonym [SansBoldSlanted] [SansBoldItalic] > \stoptypescript > > \starttypescript [fiee] [mix] > \definetypeface [mix] [rm] [serif] [schola] [default] > %[encoding= > \defaultencoding] > \definetypeface [mix] [ss] [sans] [urw-grotesk] [default] > [encoding=uc] > \stoptypescript > \usetypescript [fiee][mix] > \setupbodyfont [mix,rm,8pt] ___________________________________________________________________________________ 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 ___________________________________________________________________________________