Open Bug 1131441 Opened 9 years ago Updated 2 years ago

update windows font prefs to follow IE11 choices

Categories

(Core :: Graphics: Text, defect, P3)

All
Windows 8.1
defect

Tracking

()

People

(Reporter: jtd, Unassigned, NeedInfo)

References

Details

(Whiteboard: [gfx-noted])

Attachments

(2 files)

MSDN published default fonts for serif/sans-serif used by IE11:

https://msdn.microsoft.com/en-us/library/ie/dn467844%28v=vs.85%29.aspx

I think we should review this and update our font prefs as needed. Similar work was done on bug 1096800.
Hmm, looking over this list I think the one that may need some consideration is the default sans-serif for Japanese changing to Meiryo. Nakano-san? Kato-san? Thoughts?
(In reply to John Daggett (:jtd) from comment #1)
> Hmm, looking over this list I think the one that may need some consideration
> is the default sans-serif for Japanese changing to Meiryo. Nakano-san?
> Kato-san? Thoughts?

Heh, this is already a change I've made in my own about:config, and probably would have proposed in a new bug at some point.  Here's a patch implementing such if it's wanted.

+Make default sans-serif Meiryo
−Take sans-serif fonts out of name-list.serif (is there a good reason for them to be there?  They were introduced with the same versions of Windows as the serifs, so I can't think of one)
+Move Meiryo to the front of name-list.sans-serif, remove serif fonts, add Arial Unicode MS to the end
−Remove non-monospace from name-list.monospace (the monos have been around since XP, the proportionals only since Vista)
Comment on attachment 8561983 [details] [diff] [review]
better Windows Japanese default fonts

Couple quick comments. I think we should review all the fonts in the MS list and make the appropriate changes in a single patch rather than making the changes langGroup by langGroup. The other thing is in general we don't want or need to include "Arial Unicode MS" as a pref font. For zh-cn it's okay but not for Japanese.
And I wonder, if Meiryo isn't installed, how does the pref UI for the fonts behave? Although, I don't like this fact, we still support WinXP WinServer 2k3, right?
https://www.mozilla.org/en-US/firefox/35.0/system-requirements/
(In reply to Masayuki Nakano (:masayuki) (Mozilla Japan) from comment #4)
> dup of bug 1016792?

Argh, not a dupe but definitely crossover. That list is long so I think we should go through all the fonts listed and decide whether to makes changes.
(In reply to Masayuki Nakano (:masayuki) (Mozilla Japan) from comment #5)
> And I wonder, if Meiryo isn't installed, how does the pref UI for the fonts
> behave?

When the font isn't available, the UI code goes through the 'font.name-list.xxx' list and picks the first available font. You can test this by manually changing 'font.name.xxx' to 'blahblah' in about:config, then bring up the font prefs.
So here's a table I made that should make it easier to see what differences there currently are, and help decide what we want to change.
I have not as yet styled differences in defaults due to how Fx's defaults depend on the value of the serif and sans-serif settings anyway, rather than being set independently.

The relevant new fonts have links to the microsoft.com/typography/font page for their latest version (on first occurrence at least), and their cells have a title tag with (XP(SP2)?|Vista|Win(7|8)) denoting the first (relevant) version of Windows that included them.

So if we only care about different fonts available in Vista or earlier, we can do

[title^="Win"] + .difference {
background-color: unset;
}
to undo the styling.

All the langs for which Microsoft have prefs but Firefox does not are just in a dump table under tha main one.
Some sources/reasons for the current font selections:

Thai (Tahoma)
https://bugzilla.mozilla.org/show_bug.cgi?id=284265
Malayalam (Rachana_w01), Oriya (ori1Uni)
https://bugzilla.mozilla.org/show_bug.cgi?id=378105
Tibetan (Tibetan Machine Uni)
https://bugzilla.mozilla.org/show_bug.cgi?id=441110

So far the only one I feel good about changing (apart from Japanese) is Korean sans-serif Gulim -> Malgun Gothic

Also, for as many times as that IE document mentions Leelawadee UI, the MS font site only lists regular and bold non-UI versions, and (my copy of) Win7 certainly doesn't have it.
Removing :jtd as the assignee.
Assignee: jd.bugzilla → nobody
Flags: needinfo?(jfkthame)
Whiteboard: [gfx-noted]
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: