<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - [patch] add support for subpixel rendering support for cairo backend"
href="https://bugs.freedesktop.org/show_bug.cgi?id=95485#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - [patch] add support for subpixel rendering support for cairo backend"
href="https://bugs.freedesktop.org/show_bug.cgi?id=95485">bug 95485</a>
from <span class="vcard"><a class="email" href="mailto:broken.zhou@gmail.com" title="Yichao Zhou <broken.zhou@gmail.com>"> <span class="fn">Yichao Zhou</span></a>
</span></b>
<pre>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?</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>