bugThe FreeType Project - Bugs: bug #20948, Font problems with pdf files

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #20948: Font problems with pdf files

Submitter:  None
Submitted:  Sat 01 Sep 2007 08:41:40 AM UTC
   
 
Severity:  3 - Normal Item Group:  Incorrect behaviour
Status:  Invalid Privacy:  Public
Assigned to:  wl Open/Closed:  Closed
Planned Release:  None

Sun 02 Sep 2007 04:43:41 PM UTC, comment #3: 

This is OK, due to `sloppy' subsetting: The font reports
82 slots, of which many are empty (this is, pointing to the
invalid CID 0); FreeType simply renders them starting with
glyph index 0, regardless whether it is valid or not (properly
returning an CFF_Err_Invalid_Argument in those cases).

With other words, I don't see an error here.  It must be
something else.

Werner LEMBERG <wl>
Group administrator
Sun 02 Sep 2007 03:07:51 PM UTC, comment #2: 

With freetype2 and demos from cvs head I get the following when running ftview:

$ ./ftview font /tmp/YbQwGU
Execution completed successfully.
Fails = 928

It seems that FT_Load_Glyph is failing for some glyphs.

Anonymous
Sat 01 Sep 2007 05:40:58 PM UTC, comment #1: 

Sorry to say, but this report is completely useless for us.
Please extract the fonts from the problematic PDF files and
test them with programs from the ft2demos bundle.  In case
you find a problematic font please post your results here
and reopen the bug report.

Werner LEMBERG <wl>
Group administrator
Sat 01 Sep 2007 08:41:40 AM UTC, original submission:  

Since freetype 2.3.0 there are a lot of pdf files that are broken with poppler (evince).
With freetype >= 2.3.0 fonts are not rendered at all in such pdf files. I think the problem is only with Type 1C (CID) Embedded Subset fonts.

Here are some test cases:

http://bugzilla.gnome.org/show_bug.cgi?id=472087
https://bugs.freedesktop.org/show_bug.cgi?id=9846
https://bugs.freedesktop.org/show_bug.cgi?id=10401
https://bugs.freedesktop.org/show_bug.cgi?id=11298

With freetype 2.2.1 all of those files are rendered correctly.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #13865:  YbQwGU added by None (2KiB - application/octet-stream - One of the fonts extracted from a pdf document)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by wl (Posted a comment)
  •  

    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 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2007-09-02 None Attached File- Added YbQwGU, #13865
    2007-09-01 wl StatusNone Invalid
        Assigned toNone wl
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code