Issue 92912 - pdf import shows outlined/stroked text as filled with black and no outline
Summary: pdf import shows outlined/stroked text as filled with black and no outline
Status: CLOSED FIXED
Alias: None
Product: extensions
Classification: Extensions
Component: pdfimport (show other issues)
Version: current
Hardware: Sun All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: wolframgarten
QA Contact: wolframgarten
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-19 14:59 UTC by frank_markesteijn
Modified: 2009-02-20 14:16 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
pdf file displaying outlined text as filled with black (244.08 KB, text/plain)
2008-08-19 15:00 UTC, frank_markesteijn
no flags Details
simplified test doc for outline text (22.46 KB, application/pdf)
2009-01-30 16:20 UTC, philipp.lohmann
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
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.