Closed angelog0 closed 3 years ago
Unfortunately, there exists no way to change the fonts. The fonts are converted into paths in the generated svgs and the only way to change fonts is to handle them in the library behind mathematical.
Can we add a scaling factor? My equations seem very 'squished' vertically.
This seems like a duplicate of #45 and could be closed. There's some interesting info in that issue but it's a bit stale.
I wrote a document that uses
stem
equations and that I compile both withascidoctor
(to produce an HTML file) andasciidoctor-pdf
(to produce a PDF file). Withasciidoctor-pdf
I use the extensionasciidoctor-mathematical
andmathematical-format=svg
.Now in PDF output the font used for the equations is very poor. I am following this document. There is a section about the font in SVG images but I do not understand how to change the font for
stem
equations: it reports the example for font in diagram not instem
equations.In the following archive there are two example, one from an HTM file and one from a PDF file, to proof tha bad quality font in PDF.
font_demo.tar.gz
I would be grateful if you can suggest also a good font for that.
TIA, Angelo.