Skip Menu |

This queue is for tickets about the PostScript-Font CPAN distribution.

Report information
The Basics
Id: 29872
Status: open
Priority: 0/
Queue: PostScript-Font

People
Owner: Nobody in particular
Requestors: krishnoid [...] wapacut.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.10
Fixed in: (no value)



Subject: PostScript::Font::TTtoType42 chokes on micross.ttf (microsoft sans serif)
Show quoted text
> perl -MPostScript::FontMetrics -e 'new PostScript::FontMetrics
"/home/krishna/projects/clickwrap/arial.ttf"' no problem. Show quoted text
> perl -MPostScript::FontMetrics -e 'new PostScript::FontMetrics
"/home/krishna/projects/clickwrap/micross-win2k3srv.ttf"' Can't call method "read" on an undefined value at /home/krishna/cvswork/perllib/local/share/perl/5.8.8/PostScript/Font/TTtoType42.pm line 394. micross-win2k3srv.ttf is c:/windows/micross.ttf from a Win2k3 Server installation (Microsoft Sans Serif font). Same problem with micross.ttf from a WinXP SP2 installation.
Usually, fonts without kerning have an empty table. This font does not have a kern table at all. It's probably legal (if not MS will *make* it legal) and easily avoided. Fixed in the next release. $PostScript::Font::TTtoType42::VERSION >= 0.04.