Apache OpenOffice (AOO) Bugzilla – Issue 92912
pdf import shows outlined/stroked text as filled with black and no outline
Last modified: 2009-02-20 14:16:03 UTC
The Sun PDF Import extension Beta 0.3.1 Solaris x86 on ooo3.0 Beta 2 Build BEB300_m3 shows text with a white outline/stroke as filled with black and no outline, in the attached file Leers.text.pdf you will find a legend in the upper right corner of every page and short text strings placed on a map. Some texts strings on the map are black, some are blue, all of them should appear to have a white outline, they don't, the outline, in the pdf file, line 4758 and onward, is not created by stroking and filling the same piece of text, first a text is stroked with white then a different string, with the same contents is placed exactly over the former and filled with black or blue. If you import the pdf into ooo then under every black piece of text on the map (click on one and then drag it somewhere else) you will find an identical piece of text, as expected, but that piece of text is also filled with black, under the blue texts you find nothing, what should have been under it is displaced to the left somewhat also the blue texts are not were they should be, they should be placed near the blue dots, these misplacement are a different bug. The attached file Leers.txt.pdf is a plain ascii file, so you can open it in any text editor.
Created attachment 55857 [details] pdf file displaying outlined text as filled with black
Reproducible. Reassigned.
change component.
this issue is twofold: 1. pdfimport currently does not support outline characters (that is text rendered with text rendering mode 1 or 2) 2. text supposed to be overlaying other text is not recognized as such, but forced into a text line. I'll create a separate issue for problem 2. (which is not so easy to solve considering that this will probably break text line recognition).
created issue 98475
problem 1 can be fixed in part; text rendering mode 1 (stroke text outline) can be supported, however text rendering mode 2 (fill, the stroke) is not supported in the ODF docuement format. Will map both text rendering modes 1 and 2 to mean outline text in ODF.
fixed in CWS pdfextfix
Created attachment 59784 [details] simplified test doc for outline text
please verify in CWS pdfextfix
Verified in CWS.
Tested in OOO310_m2. Closed.