[tex-live] OSFONTDIR in texmf.cnf-4WIN

Akira Kakuto kakuto at fsci.fuk.kindai.ac.jp
Sun Oct 8 02:33:54 CEST 2006


Hi Reinhard,

> The question is what the environment variable OSFONTDIR is supposed to
> do:  
> 
>   OSFONTDIR = c:/{windows,winnt,winnt35}/fonts//
>   TTFONTS = .;$TEXMF/fonts/truetype//;$OSFONTDIR
> 
> Here, if the environment variable OSFONTDIR is set, $OSFONTDIR in
> texmf.cnf is re-defined.  Or should it be like this:
> 
>   OSFONTDIR = /please/set/osfontdir/in/the/environment
>   WINFONTDIR = c:/{windows,winnt,winnt35}/fonts//
>   TTFONTS = .;$TEXMF/fonts/truetype//;$OSFONTDIR;$WINFONTDIR
>  
> In this case you can use OSFONTDIR to add additional directories.
> 
> >>>>> "Akira" == Akira Kakuto <kakuto at fsci.fuk.kindai.ac.jp> writes:
> 
>   > OSFONTDIR in other variables like AFMFONTS may not be necessary at
>   > present.
> 
> What happens if I buy and install a Type1 font (Futura for instance)
> in order to use it with other programs like Quark, PageMaker or
> InDesign.  Will this font be installed in
> c:/{windows,winnt,winnt35}/fonts?

I would like to suggest:


% OSFONTDIR is to provide a convenient hook for allowing TeX to find
% fonts installed on the system (outside of TeX).  An empty default
% value would add "//" to the search paths, so we give it a dummy value.
OSFONTDIR = /please/set/osfontdir/in/the/environment

% Windows fonts
WINFONTS = c:/{windows,winnt,winnt35}/fonts//

% PostScript Type 1 outline fonts.
T1FONTS = .;$TEXMF/fonts/type1//;$OSFONTDIR//

% PostScript AFM metric files.
AFMFONTS = .;$TEXMF/fonts/afm//;$OSFONTDIR//

% TrueType outline fonts.
TTFONTS = .;$TEXMF/fonts/truetype//;$WINFONTS;$OSFONTDIR//

% Opentype outline fonts.
OPENTYPEFONTS = .;$TEXMF/fonts/opentype//;$WINFONTS;$OSFONTDIR//

% PostScript headers and prologues (.pro); unfortunately, some programs
% also use this for acessing font files (enc, type1, truetype)
TEXPSHEADERS = .;$TEXMF/{dvips,fonts/{enc,type1,type42,type3}}//;$OSFONTDIR//
TEXPSHEADERS.gsftopk = .;$TEXMF/{dvips,fonts/{enc,type1,type3,truetype}}//;$OSFONTDIR//


Best regards,
Akira


More information about the tex-live mailing list