Closed Bug 1826412 Opened 1 year ago Closed 4 months ago

Improve Font Visibility Restrictions for Android

Categories

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

enhancement

Tracking

()

RESOLVED FIXED
124 Branch
Tracking Status
firefox124 --- fixed

People

(Reporter: tjr, Assigned: tjr)

References

(Blocks 3 open bugs)

Details

(Whiteboard: [fpp:m5])

Attachments

(5 files, 4 obsolete files)

Currently Android does not apply Font Visibility Restrictions (even if they are enabled) because it lacks a hardcoded list of preloaded fonts on any android devices.

Whiteboard: [fpp:m?]
Whiteboard: [fpp:m?] → [fpp:m5]
See Also: → 1836535
Assignee: nobody → tom
Depends on: 1858193
Attached file font-list.txt (obsolete) —

After a bunch of data spelunking, I've come up with the attached list of fonts for Android devices, separated by Android Release level. Chromebook and Amazon Fire devices will have a separate list though.

Attached file font-list.txt (obsolete) —
Attachment #9376096 - Attachment is obsolete: true
Attached file font-list.txt (obsolete) —
Attachment #9376102 - Attachment is obsolete: true
Attached file font-list.txt (obsolete) —
Attachment #9376332 - Attachment is obsolete: true
Attached file font-list.txt
Attachment #9376533 - Attachment is obsolete: true

This also adds debug information to about:support

Pushed by tritter@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/fc0f90aef845
Apply Font Visibility Restrictions to Android r=jfkthame
https://hg.mozilla.org/integration/autoland/rev/889c2c0ffd50
Do not apply Font Visbility Restrictions to Android in FPP by default r=tschuster
https://hg.mozilla.org/integration/autoland/rev/af653a9af72d
Rip out all the ugly and move it to nsIGfxInfo r=jfkthame,fluent-reviewers,flod
https://hg.mozilla.org/integration/autoland/rev/c11b5221fac4
Move the Linux Distro stuff to nsIGfxInfo also r=jfkthame

Oops; alright added a ClearOnShutdown.

Flags: needinfo?(tom)
Pushed by tritter@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/3e69e06c6fcc
Apply Font Visibility Restrictions to Android r=jfkthame
https://hg.mozilla.org/integration/autoland/rev/32b267d7fd31
Do not apply Font Visbility Restrictions to Android in FPP by default r=tschuster
https://hg.mozilla.org/integration/autoland/rev/a5f0b8602ce1
Rip out all the ugly and move it to nsIGfxInfo r=jfkthame,fluent-reviewers,flod
https://hg.mozilla.org/integration/autoland/rev/ef615f845f6a
Move the Linux Distro stuff to nsIGfxInfo also r=jfkthame
See Also: → 1878858
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: