[poppler] Stroke color of type 3 fonts

Albert Astals Cid aacid at kde.org
Sun Jun 1 06:54:07 PDT 2008


A Diumenge 01 Juny 2008, Adrian Johnson va escriure:
> Albert Astals Cid wrote:
> > A Dissabte 31 Maig 2008, Adrian Johnson va escriure:
> >> When rendering Type 3 glyphs that contain stroke operations, Poppler
> >> will render the stroke in the current stroke color instead of the fill
> >> color.
> >>
> >> The PDF Reference states that the text rendering mode parameter which
> >> allows fonts to be stroked and filled separately with the stroke and
> >> fill colors does not apply to Type 3 fonts. Adobe Reader renders Type 3
> >> glyphs that contain stroke operations with the fill color.
> >>
> >> Attached is a patch that fixes this bug.
> >
> > Cool, do you have a pdf demonstrating the problem?
>
> This pdf from the cairo test suite demonstrates the problem:
>
> http://annarchy.freedesktop.org/~ajohnson/user-font-pdf-argb32-out.pdf

That pdf works correctly with the splash renderer so i don't see why a patch 
on Gfx.cc is needed, i'd say a patch for the cairo renderer is needed.

Albert

> _______________________________________________
> poppler mailing list
> poppler at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/poppler




More information about the poppler mailing list