Issue 118816 - svg: breaking looses color attribute of text
Summary: svg: breaking looses color attribute of text
Status: CLOSED FIXED
Alias: None
Product: Draw
Classification: Application
Component: editing (show other issues)
Version: recent-trunk
Hardware: PC Windows XP
: P5 (lowest) Normal (vote)
Target Milestone: ---
Assignee: Armin Le Grand
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-18 21:26 UTC by Regina Henschel
Modified: 2012-08-28 08:53 UTC (History)
3 users (show)

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


Attachments
svg with styled text (4.33 KB, image/svg+xml)
2012-01-18 21:26 UTC, Regina Henschel
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description Regina Henschel 2012-01-18 21:26:23 UTC
Created attachment 77147 [details]
svg with styled text

Take a Draw Document.
Insert attached file "text-fonts-02-t.svg" (out of http://www.w3.org/Graphics/SVG/Test/20061213/)
Break

Notice, that the text frames loose the color attribute.
Comment 1 Armin Le Grand 2012-01-19 10:09:37 UTC
ALG: Probably again a problem with the old metafile-based converter, the primitives (and thus the Svg import) are correct since the Svg as graphic is shown correctly. Taking a look...
Comment 2 Armin Le Grand 2012-01-19 11:05:12 UTC
ALG: Indeed, it's th eold Metafile breaker as can be seen by first converting the Svg to metafile and then to SdrObjects, this loses color information on 2nd step. Looking deeper...
Comment 3 Armin Le Grand 2012-01-19 11:08:58 UTC
ALG: Found, the text color was taken from the Font, not from the OutputDevice (it is overdefined by having text colors in both, but the one at the OutputDevice is the used one). Changed, works as expected.

ALG: comitted, done.
Comment 4 liuping 2012-08-28 08:53:19 UTC
verify on AOO350ml 1377620 on Win7-64bit,pass