font visibility = 1: auto include preferred language from kLangPackFonts
Categories
(Core :: Layout: Text and Fonts, enhancement)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox144 | --- | fixed |
People
(Reporter: thorin, Assigned: tjr)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:105.0) Gecko/20100101 Firefox/105.0
Steps to reproduce:
Similar to Bug 1670199, but this is to improve usability
kBaseFonts is rather discriminatory to users of kLangPackFonts, so for example a user requesting pages in Korean is going to get broken unicode (IIUIC)
I propose that if navigator.language (and the first language in accept headers) meets a certain list, we include the relevant kLangPackFonts
So for example, if the first language requested is ko-* or ko, on windows, we also allow GulimChe (monospace) and Batang (serif). Note: Malgun Gothic is already part of kBaseFonts
This shouldn't affect entropy, as the user would be expected to have those fonts (why else would they be requesting korean web content?) and they are already requesting Korean
I do not know how feasible this would be, and while I wouldn't expect users to change preferred language mid-session, it would reflect globally in already open tabs/windows, not per eTLD+1 + scheme
| Reporter | ||
Updated•3 years ago
|
| Reporter | ||
Comment 1•1 year ago
|
||
tom, didn't you open a similar issue for FPP - if so , close this.
| Assignee | ||
Comment 2•1 year ago
|
||
I don't think there's a different bug... FPP includes language packs entirely so this specific idea wouldn't be it. We had theorized that maybe we could restrict the language pack list in this way but I don't think I put it in a bug so much as a speculative idea if we find that it would be the best thing to do to reduce entropy in practice. (Using the forthcoming measurement data vs just guessing.)
| Reporter | ||
Comment 3•1 year ago
|
||
We had theorized that maybe we could restrict the language pack list in this way
that's what I meant .. that FPP would be tightened but not (hopefully) break "localized" content
| Assignee | ||
Comment 4•1 year ago
|
||
Updated•1 year ago
|
Comment 7•1 year ago
|
||
Backed out for causing build bustages @ nsRFPService.cpp
Backout link: https://hg.mozilla.org/integration/autoland/rev/c9d1677e633199a0f086110b5cb5d81146696abb
Comment 10•1 year ago
|
||
Backed out for causing build bustages
- Backout link
- Push with failures
- Failure Log
- Failure line: /builds/worker/checkouts/gecko/gfx/2d/../thebes/StandardFonts-linux.inc:1012:20: error: 'kBaseFonts_Fedora_38' defined but not used [-Werror=unused-variable]
Comment 11•1 year ago
|
||
Comment 12•1 year ago
|
||
Comment 13•1 year ago
|
||
Backed out for causing build bustages @StandardFonts-linux.inc.
| Assignee | ||
Comment 14•1 year ago
|
||
Uhg, sorry. I missed one variable with [[maybe_unused]]
Comment 15•1 year ago
|
||
Comment 16•1 year ago
|
||
| bugherder | ||
Updated•1 year ago
|
Description
•