29 Sep
2011
29 Sep
'11
3:54 p.m.
On Thu, Sep 29, 2011 at 05:19:27PM +0200, Wolfgang Schuster wrote:
To use the fonts which are shipped with Adobe Reader you can use two different methods.
Method 1:
\usemodule[simplefonts]
\setmainfont[Minion Pro][protrusion=quality]
\setupalign[hanging]
\starttext\showframe \input tufte \stoptext
Method 2:
\usetypescriptfile[type-adobe]
\definefontfeature[default][default][protrusion=quality]
\setupbodyfont[minion]
\setupalign[hanging]
\starttext\showframe \input tufte \stoptext
Wolfgang
Please note that the path to the Adobe fonts must be included in the environment. On my system, this works if I have: export OSFONTDIR="$HOME/.fonts;/usr/local/share/fonts;/usr/local/Adobe/Reader9/ENU/Adobe/Reader9/Resource/Font/" Alan