[Poppler-bugs] [Bug 95485] [patch] add support for subpixel rendering support for cairo backend

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri May 20 02:48:25 UTC 2016


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

--- Comment #2 from Yichao Zhou <broken.zhou at gmail.com> ---
Thanks for the review.  For the second point, poppler calls
cairo_user_font_face_set_render_glyph_func to define the render function for
type3 font, as the type3 font is actually a PS file and it is not supported by
freetype.  It seems that cairo uses other blend mode other than
CAIRO_OPERATOR_OVER to create a cairo_t as the canvas for input of user defined
render function.  So if we enable subpixel rendering, the result will be
incorrect.  I am not 100% sure on this as it requires to understand how the
internal of cairo's custom render function works.  I tried to workaround this
problem but I did not succeed.

I am not sure how to create a test in this case.  Any advice?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/poppler-bugs/attachments/20160520/a7554f02/attachment.html>


More information about the Poppler-bugs mailing list