[Poppler-bugs] [Bug 95344] Text sized and positioned incorrectly

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue May 1 20:16:43 UTC 2018


https://bugs.freedesktop.org/show_bug.cgi?id=95344

--- Comment #7 from oliver.sander at tu-dresden.de ---
Hi Thomas,

I came across your patch when implementing type3 support for the Arthur
backend.  The one line added by your patch makes my seemingly correct type3
implementation fail.  More details can be found in 

  https://bugs.freedesktop.org/show_bug.cgi?id=106150

Looking at your patch got me confused.  It calls updateCTM with an all-zero
matrix.  In my understanding of what updateCTM does, this will multiply the
current CTM with zero, and all later rendering will be scaled to size zero. 
This is indeed what is happening in ArthurOutputDev.

On the other hand, when I revert your patch, I cannot reproduce the original
bug that made you write the patch anymore.  I tried with the test file from

  https://bugs.kde.org/show_bug.cgi?id=362765

I get lots of errors saying

  "Error: Save (q) operator before d0/d1 in Type 3 glyph"

but the rendering seems to be okay.  So would it be possible to get some
explanation of why you wrote the patch the way you did?  Is my understanding of
updateCTM wrong?  Or does your fix need improvements?

Many thanks,
Oliver

-- 
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/20180501/784a0ce4/attachment.html>


More information about the Poppler-bugs mailing list