[Tex/LaTex] installing FontPro (support for Minion Pro, Myriad Pro, & Cronos Pro) with MiKTeX 2.9

fontsinstallingmiktexminionpro

The Minion Pro distribution available on CTAN seems to be out of date. One issue with pdftex was reported on this question ($\epsilon$ is undefined using MinionPro).

The most up-to-date scripts (see Christian Clason's answer) can be found found at: https://github.com/sebschub/FontPro/

I'm currently using MiKTeX 2.9, and would like to know if there is a set of instructions for installing the new scripts on Windows.

xelatex doesn't require FontPro obviously, but I wish to stick to pdftex so use can be made of microtype.

Best Answer

The fonts can be installed via the bash shell from cygwin. Also you need to make sure that the right packages in cygwin are installed. A mininal setup and the texlive-font-fontutils (which contains the LCDF typetools) should suffice. (Alternatively the source source code of LCDF Typetools may be used.) Then, for building the files you can follow the description on github. The binaries of the LCDF Typetools for Windows are not required with cygwin.

Building

1) Put the sources in a FOLDER:

2) Copy your OpenType font files for MinionPro into the otf directory.

$ mkdir $FOLDER/otf
$ cp /some/path/*.otf otf

3) Run ./scripts/makeall for Minion.

$ ./scripts/makeall MinionPro

Now repeat steps 1-3 with a new folder, but replace MinionPro with MyriadPro. Alternatively you can use the same folder, but then you have install the font first and run $ ./scripts/clean before starting with Myriad.

Installing

Installing is only a bit different from the description on github.

  1. Run ./scripts/install /cydrive/c/path/to/Miktex in the cygwin bash. Note that c/path/to/Miktex has to be replaced with path to the local Miktex installation, but cygdrive is the folder where the windows drives can be accessed. (A local texmf tree can be created in MiKTeX for this purpose. Instructions found here. Then we may run something like ./scripts/install /cydrive/c/localtexmf in the Cygwin bash.)

  2. In the windows prompt run initexmf -u

  3. In the windows prompt use the command initexmf --admin --edit-config-file updmap. Then add Map MinionPro.map Map MyriadPro.map and save.

  4. In the windows prompt run initexmf --mkmaps

Now everything should work and you should be able to use the fonts via \usepackage{MinionPro} or \usepackage{MyriadPro}.