The FreeType Project - Bugs: bug #32902, Font file failed to load
You are not allowed to post comments on this tracker with your current authentication level.
bug #32902: Font file failed to load
Submitter: | Jozef Baranec <joxy> | ||
Submitted: | Fri 25 Mar 2011 07:49:51 AM UTC | ||
Severity: | 3 - Normal | Item Group: | None |
Status: | Confirmed | Privacy: | Public |
Assigned to: | wl | Open/Closed: | Closed |
Planned Release: | 2.5.3 |
Wed 19 Feb 2014 08:28:51 AM UTC, comment #4: |
Werner LEMBERG <wl> |
Fri 13 Sep 2013 04:50:37 PM UTC, comment #3: We've just seen such a font in a PDF in the wild (cf. https://code.google.com/p/sumatrapdf/issues/detail?id=2408 ) and would also appreciate a fix since e.g. Adobe Reader handles that font just fine.
|
Anonymous |
Fri 25 Mar 2011 11:09:51 AM UTC, comment #2: To be more precise: I don't know an easy way to make this invalid font being accepted by FreeType (again).
|
Werner LEMBERG <wl> |
Fri 25 Mar 2011 11:03:16 AM UTC, comment #1: The font file is invalid. It can't be handled by either t1disasm or FontForge. Reason for the failure is that it violates one of the restrictions given in section 7.2, `eexec Encryption', of the T1 specification: The first byte after encryption has been applied must not be an ASCII white space character code (blank, tab, carriage return or line feed). In your font, the first encrypted byte is ^M. As a consequence, while decrypting, the ^M gets skipped because it immediately follows the newline character after `eexec', making it a CRLF pair.
|
Werner LEMBERG <wl> |
Fri 25 Mar 2011 07:49:51 AM UTC, original submission:
Attached font file fail to load. Function FT_New_Memory_Face returns error code 3.
|
Jozef Baranec <joxy> |
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 7 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2014-02-19 | wl | Open/Closed | Open | Closed | |
Planned Release | None | 2.5.3 | |||
2011-03-25 | wl | Status | None | Confirmed | |
Assigned to | None | wl | |||
Carbon-Copy | - | Added pfaedit | |||
2011-03-25 | joxy | Attached File | - | Added font.dat, #23008 | |
Carbon-Copy | - | Added -email is unavailable- |
Powered by Savane 3.13-f8d8.
Corresponding source code
I've now applied the patch from sumatrapdf to fix this issue, thanks!