[Poppler-bugs] [Bug 102290] [PATCH] Replace Splash font rendering by Qt font rendering
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue Aug 29 19:47:22 UTC 2017
https://bugs.freedesktop.org/show_bug.cgi?id=102290
--- Comment #18 from oliver.sander at tu-dresden.de ---
Here is a new version of the patch. It now renders all glyphs in Albert's test
files correctly. The patch didn't really get any prettier, though.
In fact, I completely ripped out the Qt-based code-to-glyph-index conversion
code, and replaced it with what Splash does. That works, but I am a bit
surprised that Qt does not offer more help here. QRawFont has the
glyphIndexesForChars method, but that only takes QChar (aka unicode) as input,
and we don't generally have reliable unicode.
Unfortunately, to use the Splash font engine to do the code-to-gid decoding, I
had to add a new method getCodeToGID to the SplashFTFontFile class. Is that
okay? I tried to do without that, but I couldn't.
During my last tests I noticed that there is still a problem with font colors.
I'll look into that, but I'd like to get an opinion on the new SplashFTFontFile
method while I look. Thanks!
--
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/20170829/7a74af28/attachment.html>
More information about the Poppler-bugs
mailing list