bugThe FreeType Project - Bugs: bug #40090, autohinting and Consolas –...

 
 

bug #40090: autohinting and Consolas – various characters rendered as zero-width

Submitted by:  Mantas Mikulėnas <grawity>
Submitted on:  Sun 22 Sep 2013 10:43:12 PM UTC  
 
Severity: 3 - NormalItem Group: Incorrect behaviour
Status: FixedPrivacy: Public
Assigned to: Werner LEMBERG <wl>Open/Closed: Closed
Planned Release: 2.5.1

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Mon 23 Sep 2013 08:11:07 PM UTC, comment #1:

Fixed in git. Thanks for the report!

Werner LEMBERG <wl>
Project AdministratorIn charge of this item.
Sun 22 Sep 2013 10:43:12 PM UTC, original submission:

I'm using Git builds of freetype2. I have the Consolas font installed from Windows 8, and my fonts.conf had autohinting enabled for this font font (technically autohinting is not needed for it anymore, but it was a leftover from older freetype versions).

Recently I noticed that some characters (e.g. "≤" "≥" or line-drawing "├" "─") become kind of zero-width, like combining characters – that is, the following character is drawn at the same position. (See attached "consolas-bad.png" and "consolas-good.png" for a comparison.)

This started happening after Git commit 306f8c5d89979e83c884ba7a902d9971111b772a "[autofit] Synchronize `cjk' with `latin' module (and vice versa)".

This only happens with the Consolas font, and only with autohinting enabled.

Config snippet I used:


<match target="font">
<test name="family"> <string>Consolas</string> </test>
<edit name="autohint"> <bool>true</bool> </edit>
</match>

Git bisect log:


git bisect start
# bad: [5a4c5a5b23d0eec78d3c2a94fc668a8f43c4dc9b] [autofit] Disunify Cyrillic and Greek handling from Latin.
git bisect bad 5a4c5a5b23d0eec78d3c2a94fc668a8f43c4dc9b
# good: [f2e7f1e1dd5452f915759e918a91c803f03bb8aa] 2013-07-30 Behdad Esfahbod <behdad@google.com>
git bisect good f2e7f1e1dd5452f915759e918a91c803f03bb8aa
# good: [8b8be78385a2e564ebd62983512b81e541dff622] [autofit] Introduce data file for blue strings.
git bisect good 8b8be78385a2e564ebd62983512b81e541dff622
# bad: [bcd8c0b0ebce807b5f58303fd48dc9a3e7e7605b] Remove `FT_SqrtFixed' function.
git bisect bad bcd8c0b0ebce807b5f58303fd48dc9a3e7e7605b
# bad: [33655a96474888d9fd46da351944d89635207293] [autofit] Fix script selection.
git bisect bad 33655a96474888d9fd46da351944d89635207293
# bad: [306f8c5d89979e83c884ba7a902d9971111b772a] [autofit] Synchronize `cjk' with `latin' module (and vice versa).
git bisect bad 306f8c5d89979e83c884ba7a902d9971111b772a
# good: [0975d685ed32225e37068d38f3c8bf66e26d0843] [autofit] Make `latin' module use blue stringsets.
git bisect good 0975d685ed32225e37068d38f3c8bf66e26d0843
# first bad commit: [306f8c5d89979e83c884ba7a902d9971111b772a] [autofit] Synchronize `cjk' with `latin' module (and vice versa).

Mantas Mikulėnas <grawity>

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #29199:  consolas-bad.png added by grawity (17KiB - image/png)
file #29200:  consola.ttf added by grawity (350KiB - application/x-font-ttf)
file #29201:  consolas-good.png added by grawity (17KiB - image/png)
file #29202:  consolas-test.txt added by grawity (653B - text/plain)

 

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 grawity (Submitted the item)
  •  

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

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 23 Sep 2013 08:11:07 PM UTCwlStatusNone=>Fixed
      Assigned toNone=>wl
      Open/ClosedOpen=>Closed
      Planned ReleaseNone=>2.5.1
    Sun 22 Sep 2013 10:43:13 PM UTCgrawityAttached File-=>Added consolas-bad.png, #29199
      Attached File-=>Added consola.ttf, #29200
      Attached File-=>Added consolas-good.png, #29201
      Attached File-=>Added consolas-test.txt, #29202

    Back to the top


    Powered by Savane 3.1-cleanup1