bugThe FreeType Project - Bugs: bug #43703, Wrong outline for 't' in TT font...

 
 

bug #43703: Wrong outline for 't' in TT font HoboBold

Submitted by:  John Tytgat <joty>
Submitted on:  Wed 26 Nov 2014 12:12:58 PM UTC  
 
Severity: 3 - NormalItem Group: Incorrect behaviour
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.

 

Wed 26 Nov 2014 09:36:16 PM UTC, comment #5:

It seems so. I've downloaded the complete `Hobo' font, and it really doesn't contain a `gasp' table. Since OS X doesn't use hinting at all, and recent Windows versions only use ClearType, the problem isn't noticeable on those two platforms.

Unfortunately, there is no way to recognize bad hinting, since hinting instructions can do almost anything with fonts. You probably have to maintain a list of problematic fonts, forcing them to use the FreeType auto-hinter or subpixel hinting.

Werner LEMBERG <wl>
Project AdministratorIn charge of this item.
Wed 26 Nov 2014 06:28:43 PM UTC, comment #4:

As background: the font is an embedded subset from a PDF file written by Adobe InDesign CS6 (Mac). Is it fair to assume that the original font used in that InDesign document has invalid hinting data ?

Is there a way to disable hinting when the hinting data is not complete/wrong/etc. ?

John Tytgat <joty>
Wed 26 Nov 2014 06:20:16 PM UTC, comment #3:

I suspect that the font was auto-hinted (but not with ttfautohint), and that the author forgot to add a proper gasp table entry, saying that the font only works with ClearType hinting. Of course, I wonder why the auto-hinter didn't do that...

Alexei, in case you have time please check the rendering of the font on Windows without ClearType – and please re-open the report if necessary.

Werner LEMBERG <wl>
Project AdministratorIn charge of this item.
Wed 26 Nov 2014 05:47:58 PM UTC, comment #2:

This is cute bytecode bug. See attached 196 and 197 ppem snapshots.

(file #32552, file #32553)

Alexei Podtelezhnikov <podtelez>
Project Member
Wed 26 Nov 2014 05:21:42 PM UTC, comment #1:

It is only bad when hinting is on. This is a hinting bug.

Alexei Podtelezhnikov <podtelez>
Project Member
Wed 26 Nov 2014 12:12:58 PM UTC, original submission:

The 't' glyph for attached subsetted TT font HoboBold renders differently between what Acrobat or Windows does vs FreeType 2.5.3. I see the same, I assume, wrong rendering in FreeType 2.4.11 and 2.5.2.

Attached the subsetted font and two screenshots (Windows rasterizer vs FT ftview).

Any idea what's going wrong ?

John Tytgat <joty>

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #32552:  196.png added by podtelez (16KiB - image/png)
file #32553:  197.png added by podtelez (16KiB - image/png)
file #32548:  DT126683_YEHNKZ+HoboBold.ttf added by joty (8KiB - 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 podtelez (Posted a comment)
  • -unavailable- added by joty (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
    Wed 26 Nov 2014 06:20:16 PM UTCwlStatusNone=>Invalid
      Assigned toNone=>wl
      Open/ClosedOpen=>Closed
    Wed 26 Nov 2014 05:47:58 PM UTCpodtelezAttached File-=>Added 196.png, #32552
      Attached File-=>Added 197.png, #32553
    Wed 26 Nov 2014 12:12:58 PM UTCjotyAttached File-=>Added DT126683_YEHNKZ+HoboBold.ttf, #32548
      Attached File-=>Added DT126683_YEHNKZ+HoboBold_Win-good.png, #32549
      Attached File-=>Added DT126683_YEHNKZ+HoboBold_FT2.5.3-bad.png, #32550

    Back to the top


    Powered by Savane 3.1-cleanup1