bugThe FreeType Project - Bugs: bug #59452, Autohinter ignores non-Unicode...

 
 

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

bug #59452: Autohinter ignores non-Unicode ligatures

Submitter:  Alexei Podtelezhnikov <podtelez>
Submitted:  Thu 12 Nov 2020 03:38:03 PM UTC
   
 
Severity:  3 - Normal Item Group:  None
Status:  Works For Me Privacy:  Public
Assigned to:  wl Open/Closed:  Closed
Planned Release:  None

Fri 13 Nov 2020 02:03:07 PM UTC, comment #3: 

This explains it. Neither Fedora nor I use HarfBuzz. There was a talk about borrowing from HarfBuzz to remove the circular dependency.

Alexei Podtelezhnikov <podtelez>
Group Member
Fri 13 Nov 2020 08:11:37 AM UTC, comment #2: 

This ftview screenshot is problematic.  It appears that harfbuzz isn't used.  Here's a screen shot from my GNU/Linux box, using an `ftview` version that has been compiled with `make devel` (with harfbuzz 2.6.4).

As can be seen, all ligatures are properly recognized.  This is the very reason FreeType is using HarfBuzz: to find out which glyphs without a `cmap` code belong to which script.

To summarize: To get proper autohinting with FreeType, you must do the cycle

  compile FreeType
  compile HarfBuzz
  compile FreeType again (to link with HarfBuzz)



Werner LEMBERG <wl>
Group administrator
Thu 12 Nov 2020 08:10:03 PM UTC, comment #1: 

Not a bug, because it is unable to detect the context in which the glyphs are used in. Try using manual hinting instead.

Anonymous
Thu 12 Nov 2020 03:38:03 PM UTC, original submission:  

Reported here and confirmed by
$ bin/ftview -f61 -kl 15 Lato-Regular.ttf

Autohinter ignores non-Unicode ligatures: compare f, ff, ffi, fl, ffl to other ligatures.


Alexei Podtelezhnikov <podtelez>
Group Member

 

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

Attached Files
file #50265:  ftview-with-harfbuzz.png added by wl (32KiB - image/png)
file #50259:  ftview.png added by podtelez (83KiB - image/png - Unicode vs non-Unicode ligatures)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by wl (Updated the item)
  • -email is unavailable- added by podtelez (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
    2020-11-20 wl Assigned toNone wl
    2020-11-13 podtelez StatusNone Works For Me
        Open/ClosedOpen Closed
    2020-11-13 wl Attached File- Added ftview-with-harfbuzz.png, #50265
    2020-11-12 podtelez Attached File- Added ftview.png, #50259

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code