Closed Bug 427659 Opened 16 years ago Closed 16 years ago

some combining marks (for accents) are invisible

Categories

(Core :: MathML, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla1.9

People

(Reporter: karlt, Assigned: karlt)

References

Details

(Keywords: regression, testcase)

Attachments

(2 files)

Attached file testcase
Combining marks in many fonts have zero advance width (and sometimes very negative leftbearing), but these marks are often used alone in text frames for MathML accents.

In the testcase, the spacing character U+005E CIRCUMFLEX ACCENT (above the right "a") renders fine, but U+0302 COMBINING CIRCUMFLEX ACCENT (above the left "a") is not rendered.  For some accents there is only the combining character (no spacing character).
Flags: blocking1.9?
This fixes the MathML use cases.
Attachment #314220 - Flags: review?(roc)
Keywords: testcase
Comment on attachment 314220 [details] [diff] [review]
use text-rendering:optimizeLegibility

good call!
Attachment #314220 - Flags: superreview+
Attachment #314220 - Flags: review?(roc)
Attachment #314220 - Flags: review+
Not a blocker, but would take the patch.
Flags: wanted1.9.0.x+
Flags: blocking1.9?
Flags: blocking1.9-
Comment on attachment 314220 [details] [diff] [review]
use text-rendering:optimizeLegibility

(In reply to comment #3)
> but would take the patch.

Should I interpret that as approval1.9?

The patch only affects MathML.  The only risk I can imagine is that it uses
some different code paths and thus might show some bugs that would otherwise
have only shown at larger font sizes.

Re testing: we could check something is displayed for the accents in a reftest
by comparing an accent against a blank or by comparing the same base char with
two different color accents and make sure they render differently.  (I could
do that after code freeze.)
Attachment #314220 - Flags: approval1.9?
Ok, approving, but need to get that test in ASAP (i.e., < 24 hours after freeze).
Comment on attachment 314220 [details] [diff] [review]
use text-rendering:optimizeLegibility

a1.9+=damons
Attachment #314220 - Flags: approval1.9? → approval1.9+
Target Milestone: --- → mozilla1.9
Flags: wanted1.9.0.x+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: