[XeTeX] fontspec and hyperref
Michiel Kamermans
pomax at nihongoresources.com
Thu Sep 24 00:05:21 CEST 2009
Hi,
I'm running into a problem using fontspec in combination with hyperref,
with the attached file.
Using xetex 3.1415926-2.2-0.999.7 (MiKTeX 2.7), fontspec 2008/08/09
v1.18 and hyperref 2008/12/26 v6.78n I get the following error:
>> Package hyperref Warning: Token not allowed in a PDF string
(PDFDocEncoding):
>> (hyperref) removing `\fontspec' on input line
68/84/86/89.
and then XeTeX goes into unrecoverable error mode because a low level
font definition does not exist...
>>Running makemf...
>>makemf: The KOZUKA MINCHO PRO R source file could not be found.
>>Running hbf2gf...
>>
>>hbf2gf (CJK ver. 4.8.0)
>>
>>Couldn't find `KOZUKA MINCHO PRO.cfg'
>>maketfm: No creation rule for font "KOZUKA MINCHO PRO R".
>>! Font \zf at basefont="KOZUKA MINCHO PRO R" at 6.0pt not loadable:
Metric (TFM) f
>>ile or installed font not found.
>>\zf at fontspec ...ntname \zf at suffix " at \f at size pt
>> \unless \ifzf at icu
\zf at set@...
>>l.89 \end{document}
>>
>>?
I cannot seem to find any mention of this potential problem in the
fontspec documentation either, so I'm hoping someone on the list knows
what this problem means (the error on line 86, for instance, isn't even
related to anything hyperref as far as I can tell, it's just regular
paragraph text), and knows how to make things play nice =)
(in case someone wants to test this with the same fonts, Kozuka Mincho
Pro R comes with acrobat reader in the form of theirAasian font pack,
Palatino Linotype comes with all modern versions of windows as well as
MS Office 2003)
- Mike "Pomax" Kamermans
nihongoresources.com
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: demonstrator.tex
URL: <http://tug.org/pipermail/xetex/attachments/20090923/9beeeddc/attachment.pl>
More information about the XeTeX
mailing list