bugThe FreeType Project - Bugs: bug #28480, Incremental interface and type 1...

 
 

bug #28480: Incremental interface and type 1 SEAC glyphs

Submitted by:  Kenneth Sharp <kens>
Submitted on:  Mon 04 Jan 2010 04:58:04 PM UTC  
 
Severity: 3 - NormalItem Group: None
Status: FixedPrivacy: Public
Assigned to: Werner LEMBERG <wl>Open/Closed: Closed
Planned Release: 2.3.12

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Tue 05 Jan 2010 08:43:56 AM UTC, comment #1:

Patch applied, thanks.

Werner LEMBERG <wl>
Project AdministratorIn charge of this item.
Mon 04 Jan 2010 04:58:04 PM UTC, original submission:

This was originally raised by Ralph Giles on the ft-devel mailing list:

http://www.mail-archive.com/freetype-devel@nongnu.org/msg03344.html

Basically there were two problems;

Firstly the calculation of the achar and bchar indices for the two component glyphs of the SEAC. This was handled by simply assuming the indices were a one-to-one mapping in the incremental interface case, and this was adopted in the FT source. (t1decode.c line 221)

However, the original problem is that the glyph_names member of the 'decoder' structure is NULL, unless an /Encoding array has been specified. Because we are using the incremental interface, we don't supply an array, and leave the font with its default encoding. This leads to a failure in t1decode.c, line 214, where the value of glyph_names is tested and an error returned if it is 0.

Unified diff patch, which simply adds a test for the incremental interface, attached.

Kenneth Sharp <kens>
Project Member

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #19411:  t1decode.diff added by kens (495B - application/octet-stream)

 

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)
  • -unavailable- added by kens (Submitted the item)
  • -unavailable- added by kens
  •  

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

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 05 Jan 2010 08:43:56 AM UTCwlStatusNone=>Fixed
      Assigned toNone=>wl
      Open/ClosedOpen=>Closed
      Planned ReleaseNone=>2.3.12
    Mon 04 Jan 2010 04:58:04 PM UTCkensAttached File-=>Added t1decode.diff, #19411
      Carbon-Copy-=>Added -unavailable-

    Back to the top


    Powered by Savane 3.1-cleanup1