https://bugs.documentfoundation.org/show_bug.cgi?id=82163

Kevin Suo <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Fileopen: Draw cannot       |sdext.pdfimport: xpdfimport
                   |render embedded font in pdf |failed to detect certain
                   |                            |characters in the attached
                   |                            |PDF
                 CC|                            |[email protected]

--- Comment #21 from Kevin Suo <[email protected]> ---
For the pdf document provided in attachment 104251, if you run:
./instdir/program/xpdfimport /home/suokunlong/lo/bugs/xpdfimport/WTR.pdf -f
/tmp/tmp.txt

You will see the output like this:
...
updateFont 15 0 0 0 0 5975.099000 0 WtAtArtwork38JBRbw
drawChar 55.375425 112.999280 169.440065 112.999280 59.750990 0.000000 0.000000
-59.750990 1.000000 3
endTextObject
setTextRenderMode 0
updateLineWidth 0.300000
updateFont 15 0 0 0 0 5975.099000 0 WtAtArtwork38JBRbw
drawChar 170.049525 112.999280 226.036203 112.999280 59.750990 0.000000
0.000000 -59.750990 1.000000 4
endTextObject
setTextRenderMode 0
updateLineWidth 0.300000
updateFont 15 0 0 0 0 5975.099000 0 WtAtArtwork38JBRbw
drawChar 226.167655 112.999280 290.459720 112.999280 59.750990 0.000000
0.000000 -59.750990 1.000000 5
endTextObject
setTextRenderMode 0
updateLineWidth 0.300000
updateFont 15 0 0 0 0 5975.099000 0 WtAtArtwork38JBRbw
drawChar 290.650923 112.999280 364.025139 112.999280 59.750990 0.000000
0.000000 -59.750990 1.000000 6
endTextObject
setTextRenderMode 0
updateLineWidth 0.300000
updateFont 15 0 0 0 0 5975.099000 0 WtAtArtwork38JBRbw
drawChar 364.276093 112.999280 423.130818 112.999280 59.750990 0.000000
0.000000 -59.750990 1.000000 7
...

sdext.pdfimport uses these xpdfimport drawchar information to build-up an ODF
XML document and then show it to the user. Thus the bug is not on font
rendering - the bug is related to xpdfimport
(sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.{hxx, cxx}), or more likely
a bug on poppler (i.e. the third-party library which libreoffice has used in
the above mentioned xpdfimport part.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to