<div class="gmail_quote">On Sun, Mar 22, 2009 at 5:18 PM, Jud Craft <span dir="ltr"><<a href="mailto:craftjml@gmail.com">craftjml@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hello there, thanks for reading.  This may be a bad place for this<br>
post, I apologize if so.<br>
<br>
Here's the problem, stated over and over throughout bad forum posts:<br>
subpixel-rendering on Fedora is a little sub-par.  The chief reason<br>
(from my lay perspective) is that it doesn't implement the various<br>
cleartype-like filtering algorithms demonstrated in all sorts of<br>
questionable patches, due to fear of patent-infringing on Microsoft's<br>
Cleartype work.  This means Fedora's default subpixel-rendering is<br>
full of color-fringes and in general less smooth than other algorithms<br>
shown in (for example) Debian and Ubuntu.<br>
<br>
Currently the only solutions are:<br>
<br>
1.  Try out freetype-freeworld:  restores the bytecode interpreter to<br>
Freetype and some adds filtering, patent-infringing, stuck in<br>
RPMFusion, can't be merged into Fedora.<br>
2.  Try out those peculiar cleartype-patches flying around the forums:<br>
 you get all filtering functionality back, but again, patent<br>
infringement.<br>
<br>
Okay, here's something different.  Check this out:  Qt (that other GUI<br>
toolkit) actually developed their own method to reduce the color<br>
fringing on subpixel-rendering:<br>
<a href="http://labs.trolltech.com/blogs/2008/09/01/subpixel-antialiasing-on-x11/" target="_blank">http://labs.trolltech.com/blogs/2008/09/01/subpixel-antialiasing-on-x11/</a><br>
<br>
Qt is not perfect (their filter automatically locks you into<br>
full-hinting on Qt 4.4, but that'll be fixed in 4.5), but their method<br>
(without using any other patent-infringing algorithms) is very<br>
beneficial.  You'll note their un-filtered examples look just as bad<br>
as the current filtering in GTK in Fedora, while their fixed-examples<br>
look pretty decent.<br>
<br>
So here's the idea:  perhaps Fedora could petition Pango (I think<br>
that's the system GTK uses to render glyphs) to include the<br>
Qt-filtering style in their own upstream code.  This would mean that<br>
both GUI toolkits on the Linux desktop would then have patent-free,<br>
non-color-fringing, subpixel rendering by default.<br>
<br>
And today currently, keep in mind that Qt on Fedora already has this<br>
new filtering, so I don't think there are any patent-problems with it:<br>
 Qt's solution seems to be a simple blur of their own ingenuity, and<br>
nothing related to Cleartype.  (Otherwise Fedora wouldn't ship it, I'd<br>
assume).<br>
<font color="#888888"><br>
--<br>
fedora-devel-list mailing list<br>
<a href="mailto:fedora-devel-list@redhat.com">fedora-devel-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/fedora-devel-list" target="_blank">https://www.redhat.com/mailman/listinfo/fedora-devel-list</a><br>
</font></blockquote></div><br><div>A good idea yes, but the reason why Fedora and other USA-based distros have such bad font rendering is because the hinting algorithms in freetype are patented not by Microsoft, but by Apple. <a href="http://freetype.sourceforge.net/patents.html">http://freetype.sourceforge.net/patents.html</a></div>
<div><br></div><div>Meh, ClearType is just the same as the subpixel hinting that is patented by Apple, just a different name.</div>