Summary: | x11-libs/cairo-1.9.12 + Cleartype patch | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Shlomi Steinberg <ssteinberg> |
Component: | Current packages | Assignee: | Doug Goldstein (RETIRED) <cardoe> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | egorov_egor, electricityispower, gef.kornflakes, ghepeu, jackdachef, laurento.frittella, netcelli, spatz, steffen.weber, x11 |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
cairo 1.9.12 ebuild
cleartype patch |
Description
Shlomi Steinberg
2010-08-09 10:05:50 UTC
Created attachment 241937 [details]
cairo 1.9.12 ebuild
Created attachment 241939 [details, diff]
cleartype patch
Tested against cairo-1.10.0 and works great. Please add it to the new ebuild. Denis. Yeah, no modifications needed for 1.10. yeah, that patch applies cleanly to 1.10.0 thanks ! Patch applies cleanly to cairo-1.10.0-r3, please add to the ebuild. This patch is useless, it just duplicates in cairo the functionality provided by freetype. To enable cleartype-like filtering again you need the fontconfig patches you can find in bug 306053 and then you have to run eselect fontconfig enable 11-lcdfilter-default.conf (In reply to comment #7) > This patch is useless, it just duplicates in cairo the functionality provided > by freetype. Not really. I just tested you patch for fontconfig and there is slight difference between rendering using setting from fontconfig and provided by cairo-9999-cleartype.patch (I prefer the latter). Actually I did miss that Cairo 1.10 uses freetype's filtering again. Those who prefer the fonts with this patch can apply it manually through local overlay, but there is no reason to merge upstream. (In reply to comment #8) > (In reply to comment #7) > > This patch is useless, it just duplicates in cairo the functionality provided > > by freetype. > Not really. I just tested you patch for fontconfig and there is slight > difference between rendering using setting from fontconfig and provided by > cairo-9999-cleartype.patch (I prefer the latter). > That's because the old cleartype patch (as this one does) used the coefficients 0x1C, 0x38, 0x55, 0x38, 0x1C while freetype uses 0x10, 0x40, 0x70, 0x40, 0x10. Patch freetype with freetype-2.3.12-gentoo-lcdfilter.patch from the same bug 306053 |