From: Frédéric W. <fre...@fr...> - 2015-05-08 16:51:48
|
The attached patch adds italic letters from the Mathematical Alphanumeric block into DejaVu Serif. This was done automatically by copying the BMP characters from DejaVu Serif Italic using https://github.com/fred-wang/MathFonts/blob/master/CheckFont.py (itself based on http://www.w3.org/TR/xml-entity-names/#alphabets). The italic letters are the most important for math because by default variables are in italic, but in follow up patches I can do that for bold, sans-serif etc and do the same for DejaVu Sans Serif... I know that DejaVu Serif Italic already contains these characters and that it is even done more cleanly by using references to the BMP letters rather than copying the glyphs. However, this method does not guarantee that they will be taken by a math rendering engine. At least, this does not work for the mathvariant implementation in Gecko (and probably other standard-compliant MathML engines) which first try to follow the spec by using Mathematical Alphanunumeric characters (from *any* font installed on the system), and otherwise fallback to the BMP of the italic face. -- Frédéric Wang maths-informatique-jeux.com/blog/frederic |