I just got Minion Pro Optical font and I can't get it to work right. I had assumed I would just be able to change my documents to Minion by just substituting Minion Pro for Garamond Premier Pro, but that doesn't work. The Minion Pro has problems with opentype extensions when I do that.
E.g., here's code that works fine with Garamond Premier Pro:
Code: Select all
\documentclass[12pt,letterpaper,english]{article}
\usepackage{fontspec}
\defaultfontfeatures{Numbers=OldStyle,Contextuals=WordFinal}
\setmainfont{Garamond Premier Pro}
\begin{document}
[text here]
\end{document}
If I add the fontenc package, as below, it improves so that I get proper ligatures and smallcaps, but still no old style numerals. [EDIT: TURNS OUT I WAS WRONG, THE FONTENC PACKAGE HELPED ONLY BY MAKING MINION NOT WORK AT ALL, IT PRINTED IN WHATEVER DEFAULT FONT IS IN MIKTEX INSTALLATION]
Code: Select all
\documentclass[12pt,letterpaper,english]{article}
\usepackage{fontspec}
\usepackage[T1]{fontenc}
\defaultfontfeatures{Numbers=OldStyle,Contextuals=WordFinal}
\setmainfont{Minion Pro}
\begin{document}
[text here]
\end{document}
I can't find any information about what the problem could be. Is it something to do with using the Optical font that I'm not doing properly?