[poppler] Qt4 Arthur
Albert Astals Cid
aacid at kde.org
Wed May 20 15:25:01 PDT 2009
A Dimecres, 20 de maig de 2009, Paul Gideon Dann va escriure:
> On Saturday 16 May 2009 13:27:46 Albert Astals Cid wrote:
> > Splash uses FreeType for fonts so if freetype has subpixel rendering (i
> > guess you only want subpixel rendering for fonts?) you should be able to
> > get it with some small patch here and there.
>
> I tried, and it's unfortunately not trivial. Splash simply assumes that
> text will always be monochrome. I was able to get subpixel rendering
> working, but at the cost of text colour and the alpha channel, so text is
> always black and looks ugly on anything except white. Maybe with some more
> work it would be possible (a few core methods would need reworking), but I
> found the Splash code difficult to work with, so I gave up on that
> approach.
>
> > > > It is, noone is going to use Qt4 frontend with Cairo, politics.
> > >
> > > Mmm, well in the long term it's not ideal, but there are quite a few of
> > > us out there that are pragmatists. Most people will have Cairo
> > > installed for Firefox anyway. I'm guessing it shouldn't be too hard to
> > > do, right? I'll look into it further if I have the time.
>
> I decided to try this approach anyway, and the results are good. So that's
> one person at least who will be using the Qt4 frontend with Cairo :) My
> patchset is attached for people to do with as they wish. I'm afraid I've
> only modified the CMakeFiles, so this will almost certainly break an
> autotools build.
>
> Here is a quick comparison:
> Before (Splash): http://snurl.com/if1b1
> After (Cairo + Subpixel Rendering): http://snurl.com/if1c2
>
> The lcd filtering could do with some work -- there is some nasty colour
> fringing. For me though, this is a step in the right direction.
Can i have that pdf for local comparison?
Albert
>
> Paul
More information about the poppler
mailing list