[XeTeX] fontspec v1.7

Will Robertson will at guerilla.net.au
Mon Jun 20 03:09:08 CEST 2005


On 20 Jun 2005, at 10:28 AM, Will Robertson wrote:

> Here's as minimal as I have time to put together. No packages, just  
> raw LaTeX. Obviously, this doesn't encompass the scope of the  
> problem, but it should be direct enough to pinpoint the problem:
>
> \documentclass{article}
> \DeclareFontFamily{U}{osx}{}
> \DeclareFontShape{U}{osx}{m}{n}{<-> "Hoefler\space Text"}{}
> \DeclareSymbolFont{break}{U}{osx}{m}{n}
> \DeclareMathAccent{\dot}{\mathalpha}{break}{"5F}
> \begin{document}
> $\dot x$
> \end{document}
>
> Actually, I suspect it's simply something along the lines that  
> Hoefler Text has no meaningful character at "5F and the request for  
> that glyph is confusing ATS, rather than a flaw in xdv2pdf.

One last note: maybe it's not just as simple as I suggested? Just  
grabbing the "5F char and printing it doesn't lead to disaster:

\documentclass{article}
\DeclareFontFamily{U}{osx}{}
\DeclareFontShape{U}{osx}{m}{n}{<-> "Hoefler\space Text"}{}
\begin{document}
\fontencoding{U}\fontfamily{osx}\selectfont
test\char"5F
\end{document}

So there's more to it, I guess missing maths metrics and so on...

W



More information about the XeTeX mailing list