<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - [PATCH] Replace Splash font rendering by Qt font rendering"
href="https://bugs.freedesktop.org/show_bug.cgi?id=102290#c16">Comment # 16</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - [PATCH] Replace Splash font rendering by Qt font rendering"
href="https://bugs.freedesktop.org/show_bug.cgi?id=102290">bug 102290</a>
from <span class="vcard"><a class="email" href="mailto:oliver.sander@tu-dresden.de" title="oliver.sander@tu-dresden.de">oliver.sander@tu-dresden.de</a>
</span></b>
<pre>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., <a href="http://doc.qt.io/qt-5/qpainter.html#setPen">http://doc.qt.io/qt-5/qpainter.html#setPen</a> . 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.</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>