bugThe FreeType Project - Bugs: bug #45520, 2.6 cuts off text runs in GNOME...

 
 

bug #45520: 2.6 cuts off text runs in GNOME Shell and GTK3 apps

Submitted by:  Jan Steffens <heftig>
Submitted on:  Fri 10 Jul 2015 03:11:03 PM UTC  
 
Severity: 3 - NormalItem Group: Incorrect behaviour
Status: FixedPrivacy: Public
Assigned to: Werner LEMBERG <wl>Open/Closed: Closed
Planned Release: 2.6.1

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

(Jump to the original submission Jump to the original submission)

Sun 26 Jul 2015 07:29:46 PM UTC, comment #11:

i can confirm that this issue has been fixed. -- q66

Anonymous
Sun 26 Jul 2015 07:28:14 PM UTC, comment #10:

Latest master is good. Thank you very much.

Jan Steffens <heftig>
Sun 26 Jul 2015 07:09:47 PM UTC, comment #9:

Matthias Clasen provided a fix, which is now in the git repository. Please test!

Werner LEMBERG <wl>
Project AdministratorIn charge of this item.
Sat 25 Jul 2015 11:10:34 PM UTC, comment #8:

it doesn't only affect gtk, qt is also affected, as screenshot shows (see QQ0m4Vc.png in attachments). -- q66

Anonymous
Sat 25 Jul 2015 07:10:12 PM UTC, comment #7:

I've just tried rendering SourceCodePro-{Regular,Bold} with FreeType's `ftdiff' and `ftview' demo programs (from git), and I never get the artifacts you observe...

What does GTK differently?

Werner LEMBERG <wl>
Project AdministratorIn charge of this item.
Sat 25 Jul 2015 05:02:32 PM UTC, comment #6:

Skia rendering in GTK2 Firefox also suffers.

Jan Steffens <heftig>
Sat 25 Jul 2015 04:57:19 PM UTC, comment #5:

Hm, if I tell Firefox to use Skia instead of Cairo as its content renderer, FT2 master seems to cause bad kerning instead of cut-off text.

If 5cd215511 is reverted, Skia produces an image almost identical to the good Cairo version, except showing grayscale instead of LCD text.

(file #34525, file #34526)

Jan Steffens <heftig>
Sat 25 Jul 2015 04:44:23 PM UTC, comment #4:

Attached some screenshots of Firefox GTK3 displaying the Wikipedia Ada PL page at 200% zoom. The bad image uses FT2 from master. The good image uses master with 5cd215511 reverted. The diff image highlights pixels that were different between the good and bad images.

Firefox has been configured to use the Source {Serif,Sans,Code} Pro fonts as default Latin fonts.

The halved semicolons in the code snippet are the most prominent error.

(file #34521, file #34522, file #34523)

Jan Steffens <heftig>
Sat 25 Jul 2015 04:07:29 PM UTC, comment #3:

Please send some screenshots so that we actually can see what you are talking about. Have you already contacted the GTK3 guys? Since plain FreeType doesn't exhibit the problem, I guess we can't directly do something...

Werner LEMBERG <wl>
Project AdministratorIn charge of this item.
Sat 25 Jul 2015 03:16:24 PM UTC, comment #2:

It happens with all of my OpenType fonts, in all toolkits that use Freetype, but most visible in Qt for me (on FreeBSD 11).

Anonymous
Fri 10 Jul 2015 10:17:10 PM UTC, comment #1:

Behdad, any ideas?

Werner LEMBERG <wl>
Project AdministratorIn charge of this item.
Fri 10 Jul 2015 03:11:03 PM UTC, original submission:

Since FreeType 2.6, the large digital clock on the GNOME Shell lock screen has several pixel columns cut off at the end.

I've also noticed similar problems in GTK3 Firefox rendering Cantarell and Adobe Source Sans Pro. The larger the text, the worse it gets. I also managed to reproduce it in gtk3-demo.

Reverting commit 5cd215511 ([cff] Update advance width handling to OpenType 1.7.) restores proper behavior.

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 #34525:  skia-bad.png added by heftig (191KiB - image/png - Firefox GTK3 + Skia, Wikipedia Ada page, 200% zoom, Adobe Source fonts)
file #34526:  skia-good.png added by heftig (191KiB - image/png - Firefox GTK3 + Skia, Wikipedia Ada page, 200% zoom, Adobe Source fonts)
file #34521:  ft2-bad.png added by heftig (202KiB - image/png - Firefox GTK3, Wikipedia Ada page, 200% zoom, Adobe Source fonts)
file #34522:  ft2-good.png added by heftig (202KiB - image/png - Firefox GTK3, Wikipedia Ada page, 200% zoom, Adobe Source fonts)
file #34523:  ft2-diff.png added by heftig (890B - image/png - Firefox GTK3, Wikipedia Ada page, 200% zoom, Adobe Source fonts)
file #34520:  QQ0m4Vc.png added by kwm (164KiB - image/png - freetype 2.5 vs freetype 2.6)
file #34519:  2015-07-25.192009.png added by grawity (2MiB - image/png - screenshot)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by kwm (Updated the item)
  • -unavailable- added by grawity (Updated the item)
  • -unavailable- added by grawity
  • -unavailable- added by kwm
  • -unavailable- added by wl (Posted a comment)
  • -unavailable- added by wl
  • -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 15 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 26 Jul 2015 07:09:47 PM UTCwlStatusNeed Info=>Fixed
      Open/ClosedOpen=>Closed
      Planned ReleaseNone=>2.6.1
    Sat 25 Jul 2015 04:57:19 PM UTCheftigAttached File-=>Added skia-bad.png, #34525
      Attached File-=>Added skia-good.png, #34526
    Sat 25 Jul 2015 04:44:23 PM UTCheftigAttached File-=>Added ft2-bad.png, #34521
      Attached File-=>Added ft2-good.png, #34522
      Attached File-=>Added ft2-diff.png, #34523
    Sat 25 Jul 2015 04:43:21 PM UTCkwmAttached File-=>Added QQ0m4Vc.png, #34520
    Sat 25 Jul 2015 04:21:19 PM UTCgrawityAttached File-=>Added 2015-07-25.192009.png, #34519
    Sat 25 Jul 2015 04:07:29 PM UTCwlStatusNone=>Need Info
    Sat 25 Jul 2015 03:59:16 PM UTCgrawityCarbon-Copy-=>Added grawity
    Sat 25 Jul 2015 03:57:37 PM UTCkwmCarbon-Copy-=>Added kwm
    Fri 10 Jul 2015 10:17:10 PM UTCwlAssigned toNone=>wl
      Carbon-Copy-=>Added behdad

    Back to the top


    Powered by Savane 3.1-cleanup1