Do not rely on the presence of a MATH table to use typo metrics

RESOLVED FIXED in Firefox 43

Status

()

Core
Graphics: Text
RESOLVED FIXED
2 years ago
2 years ago

People

(Reporter: fredw, Assigned: fredw)

Tracking

Trunk
mozilla43
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(firefox41 affected, firefox43 fixed)

Details

(Whiteboard: [gfx-noted])

Attachments

(1 attachment)

(Assignee)

Description

2 years ago
In bug 947650, we made Unix platforms use typo metrics when the USE_TYPO_METRICS flag is set or when a MATH table is present. For Windows, this was done in bug 598900 but we relied only on the USE_TYPO_METRICS flags.

Today, the only remaining OpenType MATH font that misses the USE_TYPO_METRICS flag is STIX (and this issue is fixed in the STIX version in developement).

So we will eventually be able to remove the test for a MATH table and only rely on the USE_TYPO_METRICS flags on all platforms.
Whiteboard: [gfx-noted]
(Assignee)

Comment 1

2 years ago
Created attachment 8653346 [details] [diff] [review]
Patch
Assignee: nobody → fred.wang
Status: NEW → ASSIGNED
(Assignee)

Comment 2

2 years ago
https://treeherder.mozilla.org/#/jobs?repo=try&revision=83f8907ab9a0
(Assignee)

Updated

2 years ago
Attachment #8653346 - Flags: review?(karlt)
Attachment #8653346 - Flags: review?(karlt) → review+
(Assignee)

Updated

2 years ago
Keywords: checkin-needed

Comment 3

2 years ago
https://hg.mozilla.org/integration/mozilla-inbound/rev/9edc2be6aa22
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/9edc2be6aa22
Status: ASSIGNED → RESOLVED
Last Resolved: 2 years ago
status-firefox43: --- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla43
Blocks: 1220465
You need to log in before you can comment on or make changes to this bug.