[tex-live] osfontdir

Hans Hagen pragma at wxs.nl
Fri Mar 18 10:01:57 CET 2005


Karl Berry wrote:
>      .;$TEXMF/fonts/{type1,pfb}//;$TEXMF/fonts/misc/hbf//;$OSFONTDIR//
>     AFMFONTS      = .;$TEXMF/fonts/afm//;$OSFONTDIR//
>     TTFONTS       = .;$TEXMF/fonts/{truetype,ttf}//;$OSFONTDIR//
>     OPENTYPEFONTS = .;$TEXMF/fonts/opentype//;$OSFONTDIR//
>     being added/patched in texmf.cnf
> 
> I don't see a problem with the idea; Thomas, Sebastian, anyone else want
> to weigh in?
> 
> It does seem like it would need to be written differently, as in:
> OSFONTDIR = ;c:/windows/fonts//
> AFMFONTS = .;$TEXMF/fonts/afm//$OSFONTDIR
> 
> (which also allows multiple directories)
> 
> With the original formulation, when OSFONTDIR was empty, the path would
> look like .;$TEXMF/fonts/afm//;//
> 
> ... which seems problematic, unless a special case has been inserted to
> make // a no-op.  (Olaf?  I remember writing things so that if a ~
> expansion ends in /, as in ~root, // is avoided, but not otherwise.)
> 
> Perhaps the name would be better as EXTRAFONTPATH or HOOKFONTPATH or
> some such; I can imagine it being useful for things other than OS fonts.

i already have trees with OSFONTDIR

maybe we need both: OSFONTDIR (can be set by installers) and EXTRAFONTPATH (That 
can be set by users, e.g. when testing fonts)

Hans


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------



More information about the tex-live mailing list