I am experimenting with the use of alternate fonts with LaTeX using pdfTeX (no XeTeX nor LuaTeX).
I have installed FontPro with Adobe Reader's Minion & Myriad Pro, plus some Cronos Pro files I had; small family (no semibold) but with all optical sizes (text, capt, subh, disp). Before building, I have renamed my CronosPro files as required by the instructions. The installation seemed to work fine.
However, I get fatal errors when I try using the CronosPro
package with the slides
or opticals
options.
Non-working example:
\documentclass[a4paper,10pt]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[opticals]{CronosPro}
\begin{document}
\sffamily
\LARGE Text
\end{document}
This gives:
[...]
kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 0+573/600 --dpi 573
CronosPro-Subh-Base-ac
mktexpk: don't know how to create bitmap font for CronosPro-Subh-Base-ac.
mktexpk: perhaps CronosPro-Subh-Base-ac is missing from the map file.
kpathsea: Appending font creation commands to missfont.log.
!pdfTeX error: /usr/texbin/pdflatex (file CronosPro-Subh-Base-ac): Font
CronosPro-Subh-Base-ac at 573 not found
==> Fatal error occurred, no output PDF file produced!
Again, I did put a CronosPro-Subh.otf
in the otf
subfolder of FontPro before running make all
. Any suggestions about what might be going on?
xelatex
. Then you can use the otf font version directly. Put the files into your systems font directory and use:\usepackage{fontspec} \setmainfont{CronosPro-Regular}
– user2478 Dec 9 '14 at 20:44clean
beforemakeall
, the last time. And yes, I did runupdmap-sys --enable Map=CronosPro.map
afterinstall
. In fact, I don't get any errors if I don't useslides
noropticals
. – fudo Dec 9 '14 at 22:56TEXMFHOME
or usingupdmap
. It leads to all kinds of headaches later on. Installation should be toTEXMFLOCAL
withupdmap-sys
unless a user simply has no other option. For testing, you can just have all of the font files in a single directory, including the map file, and use\pdfmapfile{+CronosPro.map}
in the preamble of your test document, which should also be in the same directory. – cfr Dec 10 '14 at 21:59