[Poppler-bugs] [Bug 102290] [PATCH] Replace Splash font rendering by Qt font rendering
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri Aug 25 09:53:07 UTC 2017
https://bugs.freedesktop.org/show_bug.cgi?id=102290
--- Comment #16 from oliver.sander at tu-dresden.de ---
That one was easy: we store fill colors in the QPainter's brush, and they are
set correctly. However, in what seems like a small inconsistency to me,
QPainter uses its _pen_ (what's otherwise used for stroking) also for the text
fill. See, e.g., http://doc.qt.io/qt-5/qpainter.html#setPen . Therefore, we
need to overwrite the pen color temporarily.
New patch is attached. However, a second bug remains: a few glyphs are missing.
I'll have a look.
Also, if you look very closely to the letter 't' in the title, you'll notice
that Arthur still renders it a tiny bit differently than Splash does. I have
to assume that this is a Qt bug, because the patched Arthur code never touches
the actual glyph shape.
--
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/20170825/869008a9/attachment.html>
More information about the Poppler-bugs
mailing list