[NTG-pdftex] [ pdftex-Bugs-509 ] invalid pdf created if font name contains space

noreply at sarovar.org noreply at sarovar.org
Thu Apr 13 20:37:11 CEST 2006


Bugs item #509, was opened at 2006-04-13 11:37
You can respond by visiting: 
http://sarovar.org/tracker/?func=detail&atid=493&aid=509&group_id=106

Category: Fonts
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Tom Bishop (tbishop)
Assigned to: Hartmut Henkel (hhenkel)
Summary: invalid pdf created if font name contains space

Initial Comment:
pdftex 3.141592-1.30.4-2.2 runs the following code without 
complaining:

\pdfmapline{+mssong4e <mssong.ttf <mssong4e.enc}
\font\testfont=mssong4e at 20pt
\testfont\char"00
\bye

-- but the resulting pdf file can't be opened by Adobe Reader or 
GhostScript. GhostScript reports "Unknown operator: Song".

The pdf file includes "/BaseFont /FEVAQU+MS Song". Evidently, the 
problem is the space in "MS Song", because if I use a hex editor to 
replace the space with an underscore, then the pdf becomes OK.

The same font worked fine with earlier pdftex versions. It's a Chinese 
Unicode TrueType font, from Microsoft.

I haven't tried installing pdftex 1.30.6; is it possible that would fix the 
problem? I just re-installed TeX using i-Installer for Mac OS X; it still 
uses pdftex 1.30.4.

Here is the output of pdftex when running the test file:

This is pdfeTeX, Version 3.141592-1.30.4-2.2 (Web2C 7.5.5)
entering extended mode
(./test3.tex [1{/Users/tbishop/Library/texmf/fonts/map/pdftex/
updmap/pdftex.map
}] )</usr/local/teTeX/share/texmf.tetex/fonts/type1/bluesky/cm/
cmr10.pfb>{/usr/
local/teTeX/share/texmf.local/fonts/enc/pdftex/enc/mssong4e.enc}
</usr/local/teT
eX/share/texmf.local/fonts/truetype/mssong.ttf>
Output written on test3.pdf (1 page, 5067 bytes).
Transcript written on test3.log.

Thanks in advance for any help!

Best wishes,

Tom Bishop (wenlin at wenlin.com)



----------------------------------------------------------------------

You can respond by visiting: 
http://sarovar.org/tracker/?func=detail&atid=493&aid=509&group_id=106


More information about the ntg-pdftex mailing list