pyvec / naucse

A server for open course material
Other
2 stars 9 forks source link

Make sure text in SVGs has the proper font #38

Closed encukou closed 4 years ago

encukou commented 4 years ago

“Naïve” SVGs don't display correctly if the user doesn't have fonts installed. This is tricky to spot from the author's computer :( See: https://github.com/pyvec/naucse.python.cz/issues/603

Approaches to consider:

encukou commented 4 years ago

If we end up using (and requiring) Inkscape, we should also export the images as optimized Plain SVG.

hroncok commented 4 years ago

Requiring Inkscape is tricky for "random" contributors.

encukou commented 4 years ago

OTOH, random contributors don't need his step.

hroncok commented 4 years ago

If we make it optional, correct.