MathJax-node icon indicating copy to clipboard operation
MathJax-node copied to clipboard

Support custom fonts

Open kobras8 opened this issue 10 years ago • 3 comments

Hi, do you have any plan to support other Unicode fonts or approaches to generate custom fonts by given *ttf format file.

kobras8 avatar Mar 20 '15 03:03 kobras8

This would be difficult since MathJax-node is a wrapper around MathJax and generic font support is not possible in the browser, see http://docs.mathjax.org/en/latest/font-support.html for some of the problems.

pkra avatar Mar 20 '15 09:03 pkra

Marking this as a feature request (though it's not in our backlog). For those interested, a potential starting point might be opentype.js to read out font metrics or hook up our developer tools for extracting font metrics. But there are likely a lot of caveats (fonts are messy, math fonts even more so).

pkra avatar Aug 06 '15 12:08 pkra

It seems unlikely that this will be fixed here -- MathJax v3 (cf. #375) will have revamped font tools which might enable this.

pkra avatar Feb 05 '18 09:02 pkra