Apache OpenOffice (AOO) Bugzilla – Issue 16876
Symbol fonts incorrectly imported from rtf file (or clipboard)
Last modified: 2013-08-07 14:41:36 UTC
Some symbol font chars are corrupted when opening a simple rtf file in OOo 1.1RC. Also happens if the same RTF is pasted into OOo. OOo 1.0.3 is OK. For example. Type <ALT-0129><ALT-0143> in wingdings (any symbol font will do) into OOo and save as RTF. Reopen the RTF file and the chars will have changed, but Wordpad reads the file correctly. Copying from Wordpad to OOo exhibits the same fault. The RTF string is: \'81\'8f This gets converted to: \u61825 ?\u61839 ? I think the chars are U+F181 & U+F18F but should be U+F081 & U+F08F Only a few characters are affected. These two are the ones I've found, there are probably others. I've put this at P2 as it corrupts data. But as it's not native OOo data perhaps you'll want to demote it to P3?
Reassigned to MRU
Created attachment 7743 [details] RTF showing the problem
MRU->CMC: when exporting this to RTF and reloading, the symbols are wrong. Also, when loading this in WW, copying content to clipboard and inserting as RTF in Writer gives the same result. Importing the attachment to Writer is o.k.
Hmm, implementing hich keyword may be required.
Setting a target
Ok, had to seperate some code into a number of seperate cases to get this to work fully. The symbol font encoding, is handled a bit differently that the others. Fixed for 2.0 in mullingarfilterteam18
reopen to reassign
Looks good in mullingarfilterteam18
Checked fix with CWS mullingarfilterteam18.
Verified. Fix will be included in OO 2.0.
Checked integration with 680m32.