I'm debugging a C++ program that reads an XML file and outputs a LaTeX file, ready for typesetting. Due to the nature of the XML, there are some redundant commands in the .tex file, but I don't think they should cause the weird behavior I'm seeing. Basically, I use \fontspec{Minion Pro} and \fontsize{14.000000}{14.000000}. (The \fontsize gets used some extra times, but always at 14 pts. However, in the resulting PDF from XeLaTeX (XeTeX, Version 3.1415926-2.2-0.9997.4 (MiKTeX 2.9)), I get plain text in a small font, and bold or italic text in what appears to be the correct size. Can anyone explain this? A short snippet is below.<div>
<br></div><div>Thank you!</div><div><br></div><div>-pd</div><div><br></div><div><div>\documentclass[letterpaper]{article}</div><div>\usepackage[landscape]{geometry}</div><div>\usepackage{fontspec}</div><div>\usepackage{graphicx}</div>
<div>\usepackage{xcolor}</div><div>\usepackage[absolute]{textpos}</div><div>\setlength{\TPHorizModule}{1bp}</div><div>\setlength{\TPVertModule}{\TPHorizModule}</div><div>\setlength{\parindent}{0pt}</div><div>\pagestyle{empty}</div>
<div>\setlength{\topmargin}{36.000000bp}</div><div>\setlength{\oddsidemargin}{36.000000bp}</div><div><br></div><div>\begin{document}</div><div><br></div><div>\fontspec{Minion Pro}</div><div>\raggedright</div><div>\fontsize{14.000000}{14.000000}</div>
<div>{\par Dear { First } , \null}</div><div>\fontsize{14.000000}{14.000000}</div><div>{\par \null}</div><div>\fontsize{14.000000}{14.000000}</div><div>{\par Are you aware that now is the {\bfseries</div><div>
winter of our discontent } ? It?s been made {\itshape</div><div> glori }{\itshape</div><div> ous }{\bfseries</div><div>\itshape</div><div> sum }{\bfseries</div><div>\itshape</div><div> mer } by this son of York. \null}</div>
<div>\fontsize{14.000000}{14.000000}</div><div>{\par \null}</div><div>\fontsize{14.000000}{14.000000}</div><div>{\par I say let?s put it back the way it was. Are you with me, { Last } ? \null}</div><div>\fontsize{14.000000}{14.000000}</div>
<div>{\par \null}</div><div>\fontsize{14.000000}{14.000000}</div><div>{\par Good. \null}</div><div>\fontsize{14.000000}{14.000000}</div><div>{\par \null}</div><div>\fontsize{14.000000}{14.000000}</div><div>{\par -pd \null}</div>
<div>\fontsize{14.000000}{14.000000}</div><div>{\par \null}</div><div>\fontsize{14.000000}{14.000000}</div><div>{\par \null}</div><div><br></div><div>\end{document}</div></div><div><br></div>