Closed Bug 129999 Opened 23 years ago Closed 23 years ago

needs ansi-1251 font support in nsFontMetricsGTK/nsFontMetricsXlib

Categories

(Core :: Internationalization, defect)

Sun
Solaris
defect
Not set
normal

Tracking

()

VERIFIED FIXED
mozilla1.0

People

(Reporter: masaki.katakai, Assigned: roland.mainz)

References

()

Details

(Keywords: intl)

Attachments

(1 file, 2 obsolete files)

Soalris ANSI1251 locale provide the following fonts, -monotype-times-bold-i-normal--0-0-0-0-p-0-ansi-1251 However, ansi-1251 is not defined in nsFontMetricsGTK.cpp. Please add the entry.
Attached patch add entry (obsolete) — Splinter Review
It's better assign to person who knows Solaris better; bstell..... (????) but the patch looks good.
Assignee: yokoyama → bstell
Keywords: intl
QA Contact: ruixu → katakai
I believe the list is in alphabetic order. Could this entry be inserted between "adobe-fontspecific" and "big5-0"? 403 static nsFontCharSetMap gCharSetMap[] = 404 { 405 { "-ascii", &FLG_NONE, &Unknown }, 406 { "-ibm pc", &FLG_NONE, &Unknown }, 407 { "adobe-fontspecific", &FLG_NONE, &Special }, + { "ansi-1251", &FLG_NONE, &CP1251 }, 408 { "big5-0", &FLG_ZHTW, &Big5 },
move target to 1.1
Target Milestone: --- → mozilla1.1
Katakai: I hope it is okay if I assign this to you.
Assignee: bstell → katakai
Two issues: - No test case (can anyone please file one ?) - Xlib fontmetrics code isn't patched (I file a patch for that in a few hours)
Summary: needs ansi-1251 font support in nsFontMetricsGTK.cpp → needs ansi-1251 font support in nsFontMetricsGTK/nsFontMetricsXlib
Attachment #73487 - Flags: needs-work+
Attachment #73487 - Attachment is obsolete: true
katakai: - Should I take this bug ? - Do you have a testcase ?
Taking...
Assignee: katakai → Roland.Mainz
Requesting r=/sr=/a= ...
Status: NEW → ASSIGNED
Keywords: patch, review
Target Milestone: mozilla1.1alpha → mozilla1.0
Thanks for taking this, Roland. But please see the comments of #3. Please put this after "adobe-fontspecific". Fix that and you have r=katakai.
Test case: 1. Please login to Solaris ANSI1251 locale 2. Edit->Prefs->Font ansi-1251 isn't show up 3. try to browse russian page glyphs are very big because there is no iso8859-5 fonts in ANSI1251 locale of Solaris.
Attachment #76218 - Attachment is obsolete: true
Attachment #78129 - Flags: superreview+
Comment on attachment 78129 [details] [diff] [review] Patch for 2002-04-05-08-trunk to match r=katakai sr=attinasi
Comment on attachment 78129 [details] [diff] [review] Patch for 2002-04-05-08-trunk to match r=katakai a=asa (on behalf of drivers) for checkin to the 1.0 branch
Attachment #78129 - Flags: approval+
fix checked in to trunk and branch
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
adding fixed1.0.0 keyword (branch resolution). This bug has comments saying it was fixed on the 1.0 branch and a bonsai checkin comment that agrees. To verify the bug has been fixed on the 1.0 branch please replace the fixed1.0.0 keyword with verified1.0.0.
Keywords: fixed1.0.0
katakai: Can you verify for both "trunk" and "1.0-branch" (see asa's comment #17), please ?
verified on RC1.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: