[XeTeX] xdvipdfmx problem with truetype font (Gill Sans)

Bernhard Barkow bb at creativeeyes.at
Fri Feb 1 11:09:35 CET 2008


Hi,

I am having a font problem with Gill Sans (TrueType) in XeTeX: xetex  
(xelatex) seems to finish alright, however, from xdvipdfmx I keep  
getting the error message:
--
<GillSans-Light(Gill Sans:Light)@10.87pt<NATIVE-FONTMAP:GillSans- 
Light/H/65536/0>
fontmap: GillSans-Light/H/65536/0 -> GillSans-Light/H/65536/0 
(Identity-H)

pdf_font>> Input encoding "Identity-H" requires at least 2 bytes.
pdf_font>> The -m <00> option will be assumed for "GillSans-Light/H/ 
65536/0".
 >
** ERROR ** Invalid font: -1 (0)

Output file removed.
--
(which is what happens, the pdf file is removed).
I invoke the fonts like this:
--
\RequirePackage[no-math]{fontspec}
\setromanfont[Bold={Gill Sans}]{Gill Sans Light}
\setsansfont[Bold={Gill Sans}]{Gill Sans Light}
--

The strange thing is that 2 it was working weeks ago, and naturally I  
can't think of anything I could have changed since then…
Now I did delete the font caches just to make sure, and I also tried  
Type 1 fonts of the same family, no success. I am pretty sure I have  
had this issue some time ago, as far as I remember I worked around it  
by using xdvipdfmx instead of xdv2pdf.

!! By the way, writing this just inspired me to try xdv2pdf, and  
guess what – it works. This is great for the moment, but I'd be  
really grateful for any hints helping me to solve this more thoroughly.

Regards,

	Bernhard



____________________________________________________
_________________________________ Bernhard Barkow __
___________________ gpg key ID _ A89F09C45921020D __






More information about the XeTeX mailing list