mathjax / MathJax-dev

Build and release tools for the MathJax project
www.mathjax.org
33 stars 26 forks source link

Update fonts #21

Closed pkra closed 3 years ago

pkra commented 7 years ago

When we get to work on font support tools, we check which fonts require regeneration, e.g., due to newer releases

flying-sheep commented 7 years ago

In short: Your “Latin Modern MathJax” is supposed to be a renamed “Latin Modern Math” (converted to WOFF). It has two bugs:

To circumvent this bug on Arch, you have to add the following to your fontconfig:

<fontconfig>
 ...
 <selectfont>
  <rejectfont>
   ...
   <glob>/usr/share/fonts/mathjax*/HTML-CSS/Latin-Modern/woff/*</glob>
  </rejectfont>
 </selectfont>
 ...
</fontconfig>
flying-sheep commented 4 years ago

Hi! Did you get around to this for MathJax 3?

dpvc commented 4 years ago

@flying-sheep, the font update for v3 is still in the future. Currently v3, only uses the MathJax TeX font, but the infrastructure is in place for better font support, but the code to create the needed data for any given font is not yet in place (the MathJax TeX data was created from the existing data in an ad hoc fashion). So this is still one of the big pieces yet to be created for v3, and it is high on the list for development in the coming year.

flying-sheep commented 4 years ago

Thank you for the clarification! Good to know this will be fixed eventually.

lilydjwg commented 3 years ago

Years have passed and the font in mathjax is still the ones that cause issues for Firefox...

dpvc commented 3 years ago

@lilydjwg, yes, the version 3 font update has taken longer than expected. I have been working on the font toolchain for several months, now, and will be making a release at the end go August that includes some updates.