Issue 92912

Summary: pdf import shows outlined/stroked text as filled with black and no outline
Product: extensions Reporter: frank_markesteijn <frank.markesteijn>
Component: pdfimportAssignee: wolframgarten
Status: CLOSED FIXED QA Contact: wolframgarten
Severity: Trivial    
Priority: P3 CC: issues, oo
Version: current   
Target Milestone: ---   
Hardware: Sun   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Attachments:
Description Flags
pdf file displaying outlined text as filled with black
none
simplified test doc for outline text none

Description frank_markesteijn 2008-08-19 14:59:56 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.
Comment 1 frank_markesteijn 2008-08-19 15:00:58 UTC
Created attachment 55857 [details]
pdf file displaying outlined text as filled with black
Comment 2 wolframgarten 2008-08-19 15:24:25 UTC
Reproducible. Reassigned.
Comment 3 Martin Hollmichel 2008-10-08 09:51:57 UTC
change component.
Comment 4 philipp.lohmann 2009-01-26 11:44:52 UTC
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).
Comment 5 philipp.lohmann 2009-01-26 11:51:09 UTC
created issue 98475
Comment 6 philipp.lohmann 2009-01-26 11:52:54 UTC
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.
Comment 7 philipp.lohmann 2009-01-26 11:53:21 UTC
fixed in CWS pdfextfix
Comment 8 philipp.lohmann 2009-01-30 16:20:10 UTC
Created attachment 59784 [details]
simplified test doc for outline text
Comment 9 philipp.lohmann 2009-01-30 16:20:48 UTC
please verify in CWS pdfextfix
Comment 10 wolframgarten 2009-02-02 12:12:32 UTC
Verified in CWS.
Comment 11 wolframgarten 2009-02-20 14:16:03 UTC
Tested in OOO310_m2. Closed.