Closed Bug 125298 Opened 23 years ago Closed 22 years ago

[Mac OS X]Fonts are not displayed properly in preferences

Categories

(Core :: Internationalization, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

()

VERIFIED FIXED
mozilla1.0

People

(Reporter: amyy, Assigned: ftang)

Details

(Keywords: intl)

Attachments

(2 files, 1 obsolete file)

Build: 02-13 trunk build on Mac OS X

Steps:
1. Launch browser and go to Edit | Preferences | Appearance | Fonts.
2. Select fonts for Japanese.

Result:
You will see some non-Japanese fonts are listed there, and they are not
displayed properly - See a screen shot later.
Keywords: intl
QA Contact: ruixu → ylong
I checked it existing on N6.2.1 also.

I just remember I added the Hebrew fonts/IME last month, and by the time we
tested N6.2.1, I didn't have Hebrew in my machine that's why I haven't seen it
before.

Btw, I'm using Mac OS 10.1-JA.

On Mac OS 9.1-JA, I don't see this problem even I have Hebrew installed.
Keywords: nsbeta1
Summary: Fonts are not displayed properly in preferences → [Mac OS X]Fonts are not displayed properly in preferences
->over to MacOSX i18n guru
Assignee: yokoyama → nhotta
Status: NEW → ASSIGNED
nsbeta1+ per triage meeting
give to ftang
ylong say this is happening on MacOS X 10.1.2
Assignee: nhotta → ftang
Status: ASSIGNED → NEW
Keywords: nsbeta1nsbeta1+
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla1.0
we have two issue here
issue 1. we display ? mark for hebrew and arabic font
issue 2. Hebrew font list under the encoding of the locale (so hebrew font list
under Japanese if the locale is set to japanese)

I will solve issue 1 in this bug and issue 2 with bug 95978
This is a well known problem in Bidi Mac. Somehow TEC add control characters
that we cannot display when convert " " in Arabic and Hebrew encoding. We
simply do not display ? for control character here. We may want to add more
control characters here.
Blocks: 104056
>We may want to add more control characters here. 

The patch checks two characters.
\u202C - POP DIRECTIONAL FORMATTING
\u202D - LEFT-TO-RIGHT OVERRIDE

I found those. Should those also be checked?
\u202A - LEFT-TO-RIGHT-EMBEDDING
\u202B - RIGHT-TO-LEFT EMBEDDING
\u202E - RIGHT-TO-LEFT OVERRIDE
Attachment #72985 - Attachment is obsolete: true
Attached patch v2 patchSplinter Review
Comment on attachment 73098 [details] [diff] [review]
v2 patch

r=nhotta

There are multiple of
if(! fallbackDone) in different #ifdef. I think that has to change in future
for readability.
Attachment #73098 - Flags: review+
Blocks: 104148
No longer blocks: 104056
Comment on attachment 73098 [details] [diff] [review]
v2 patch

sr=sfraser
Attachment #73098 - Flags: superreview+
Blocks: 104060
No longer blocks: 104148
fixed and check in the ? part. The "which font should be list here" issue is in
other bugs. 
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
the issue 2 is now in bug 130443 instead of bug 95978
No longer blocks: 104060
The original problem is not existing on 03-18 trunk build/Mac 10.1.3.

Mark as verified.
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: