On 4/9/2013 3:10 PM, "H. Özoguz" wrote:
Hi there,
normally I use simplefont, with protrusion and typescript. But Simplefont does not recognize the regular, italic, and bold of AdobeGaramondPro correctly by default. So I tried to work with a typescript definition, and it works - with the exception of hanging (and protrusion?). This is my example:
Best look into some type-imp files to see how typescript are defined.
+++++++++++++++++++++++ \enableregime[utf]
^^ not needed
\starttypescript [serif] [nimbus]
\definefontsynonym [Serif] [file:AGaramondPro-Regular.otf]
\definefontsynonym [SerifBold] [file:AGaramondPro-Bold.otf]
\definefontsynonym [SerifItalic] [file:AGaramondPro-Italic.otf]
\definefontsynonym [SerifBoldItalic] [file:AGaramondPro-BoldItalic.otf]
\stoptypescript
what features? maybe add *default or so ... depends on how general definitions are
\definetypeface [nimbus] [rm] [serif] [nimbus]
\definefontfeature
[default]
[default]
[protrusion=quality,expansion=quality]
should come before \definetypeface
\setupalign[hz,hanging]
\setupbodyfont[nimbus,rm,12pt]
\starttext
\input tufte
\stoptext +++++++++++++++++++++
The Font is correctly used by ConText, but no hanging is applied. How to achieve that?
Thanks.
Huseyin
___________________________________________________________________________________
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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
-- ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------