Closed Bug 1254493 Opened 8 years ago Closed 8 years ago

Remove Code2000 and Arial Unicode MS from prefs

Categories

(Core :: Layout: Text and Fonts, defect)

Unspecified
Windows
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla48
Tracking Status
firefox48 --- fixed

People

(Reporter: emk, Assigned: emk)

References

Details

Attachments

(1 file)

Attached patch patchSplinter Review
Code2000 is no longer legally available. Arial Unicode MS is in the common fallback, so there is no point in adding it in prefs.
Moreover, they will prevent some scripts from selecting more appropriate fonts.
Attachment #8727794 - Flags: review?(jfkthame)
Assignee: nobody → VYV03354
Status: NEW → ASSIGNED
OS: Unspecified → Windows
Comment on attachment 8727794 [details] [diff] [review]
patch

Review of attachment 8727794 [details] [diff] [review]:
-----------------------------------------------------------------

::: modules/libpref/init/all.js
@@ +3041,5 @@
>  pref("font.name-list.sans-serif.x-devanagari", "Nirmala UI, Mangal");
>  pref("font.name-list.monospace.x-devanagari", "Mangal, Nirmala UI");
>  
>  pref("font.name.serif.x-tamil", "Latha");
> +pref("font.name.sans-serif.x-tamil", "Arial");

I don't think it makes sense to specify Arial here; AFAIK, it doesn't have any Tamil support. If Latha is the only Tamil font shipped by default, better to just specify that for both serif and sans-serif, I think.

@@ +3089,3 @@
>  
>  pref("font.name.serif.x-guru", "Raavi");
> +pref("font.name.sans-serif.x-guru", "Arial");

Again, Arial doesn't make sense here AFAICS.
(In reply to Jonathan Kew (:jfkthame) from comment #1)
> >  pref("font.name.serif.x-tamil", "Latha");
> > +pref("font.name.sans-serif.x-tamil", "Arial");
> 
> I don't think it makes sense to specify Arial here; AFAIK, it doesn't have
> any Tamil support. If Latha is the only Tamil font shipped by default,
> better to just specify that for both serif and sans-serif, I think.

I tried to preserve the current behavior as much as possible. Given the common fallback, "font.name-list.sans-serif.x-tamil" virtually has "Arial, Arial Unicode MS" at the bottom of the list. Therefore I picked a font from the top of the list. Let's talk about the behavior change in another bug (e.g. bug 1131441).
Also, My Windows 10 system did not have "Latha".

> >  pref("font.name.serif.x-guru", "Raavi");
> > +pref("font.name.sans-serif.x-guru", "Arial");
> 
> Again, Arial doesn't make sense here AFAICS.

Same as above.
Comment on attachment 8727794 [details] [diff] [review]
patch

OK, I guess that's fine.

I see that Latha, etc., are in the optional Supplemental Fonts packages on Win10, so yes, they'll only be installed if the user chooses. (Otherwise, most of the Indic scripts will just end up with Nirmala UI.)
Attachment #8727794 - Flags: review?(jfkthame) → review+
https://hg.mozilla.org/mozilla-central/rev/d506fc68f5ca
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla48
Depends on: 1255959
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: