<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#c2">Comment # 2</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><span class="quote">> if (!(render & 1))
> seems highly suspicious</span >
I took this from the Splash-based font rendering code, which has the same text.
I guess the code does only 'fill' text rendering for now, but that is not a
regression. At least a few others of the mode seem reasonably straightforward,
but I don't have any documents to test that with.
<span class="quote">> And how is this thing loading fonts?</span >
The updateFont method does (e.g.)
const char* fontData = font->readEmbFontFile(xref, &fontDataLen);
m_rawFont = std::unique_ptr<QRawFont>(new QRawFont(QByteArray(fontData,
fontDataLen), fontSize));
Isn't that good enough? Am I missing something?</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>