Issue 16876 - Symbol fonts incorrectly imported from rtf file (or clipboard)
Summary: Symbol fonts incorrectly imported from rtf file (or clipboard)
Status: CLOSED FIXED
Alias: None
Product: Writer
Classification: Application
Component: code (show other issues)
Version: OOo 1.1 RC
Hardware: PC Windows XP
: P2 Trivial (vote)
Target Milestone: ---
Assignee: michael.ruess
QA Contact: issues@sw
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-15 11:42 UTC by Unknown
Modified: 2013-08-07 14:41 UTC (History)
1 user (show)

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


Attachments
RTF showing the problem (23.50 KB, application/msword)
2003-07-16 12:31 UTC, michael.ruess
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description Unknown 2003-07-15 11:42:14 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?
Comment 1 h.ilter 2003-07-16 10:07:17 UTC
Reassigned to MRU
Comment 2 michael.ruess 2003-07-16 12:31:25 UTC
Created attachment 7743 [details]
RTF showing the problem
Comment 3 michael.ruess 2003-07-16 12:32:47 UTC
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.
Comment 4 caolanm 2003-07-22 15:55:48 UTC
Hmm, implementing hich keyword may be required.
Comment 5 caolanm 2003-07-22 15:56:05 UTC
Setting a target
Comment 6 caolanm 2003-11-14 16:52:54 UTC
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
Comment 7 caolanm 2003-12-15 10:39:48 UTC
reopen to reassign
Comment 8 caolanm 2003-12-15 10:40:13 UTC
Looks good in mullingarfilterteam18
Comment 9 michael.ruess 2003-12-18 14:37:30 UTC
Checked fix with CWS mullingarfilterteam18.
Comment 10 michael.ruess 2003-12-18 14:52:01 UTC
Verified. Fix will be included in OO 2.0.
Comment 11 michael.ruess 2004-04-01 14:51:41 UTC
Checked integration with 680m32.