I'm trying to use the Myriad Pro Condensed font, but for some reason LaTeX cannot find it. I installed the font using the FontPro scripts. I can get light, normal, bold and extra bold variants, but not condensed, even though FontPro clearly installed all condensed variants. When I try to use the condensed font, I get the following message (both with OT1 and T1 encoding, here shown with T1 encoding):
LaTeX Font Warning: Font shape `T1/MyriadPro-OsF/c/n' undefined (Font) using `T1/MyriadPro-OsF/m/n' instead on input line 11.
Here is my minimal working example:
\documentclass{article}
\usepackage{MyriadPro}
\begin{document}
Hello, World!
{\sffamily
Hello, World!
\fontseries{c}\selectfont Hello, World! NOT CONDENSED
\fontseries{b}\selectfont Hello, World!
\fontseries{l}\selectfont Hello, World!
\fontseries{bx}\selectfont Hello, World!
}
\end{document}
And here is the result I get:
Is there something wrong with my installation of the Myriad Pro font?
fontspec
package, and using the\setsansfont
instruction to load the font?inputenc
andfontenc
packages.