[XeTeX] bug or feature?

Yue Wang yuleopen at gmail.com
Tue May 12 14:40:33 CEST 2009


Hi, Jonathan Kew:

After discussing with Taco and Hans, I think there is a caching
"feature" (or "bug") in XeTeX.

It seems that XeTeX will cache fonts without the file name suffix, but
won't do that when the suffix is not given.

Here are examples (I use \font primitives, so no ConTeXt font
mechanism is involved):

\starttext
\dorecurse{10000}{ hello {\font\a="[AdobeSongStd-Light.otf]"\a 你好}\par}
\stoptext

runetime = 56s on my machine


\starttext
\dorecurse{10000}{ hello {\font\a="[AdobeSongStd-Light]"\a 你好}\par}
\stoptext

runtime = 3s on my machine

Yue Wang


More information about the XeTeX mailing list