Closed Bug 128263 Opened 22 years ago Closed 22 years ago

support surrogate character rendering under Mac.

Categories

(Core :: Internationalization, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

()

VERIFIED FIXED
mozilla1.2alpha

People

(Reporter: ftang, Assigned: ftang)

References

()

Details

(Keywords: intl, topembed, Whiteboard: [eta: 8/20/2002])

Attachments

(2 files)

we should try Code 2001 font and the ms surrogate chinese font and make mac
render surrogate if they are installed.
Keywords: intl
QA Contact: ruixu → ylong
Status: NEW → ASSIGNED
here is the infor for code 2001 font.
>Frank, Shanjian,
>
>James Kass' font works well and covers the characters in the example
>page at: http://www.geocities.com/i18nguy/unicode-example-plane1.html
>
>The page has some information on setting up Windows for surrogates.
>
>Kass' Code 2001 font is at:
>http://home.att.net/~jameskass/CODE2001.ZIP
>
also, look at http://www.microsoft.com/downloads/release.asp?ReleaseID=31326 for
MS surrogate font
the ms chinese font could be fonta at
http://www.microsoft.com/downloads/release.asp?ReleaseID=32385
Blocks: 157673
Keywords: nsbeta1+
Whiteboard: [eta: 8/20/2002]
Target Milestone: --- → mozilla1.2alpha
Hardware: PC → Macintosh
I hit a general ATSUI problem before I can implement this.
that problem is solved in bug 160001
to see the effect of the patch, do the folloiwng


1. install chinese surrogate font . 
  (if you are internal in Netscape. save 
http://warp.mcom.com/u/ftang/fonts/schinese/SURSONG.TTF  into 
Library:Fonts:SURSONG.TTF under your MacOS X.)

2. visit http://people.netscape.com/ftang/testscript/gb18030/gb18030.cgi?page=596
you will see all text display ?? and some gif display to tell you what the glyph
should look like

3. apply the patch and rebuild
4. visit that page again and you will see the text appear
* Why do the two new functions reuturn PRBool instead of nsresult? And the
caller ingores the result.
* Please add "::" like ::ATSUSetTextPointerLocation.
* There are some lines with wrong indentation, please fix them.
*** Bug 135219 has been marked as a duplicate of this bug. ***
Keywords: review
this patch need to be merged with the mathml landing
Summary: support surrogate characer rendering under Mac. → support surrogate character rendering under Mac.
Attached patch patch 1.1Splinter Review
Comment on attachment 95431 [details] [diff] [review]
patch 1.1

r=nhotta
Attachment #95431 - Flags: review+
sfraser: can you sr= this one ?
Blocks: 112436
Comment on attachment 95431 [details] [diff] [review]
patch 1.1

sr=sfraser
More comments in the code would be appreciated (maybe explain to those of us
who don't know what the surrogate stuff is all about).
Attachment #95431 - Flags: superreview+
fixed and land into trunk
add rbs to the bug
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Verified gb18030 surrogate characters are displayed fine on 08-16 trunk build /
Mac 10.1.5.
Status: RESOLVED → VERIFIED
batch: adding topembed per Gecko2 document
http://rocknroll.mcom.com/users/marek/publish/Gecko/Gecko2Tasks.html
Keywords: topembed
Blocks: grouper
Depends on: 180372
No longer blocks: 157673
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: