[XeTeX] possible bug in xdvipdfmx
Pablo Rodríguez
oinos at web.de
Mon Jun 12 15:10:27 CEST 2006
Just accidentally I have discovered that xdvipdfmx embeds the TrueType
font many times if different sizes are selected (which seems to be wrong).
\documentclass[12pt]{article}
\usepackage{fontspec}
\setromanfont{FreeSerif}
\begin{document}
\textsc{Puellae bonae amicae sunt.}
{\Huge χαλεπὰ τὰ καλά.}
{\Large χαλεπὰ τὰ καλά.}
{\tiny χαλεπὰ τὰ καλά.}
{\em χαλεπὰ τὰ καλά.}
{\bf χαλεπὰ τὰ καλά.}
{\em\bf χαλεπὰ τὰ καλά.}
{Buen ejemplo.} {\bf Mal ejemplo.} {\em Buen ejemplo.} {\bf\em Buen
ejemplo.}
\end{document}
If you try to copy the text using Acrobat, the Greek sentence will be
copied only in bold, italics and bold italics fontfaces, but not with
non-standard sizes.
I don't experience this error when using OpenType fonts.
I hope it helps,
Pablo
More information about the XeTeX
mailing list