Open Bug 709159 Opened 13 years ago Updated 2 years ago

Need method to support MathML fonts without rooting the device

Categories

(Core :: Graphics, defect)

11 Branch
ARM
Android
defect

Tracking

()

People

(Reporter: wgianopoulos, Unassigned)

Details

Attachments

(2 files)

I think it would be nice to provide a methodology to add the fonts required for doing MathML on an Android device without having to install fonts in /system/fonts (which I believe would require rooting the device).

I think it should be nice to have a preference for alternate font location that would perhaps default to someplace (on Android) like /mnt/sdcard/.fonts or something else reasonable.

I am fairly certain this is NOT filed on the correct component purposely because I wanted to start on a component where the owners/peers would understand the issue.
I decided to move this to a more correct component and just CC the right people.  The idea here is to add a preference for an alternate font file location that is searched before the system location for all Operating systems (although the original issue was because the System location for fonts on Android is not writable by the device owner).
Component: MathML → Graphics
QA Contact: mathml → thebes
screenshhot showing MathML issue using system fonts
Attachment #580473 - Attachment description: MathML start pasge screenshot → MathML start page screenshot
Attachment #580473 - Attachment mime type: text/plain → image/jpeg
Attachment #580474 - Attachment description: MathMLTorture rest using system fonts → MathMLTorture test using system fonts
Attachment #580473 - Attachment description: MathML start page screenshot → MathML start page using system fonts
ISTR another bug report suggesting adding bin/res/fonts to the search path, for international text support.
We could detect when the user tries to view a page that uses MathML, and offer to download STIX fonts on the fly and save them (e.g. in the profile) so that they're available. See bug 619521 and bug 648548 for the international-text version of this; basically, math could be treated as another "script" for which we can fetch fonts on demand if the device doesn't have them available.
(In reply to Jonathan Kew (:jfkthame) from comment #6)

Thanks Jonathan. The Gecko Patch from bug 295193 provides a way to detect when MathML fonts are needed and could probably be used in combination with your UI patch from bug 648548.
Summary: Need method to support STIX or MathJax fonts without rooting the device → Need method to support MathML fonts without rooting the device
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: