[Prev]

5.4.2 Installing Myriad as main document font, pmy.zip + MyriadPro route

Installing additional fonts is optional and only needed in special circumstances.

Instructions given in http://www.tug.org/tex-archive/fonts/metrics/w-a-schmidt/pmy.txt work fine. You need to get http://www.tug.org/tex-archive/fonts/metrics/w-a-schmidt/pmy.zip

The only problem is where to get the actual .pfb (and .afm) files. Presumably you would have to buy them from Adobe. I found MyriadPro from the net and did

  cd /apps/teTeX/2.0.2/share/texmf/fonts/type1/adobe/myriad/
  tar xvzf myriad-pro-pmy.pfb.tgz

The tar ball should expand to following files pmyr8a.pfb, pmyri8a.pfb, pmyb8a.pfb, pmybi8a.pfb, pmyrd8a.pfb, pmyr8ac.pfb, pmyri8ac.pfb, pmys8ac.pfb, pmysi8ac.pfb, pmyb8ac.pfb, and pmybi8ac.pfb.

Unfortunately MyriadPro was not supplied with .afm files so I just wholly omitted them and things seemed to work anyway. ((Using
 lcdf-typetools it might be possible to generate the <tt>.afm</tt> file, but
 I have not investigated this yet.))

  cd /apps/teTeX/2.0.2/share/texmf
  unzip /t/pmy.zip
  ../../bin/i686-pc-linux-gnu/texhash
  updmap --enable Map pmy.map
  ../../bin/i686-pc-linux-gnu/texhash

After this just add to TeX preamble

  \usepackage[T1]{fontenc}
  \renewcommand{\rmdefault}{pmy}

Voila, it works. See [LaTeXCompanion], p.339 for further ideas.

A way to autodetect this?

  < <moretexpreamble:
    \IfFileExists{t1pmy.fd}{
         \renewcommand*{\sfdefault}{pmy}
    }{
         \renewcommand*{\sfdefault}{phv}
    }
    \AtBeginDocument{\sffamily}
  > >

For further font investigations see lcdf-typetools-2.38 at http://www.lcdf.org/type/


[Prev | Next]
.