[pdftex] Re: [tex-live] Using Mac fonts in TeX

Gerben Wierda Sherlock at rna.nl
Mon Dec 30 13:37:46 CET 2002


On Monday, Dec 30, 2002, at 13:10 Europe/Amsterdam, Vladimir Volovich 
wrote:

> "GW" == Gerben Wierda writes:
>
>  GW> I have created a file gillsans.sty:
>
>  GW> \def\fileversion{1} \def\filedate{2002/12/30}
>  GW> \ProvidesPackage{gillsans}[\filedate\space\fileversion \space
>  GW> PSNFSS LaTeX2e package loading Gill Sans]
>  GW> \renewcommand{\sfdefault}{mgs} \endinput
>
>  GW> But when I try \usepackage{gillsans} and \textsf{Some text} I get
>
>  GW> LaTeX Font Warning: Font shape `OT1/mgs/m/n' undefined (Font)
>  GW> using `OT1/cmr/m/n' instead on input line 20.
>
>  GW> which clearly is what I do not want. I am able to produce a
>  GW> testfont page for GillSans by choosing font mgsr16t, so it seems
>  GW> that my gillsans.sty is in error. Can someone in the know about
>  GW> TeX and fonts clear this up for me?
>
> you need to create FD files, e.g. t1mgs.fd and ot1mgs.fd which will
> make the fonts known to latex.

These are available.

> also note that you described the fonts
> in the map file as having T1 encoding, while you tried to use them in
> your latex file in OT1 encoding. so either you have to create
> (virtual) fonts for OT1 encoding too, or use the fonts only with
> \usepackage[T1]{fontenc}

This worked.

How does one create these virtual fonts?

G




More information about the pdftex mailing list