Issue 45983 - support surrogate pair display on UNX platforms
Summary: support surrogate pair display on UNX platforms
Status: CLOSED FIXED
Alias: None
Product: gsl
Classification: Code
Component: code (show other issues)
Version: OOo 2.0 Beta
Hardware: All Linux, all
: P3 Trivial with 3 votes (vote)
Target Milestone: OOo 2.2
Assignee: eric.savary
QA Contact: issues@gsl
URL:
Keywords: oooqa
Depends on:
Blocks: 41792
  Show dependency tree
 
Reported: 2005-03-25 00:12 UTC by xiaogil
Modified: 2007-01-18 12:22 UTC (History)
5 users (show)

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


Attachments
screenshot, document in OOo writer and content.xml in gedit (97.29 KB, image/png)
2005-03-26 12:02 UTC, lohmaier
no flags Details
the document. (5.83 KB, application/vnd.oasis.opendocument.text)
2005-03-26 12:03 UTC, lohmaier
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description xiaogil 2005-03-25 00:12:22 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
Comment 1 flibby05 2005-03-25 23:23:10 UTC
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 ***
Comment 2 flibby05 2005-03-25 23:23:34 UTC
.
Comment 3 lohmaier 2005-03-26 11:42:10 UTC
reopen issue. These two are not related. issue 46020 is about OOo using
different antialiasing-settings than other applications
Comment 4 lohmaier 2005-03-26 11:56:42 UTC
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.
Comment 5 lohmaier 2005-03-26 12:01:34 UTC
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)
Comment 6 lohmaier 2005-03-26 12:02:42 UTC
Created attachment 24293 [details]
screenshot, document in OOo writer and content.xml in gedit
Comment 7 lohmaier 2005-03-26 12:03:56 UTC
Created attachment 24294 [details]
the document.
Comment 8 stephan_schaefer 2005-03-29 09:00:10 UTC
->hdu: please check if it's a duplicate.
Comment 9 mkberg 2005-03-31 05:43:24 UTC
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
Comment 10 hdu@apache.org 2005-04-07 14:38:15 UTC
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.
Comment 11 hdu@apache.org 2005-05-30 09:36:25 UTC
Adjusting target to the one for the corresponding issue 40391.
Comment 12 hdu@apache.org 2006-12-06 14:40:33 UTC
Added support for display of unicodes>=U+10000 in CWS vcl70.
Comment 13 hdu@apache.org 2006-12-12 10:40:17 UTC
@es: please verify in CWS vcl70
Comment 14 hdu@apache.org 2006-12-13 09:40:25 UTC
adjusting summary to issue type
Comment 15 eric.savary 2006-12-14 16:05:10 UTC
Verified in cws vcl70
Comment 16 eric.savary 2007-01-18 12:22:41 UTC
Ok in m199