bugThe FreeType Project - Bugs: bug #41287, DejaVuSansCondensed-webfont...

 
 

bug #41287: DejaVuSansCondensed-webfont mishinted badly

Submitted by:  Jan Steffens <heftig>
Submitted on:  Mon 20 Jan 2014 07:32:33 PM UTC  
 
Severity: 3 - NormalItem Group: None
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.

 

Tue 21 Jan 2014 05:49:25 AM UTC, comment #1:

This is tricky. The WOFF font was re-hinted with ttfautohint. It is very debatable whether this is useful at all for fonts that already have good hints; additionally, the fact that ttfautohint was used is hidden – by default, ttfautohint adds some data to the font's `name' table, but this was suppressed here.

In other words, what FreeType sees is a re-hinted DejaVu font, with exactly the same `name' data, but with other hints. This confuses the subpixel engine, which relies on the name table to identify the font, and which sometimes heavily modifies the interpretation of TrueType bytecode instructions to enhance the rendering results. What you see is simply the failed attempt to do that, and nothing can be done to avoid the failure.

The proper solution would be to either not run ttfautohint in the TTF->WOFF conversion process, or to rename the font in the `name' table to identify it as something different.

I suggest that you contact Heise, pointing to this bug report.

Werner LEMBERG <wl>
Project AdministratorIn charge of this item.
Mon 20 Jan 2014 07:32:33 PM UTC, original submission:

The following webfont is badly distorted, especially at larger sizes:

http://www.heise.de/fonts/dejavu-sans/DejaVuSansCondensed-webfont.woff

The lower-case "z" seems to be affected at all sizes.

Using current HEAD (aae0f1a) with subpixel hinting enabled.
2.5.2 without subpixel hinting does not show the issue.

Jan Steffens <heftig>

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #30321:  Screenshot from 2014-01-20 20:37:03.png added by heftig (109KiB - image/png - gnome-font-viewer)

 

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 heftig (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 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 21 Jan 2014 05:49:25 AM UTCwlStatusNone=>Invalid
      Assigned toNone=>wl
      Open/ClosedOpen=>Closed
    Mon 20 Jan 2014 07:38:46 PM UTCheftigAttached File-=>Added Screenshot from 2014-01-20 20:37:03.png, #30321

    Back to the top


    Powered by Savane 3.1-cleanup1