Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | [From Symphony]Vertical letters in "VerticalText" fontwork get horizontal when opening .ppt file | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Impress | Reporter: | Li Feng Wang <phoenix.wanglf> | ||||||||||||
Component: | save-export | Assignee: | AOO issues mailing list <issues> | ||||||||||||
Status: | CLOSED FIXED | QA Contact: | |||||||||||||
Severity: | Normal | ||||||||||||||
Priority: | P2 | CC: | debin.lei, doneyourself, hdu, liushenf | ||||||||||||
Version: | 3.4.0 | ||||||||||||||
Target Milestone: | 4.0.0 | ||||||||||||||
Hardware: | PC | ||||||||||||||
OS: | All | ||||||||||||||
Issue Type: | DEFECT | Latest Confirmation in: | --- | ||||||||||||
Developer Difficulty: | --- | ||||||||||||||
Attachments: |
|
Description
Li Feng Wang
2012-05-30 06:00:04 UTC
Created attachment 77776 [details]
before save screenshot
Created attachment 77777 [details]
after save screenshot
I will check the issue Root cause is The Fontwork object has no vertical properties. When read the text is rotated in PPT, we will set the vertical property to the paragraph in this object. And when export it to PPT file format, we didn't set this flag to the file again. So reopen, this property is not set to this object Here is the solution: When export one fontwork object, check the outlinerparagraph. If it is vertical, set the 0x20000 flag to TextPathFlags. Created attachment 78286 [details]
patch for the issue
Created attachment 78288 [details]
Code fix patch
The two patches look almost identical except for formatting except for the use of the full path vs. the local path. Thanks for the great analysis of the problem and the patch. Applied as rev 1349700. confirm fixing the bug on ver 1351249 in Win7 ,pass |