Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 468336 - =media-libs/freetype-2.4.11-r2 - Breaks subpixel rendering in Firefox.
Summary: =media-libs/freetype-2.4.11-r2 - Breaks subpixel rendering in Firefox.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Multilib team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-02 22:00 UTC by octoploid
Modified: 2013-05-04 10:10 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Subpixels rendered OK (sub.png,186.28 KB, image/png)
2013-05-02 22:01 UTC, octoploid
Details
Simple grayscale rendering (BUG) (gray.png,152.15 KB, image/png)
2013-05-02 22:01 UTC, octoploid
Details

Note You need to log in before you can comment on or make changes to this bug.
Description octoploid 2013-05-02 22:00:51 UTC
Since I've installed freetype-2.4.11-r2 fonts aren't subpixel
rendered anymore in Firefox. Instead simple grayscale rendering is used.
See attached magnified screenshots.
Downgrading to freetype-2.4.11 fixes the issue.

Reproducible: Always
Comment 1 octoploid 2013-05-02 22:01:23 UTC
Created attachment 347182 [details]
Subpixels rendered OK
Comment 2 octoploid 2013-05-02 22:01:52 UTC
Created attachment 347184 [details]
Simple grayscale rendering (BUG)
Comment 3 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-05-03 21:11:19 UTC
Hit enter too fast, just want to say I see this in other programs as well.
Comment 4 Ben de Groot (RETIRED) gentoo-dev 2013-05-04 06:15:34 UTC
Re-assigning to multilib, since this seems a problem with the multilib ebuild only.

While you are at it, make sure to apply the locale patch as well.
Comment 5 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-05-04 07:24:14 UTC
Could you attach your /usr/include/freetype2/freetype/config/ftoption.h please? Which arch are you using?
Comment 6 octoploid 2013-05-04 07:36:57 UTC
Arch is x86_64.
ftoption.h is the same in 2.4.11-r2 and 2.4.11.
ftconfig.h differs however (/var/.snapshot/... is 2.4.11-r2):

x4 ~ # diff -u /usr/include/freetype2/freetype/config/ftconfig.h   /var/.snapshots/daily.2/localhost/usr/include/freetype2/freetype/config/ftconfig.h
--- /usr/include/freetype2/freetype/config/ftconfig.h   2013-05-02 23:43:37.000000000 +0200
+++ /var/.snapshots/daily.2/localhost/usr/include/freetype2/freetype/config/ftconfig.h  2013-04-29 19:09:42.000000000 +0200
@@ -79,10 +79,7 @@
 /* #undef FT_USE_AUTOCONF_SIZEOF_TYPES */
 #ifdef FT_USE_AUTOCONF_SIZEOF_TYPES
 
-#define SIZEOF_INT 4
-#define SIZEOF_LONG 8
-#define FT_SIZEOF_INT  SIZEOF_INT
-#define FT_SIZEOF_LONG SIZEOF_LONG
+#error "Unsupported code branch enabled. Please report a bug to bugs.gentoo.org."
 
 #else /* !FT_USE_AUTOCONF_SIZEOF_TYPES */
Comment 7 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-05-04 07:43:48 UTC
Hmm, you can try syncing and rebuilding -r2, since I added the locale patch. Other than that, I don't see *how* it could fail.

I've just built -r0 and -r2, and 'diff -dupr' shows that the only diff is in the header, while libraries are identical. Is that the case for you as well?
Comment 8 octoploid 2013-05-04 10:10:03 UTC
(In reply to comment #7)
> Hmm, you can try syncing and rebuilding -r2, since I added the locale patch.
> Other than that, I don't see *how* it could fail.
> 
> I've just built -r0 and -r2, and 'diff -dupr' shows that the only diff is in
> the header, while libraries are identical. Is that the case for you as well?

Yes, the locale patch did the trick. Everything is fine again.
Thanks.