sebschub / FontPro

LaTeX support for Adobe's Pro opentype fonts: Minion Pro, Myriad Pro, Cronos Pro and possibly more
231 stars 43 forks source link

MyriadPro small caps fontshape undefined #43

Closed ghost closed 9 years ago

ghost commented 9 years ago

Today I faced a problem when trying to use Small Caps with MyriadPro. I built the font using makeall --novietnamese --noligatures --wide-spacing. I would assume since I didn't touched the --*smallcaps option that they were built. But when trying to compile the following MWE

\documentclass[11pt,a4paper]{article}
\usepackage[utf8]{inputenc}
\usepackage[ngerman]{babel}
\usepackage[lf]{MyriadPro}
\begin{document}
\sffamily
\textsc{SMALL caps Test}
\end{document}

using pdflatex it warns: LaTeX Font Warning: Font shape OT1/MyriadPro-LF/m/sc undefined. I also tried other encodings like LY1, T1 but the same happens...

Note: I tried Small Caps with MinionPro and they work flawless. Does MyriadPro has SC?

sebschub commented 9 years ago

Unfortunately, the Myriad Pro fonts just do not offer small caps. Nothing I could do.

ghost commented 9 years ago

Thanks didn't expected that, would it be easy to supply faked small caps?

sebschub commented 9 years ago

Well, I've found this but I don't want to include in the package. There are other ways, with for example fontforge I think, but I've never tried.

ghost commented 9 years ago

Thanks, I can understand. I will than just redefine textsc to use always textsc\rmfamily #1.