Menu

#113 Wrong autoselection of font variants

Future
open
nobody
None
5
2015-07-13
2015-06-29
Anonymous
No

When compiling the sample below, one would expect -Regular, -Bold, -It, and -BoldIt variations to be used. However, the actual fonts are (quoted from a pdftops dump):

%%DocumentSuppliedResources:
%%+ font EMOGBU+MinionPro-Regular
%%+ font MAVYCY+MinionPro-Bold
%%+ font YYJJVY+MinionPro-It
%%+ font DWNXZF+MinionPro-BoldCnIt
%%+ font FKNTJA+MyriadPro-Cond
%%+ font BSBDGU+MyriadPro-Semibold
%%+ font IBLACG+MyriadPro-It

Manually setting variations with \setmainfont{MinionPro}[...BoldItalicFont = *-BoldIt...] and so on works fine.

("This is XeTeX, Version 3.14159265-2.6-0.99992 (MiKTeX 2.9) (preloaded format=xelatex 2015.6.29) 29 JUN 2015 16:02")

(MinionPro 2.112, MyriadPro 2.106)


The sample:

\documentclass[12pt]{book}
\usepackage{fontspec}
\setmainfont{Minion Pro}
\setsansfont{Myriad Pro}
\begin{document}
test\par\textbf{test}\par\textit{test}\par\textbf{\textit{test}}\par
\sffamily
test\par\textbf{test}\par\textit{test}\par\textbf{\textit{test}}\par
\end{document}

Discussion

  • Arthur Reutenauer

    Thanks for the report. There have been similar reports in the past few years, I’ll try to dig them up and come up with an initial diagnostic this week.

     
  • Arthur Reutenauer

    I am unfortunately not able to reproduce the problems with the fonts I have - as far I can see only the standard width Myriad Pro and Minion Pro are available free of charge, as well as the bold condensed faces for both families. Would it be possible to produce an example using fonts that can be obtained for free? Open source fonts would nice, too. I haven’t been able to find examples that would demonstrate the problem myself.

    I could also not find the past reports I mentioned, apart for very old ones; maybe they were the ones I remembered.

     
  • Anonymous

    Anonymous - 2015-07-13

    I tried uninstalling the more complete set, leaving only the four basic variants (regular, bold, italic, bold italic) from Adobe Reader. This seems to have resolved the issue.

    I'm not sure about other free fonts; if I find an example, I'll post it.

    Is there some kind of additional logging that might help diagnose the problem?

     

Anonymous
Anonymous

Add attachments
Cancel