bugThe FreeType Project - Bugs: bug #49620, freetype 2.7 new interpreter...

 
 

bug #49620: freetype 2.7 new interpreter produces bad results

Submitted by:  None
Submitted on:  Wed 16 Nov 2016 12:28:19 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 16 Nov 2016 01:57:10 PM UTC, comment #3:

Small correction: Your screenshot seems to use Noto at 13px. At this size, the rendering between v35 and v40 is indeed almost the same.

Werner LEMBERG <wl>
Project AdministratorIn charge of this item.
Wed 16 Nov 2016 01:51:49 PM UTC, comment #2:

What you call `nice' means hinting along the x-axis also. v40 hinting no longer does this, similar to MS ClearType. You might have a look how DejaVu gets rendered on Windows.

Regarding Noto, I don't know what version you are using, but it appears that you either use an unhinted font or the one hinted with ttfautohint. In both cases there is no hinting along the x-axis, regardless of the TrueType interpreter version, since the former uses FreeType's auto-hinter, and the latter is based on the former.

You might download noto fonts that are (automatically?) hinted, but not with ttfautohint, from

https://github.com/googlei18n/noto-fonts

I see a difference between v35 and v40, testing `hinted/NotoSans-Regular.ttf' from this git repository: For example, glyph 'T's vertical stem is almost exactly 1px wide in v35 at 12px and smeared in v40. In your screenshot, however, the vertical stem is smeared in both v35 and v40...

As a summary: I don't see a FreeType bug, thus closing as invalid.
Feel free to re-open if you have some evidence that my conclusion is wrong.

Werner LEMBERG <wl>
Project AdministratorIn charge of this item.
Wed 16 Nov 2016 12:33:22 PM UTC, comment #1:

submitted by me

Jiri Slaby <jirislaby>
Wed 16 Nov 2016 12:28:19 PM UTC, original submission:

This was originally reported at:
https://bugzilla.suse.com/show_bug.cgi?id=1009924

After I updated my system:
1) the default font was switched from something to noto
2) freetype updated from 2.6.x to 2.7

and I lost nicely rendered fonts. When I switch:
1) noto to dejavu
2) interpreter version to 35

I have nice fonts again.

So:
1) Does opensuse have some bad setting for noto fonts?
2) is the interpreter 40 set badly in opensuse, so that dejavu renders with that really bad too?

I am attaching demonstration of the above and output of:
1) fc-match --verbose sans >/tmp/dejavu.txt
2) fc-match --verbose NotoSans >/tmp/Noto.txt

FWIW I have noto hinted fonts.

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #38986:  thun-fonts.png added by None (128KiB - image/png - demonstration of ugly fonts)
file #38987:  Noto.txt added by None (3KiB - text/plain - demonstration of ugly fonts)
file #38988:  dejavu.txt added by None (6KiB - text/plain - demonstration of ugly fonts)

 

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 jirislaby (Posted a comment)
  •  

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

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 16 Nov 2016 01:51:49 PM UTCwlStatusNone=>Invalid
      Assigned toNone=>wl
      Open/ClosedOpen=>Closed
    Wed 16 Nov 2016 12:28:19 PM UTCNoneAttached File-=>Added thun-fonts.png, #38986
      Attached File-=>Added Noto.txt, #38987
      Attached File-=>Added dejavu.txt, #38988

    Back to the top


    Powered by Savane 3.1-cleanup1