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

 
 

bug #20948: Font problems with pdf files

Submitted by:  None
Submitted on:  Sat 01 Sep 2007 08:41:40 AM UTC  
 
Severity: 3 - NormalItem Group: Incorrect behaviour
Status: InvalidPrivacy: Public
Assigned to: Werner LEMBERG <wl>Open/Closed: Closed
Planned Release: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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>
Project AdministratorIn charge of this item.
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>
Project AdministratorIn charge of this item.
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.)

Attach File(s):
   
   
Comment:
   

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
  • -unavailable- added by wl (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 02 Sep 2007 03:09:54 PM UTCNoneAttached File-=>Added YbQwGU, #13865
    Sat 01 Sep 2007 05:40:58 PM UTCwlStatusNone=>Invalid
      Assigned toNone=>wl
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1