Closed Bug 1287068 Opened 8 years ago Closed 8 years ago

Add Libertinus and DejaVu to the list of math fonts

Categories

(Core :: MathML, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla50
Tracking Status
firefox50 --- fixed

People

(Reporter: fredw, Assigned: fredw)

References

Details

Attachments

(1 file)

See the upstream repos:

https://github.com/khaledhosny/libertinus/releases (fork of Libertine)
https://github.com/dejavu-fonts/dejavu-fonts/releases (has a new math font)

Libertine and DejaVu are popular on Linux systems (and often pre-installed). I think DejaVu is also bundled in LibreOffice. So I guess we should add them to our x-math list to increase the chance to find a math font.
Attached patch PatchSplinter Review
Assignee: nobody → fred.wang
Status: NEW → ASSIGNED
Attachment #8771350 - Flags: review?(jkitch.bug)
Comment on attachment 8771350 [details] [diff] [review]
Patch

Review of attachment 8771350 [details] [diff] [review]:
-----------------------------------------------------------------

::: modules/libpref/init/all.js
@@ +2061,5 @@
>  pref("intl.hyphenation-alias.nb-*", "nb");
>  pref("intl.hyphenation-alias.nn-*", "nn");
>  
>  pref("font.name.serif.x-math", "Latin Modern Math");
> +pref("font.name-list.serif.x-math", "Latin Modern Math, XITS Math, Cambria Math, Libertinus Math, DejaVu Math TeX Gyre, TeX Gyre Bonum Math, TeX Gyre Pagella Math, TeX Gyre Schola, TeX Gyre Termes Math, STIX Math, Asana Math, STIXGeneral, DejaVu Serif, DejaVu Sans, serif");

"DejaVu Math TeX Gyre" seems to also be referred to as "Tex Gyre DejaVu Math".

Is the former the definitive name?

R+, but double check that only the first variant is needed.
Attachment #8771350 - Flags: review?(jkitch.bug) → review+
(In reply to James Kitchener (:jkitch) from comment #2)
> "DejaVu Math TeX Gyre" seems to also be referred to as "Tex Gyre DejaVu
> Math".
> 
> Is the former the definitive name?
> 
> R+, but double check that only the first variant is needed.

It's "DejaVu Math TeX Gyre" for the font distributed by the DejaVu project (which I believe is more likely to be installed on systems and on which we would have more easy way to submit patches) while it is "TeX Gyre DejaVu Math" for the one distributed by the GUST e-foundry group.
Pushed by cbook@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/6ed62e6074af
Add Libertinus and DejaVu to the list of math fonts. r=jkitch
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/6ed62e6074af
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla50
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: