[Poppler-bugs] [Bug 2807] doesn't handle text rendering modes

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Sep 19 08:05:10 PDT 2010


https://bugs.freedesktop.org/show_bug.cgi?id=2807

--- Comment #32 from thomasf <Thomas.Freitag at alfa.de> 2010-09-19 08:05:10 PDT ---
Created an attachment (id=38797)
 --> (https://bugs.freedesktop.org/attachment.cgi?id=38797)
Use dynamic pattern

I started in some more investigation, and found some interesting code fragments
in splash: there is some so called dynamic pattern, where when filling with
such a pattern the actual color at a coordinate is fetched from this pattern
with getColor(), and if such a pattern for i.e. axial shading exists, the whole
including antialias could be done with a simple splash->fillWithPattern().
So the only effort to do is to implement dynamic patterns (which were prepared,
but never implemented, so there exists no sample) for i.e. axial shading and
"convert" the GfxShading to a SplashShadingPattern.
I spent some hours to start with it, and implement an shading pattern which
assumes that shading is done from left to right and starts at the upper left
corner and ends at upper right corner, so the result is not exact what I want,
but it shows that it works and antialias is done correctly. So I attach the
result, knowing I need some more days to convert at least a GfxAxialShading to
the new implemented SplashAxialPattern.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Poppler-bugs mailing list