bugThe FreeType Project - Bugs: bug #56580, Type 1: Problem with (badly...

 
 

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

bug #56580: Type 1: Problem with (badly formed) SEAC glyph

Submitter:  Chris Liddell <chrisl>
Submitted:  Thu 04 Jul 2019 11:14:18 AM UTC
   
 
Severity:  3 - Normal Item Group:  None
Status:  Fixed Privacy:  Public
Assigned to:  wl Open/Closed:  Closed
Planned Release:  2.10.2

Thu 04 Jul 2019 12:31:14 PM UTC, comment #1: 

Patch applied, thanks!

Werner LEMBERG <wl>
Group administrator
Thu 04 Jul 2019 11:14:18 AM UTC, original submission:  

The attached Type 1 font has a ligature glyph ('fl', character code 175 in the included encoding) formed by using a SEAC glyph (obviously contrary to the intent of SEACs!). According to spec, the (h)sbw values in the "accented character" must be the same as the base glyph, but clearly other consumers give priority to the accented char values over the base char (whilst freetype currently does the opposite).

It seems we also have to handle the case where the accented glyph doesn't contain an (h)sbw op, but I don't have an example of that I can try.

Here's a patch that has freetype work in the same manner as other consumers I could try:

http://git.ghostscript.com/?p=user/chrisl/freetype2.git;a=commitdiff;h=de716e6f3efa67d60dbcfd4de2413b4df2c0862e

(FWIW, there is also a Type 1 font included in the Quality Logic Postscript Language Level 3 test suite that has the same out of spec SEAC).

Chris Liddell <chrisl>

 

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

Attached Files
file #47158:  FuturaBQ-Light.pfa added by chrisl (6KiB - application/x-font-type1)

 

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

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

    Date Changed by Updated Field Previous Value => Replaced by
    2019-07-04 wl StatusNone Fixed
        Assigned toNone wl
        Open/ClosedOpen Closed
        Planned ReleaseNone 2.10.2
    2019-07-04 chrisl Attached File- Added FuturaBQ-Light.pfa, #47158

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code