Closed Bug 1208776 Opened 10 years ago Closed 3 years ago

Incorrect math rendering with old OpenType fonts after bug 1170782

Categories

(Core :: MathML, defect)

43 Branch
x86_64
Linux
defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: markus.popp, Unassigned)

References

Details

User Story

After bug 1170782, we only use the typo metrics when the USE_TYPO_METRICS bit is explicitly set (http://www.microsoft.com/typography/otspec/os2.htm#fss). This is not the case in some old versions of math fonts, causing excessive line spacing. Users and packagers must upgrade to the latest version.

Latin Modern Math:

Debian: Fixed in testing (https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=799731)
Ubuntu: Fixed in Xenial Xerus (https://bugs.launchpad.net/ubuntu/+source/lmodern/+bug/1502701)
Fedora: Fixed in version 24
openSuse: https://bugzilla.opensuse.org/show_bug.cgi?id=948624

Attachments

(2 files)

The square root sign is much too high in Firefox 43+ as you can see at http://jsfiddle.net/mpopp75/6d7dju8q/ Also the denominator of the fraction is too high so maybe the problem lays in displacing fractions.
Are you able to tell which math font you use? I suspect this is https://bugzilla.mozilla.org/show_bug.cgi?id=1170782 ; some old versions do not have the USE_TYPO_METRICS flag properly set.
I haven't set a font so it must be what Firefox (on Linux64) uses by default.
Attached file ascent-descent.html
Default fonts are at https://dxr.mozilla.org/mozilla-central/source/modules/libpref/init/all.js#1929 What do you get with this testcase? (You can also use the inspector on the <math> tag to check the font-family)
The font I used is Latin Modern Math. Other fonts (at least some) display nicely, like for example DejaVu Sans.
(In reply to Frédéric Wang (:fredw) from comment #5) > Some Linux distros (e.g. Debian) still have an old version: > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=799731 The bug just got closed in Debian sid today, so hopefully it will be the cases in other Debian-based distributions such as Ubuntu and Mint. Apparently, the latest build for Fedora 24 also have version 1.959 (http://koji.fedoraproject.org/koji/rpminfo?rpmID=6858749). I open an enhancement request in openSuse.
Summary: Math formula display issue in Firefox 43+ → Incorrect math rendering with old OpenType fonts after bug 1170782
User Story: (updated)
User Story: (updated)
User Story: (updated)
User Story: (updated)
User Story: (updated)
Severity: normal → S3

The severity field for this bug is relatively low, S3. However, the bug has 7 duplicates.
:emilio, could you consider increasing the bug severity?

For more information, please visit auto_nag documentation.

Flags: needinfo?(emilio)

Probably not a problem worth fixing if this is about the math fonts on the system.

Status: NEW → RESOLVED
Closed: 3 years ago
Flags: needinfo?(emilio)
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size:

OSZAR »