Open Bug 1349852 Opened 8 years ago Updated 2 years ago

Use content-language to set default font

Categories

(Core :: Layout: Text and Fonts, enhancement, P3)

55 Branch
enhancement

Tracking

()

Tracking Status
firefox55 --- affected

People

(Reporter: m_kato, Unassigned)

References

Details

When investigating bug 1348259 etc, we use default charset via content-encoding. Example, when browsing Shift-JIS page, Japanese fonts is default font. But when browsing UTF-8 page, default font locale is OS locale setting now. We might be able to reference HTTP header (content-language, nsIDocument.GetContentLanguage) before usign OS locale setting.
Interesting idea. But be careful, HTTP header of some web servers may be a liar. So, we should refer it as just a hint, not trustable information. I mean, shouldn't override more trusable information such as lang attribute.
See Also: → 1511570
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.