Apache OpenOffice (AOO) Bugzilla – Issue 45983
support surrogate pair display on UNX platforms
Last modified: 2007-01-18 12:22:41 UTC
Hi, I need chinese characters which unicode is greater than U+10000 from the sursong font (actually, those I need begin at U+20000). Those unicode characters are now properly saved with OO 2.0, but they are *not* displayed on Open Office Writer, I mean that I get unvisible characters, but if I copy-paste it in a simple text editor, like gedit on Linux, then it's properly displayed in the editor. If it can help, the name of the police I use is sursong.ttf, and I use Open Office 2.0 Beta on Linux Ubuntu. Also, I can say that those characters are well saved and displayed with Word >2002. I hope this problem can be solved. Thanks a lot! and "bravo" for the great job you do, Gilles
because it displays correctly in GEdit i expect this is double of 46020. closing as such. please reopen, if am wrong. Regards, Max *** This issue has been marked as a duplicate of 46020 ***
.
reopen issue. These two are not related. issue 46020 is about OOo using different antialiasing-settings than other applications
I can confirm both observations from reporter: 1) The characters are saved correctly in content.xml 2) the characters are not displayed properly (at all) in OOo I used "U+1D52D MATHEMATICAL FRAKTUR SMALL P" as a test (included in Doulos SIL) http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&item_id=DoulosSILfont I'll attach a screenshot demonstrating the problem. One of the characters was inserted using copy'n'paste from gucharmap, the other one was entered using gtk-input feature (<ctrl>+<shift>+1d52d) - no difference.. This probably is an issue for gsl, so I'm reassigning it.
further info: load/save of the unicode characters was issue 31168 there is another issue regarding the display problem (but this time for windows and surrogate pairs, see issue 40391)
Created attachment 24293 [details] screenshot, document in OOo writer and content.xml in gedit
Created attachment 24294 [details] the document.
->hdu: please check if it's a duplicate.
I am experiencing the same thing. UTF 0x10000+ characters show up fine in Microsoft Notepad and Windows XP WordPad but copied to OpenOffice Writer 1.9.87m and formatted with proper TrueType font show as whitespace. I can attach screenshots if necessary. Running Windows XP Pro SP2 with Sun JDK 1.5.0_02
Yes, its duplicate to issue 40391. The relevant pieces of code for the problem on Win32 and Unx platforms are different though so I would like to use this issue for fixing the UNX part and issue 40391 for the WIN part. I also added issue 46948 for the crash when exporting the sample document as PDF.
Adjusting target to the one for the corresponding issue 40391.
Added support for display of unicodes>=U+10000 in CWS vcl70.
@es: please verify in CWS vcl70
adjusting summary to issue type
Verified in cws vcl70
Ok in m199