SVG Font Render Test
by qubodup - uploaded on August 2, 2025, 2:02 pm
Four different methods of displaying text in SVG: local file, web font, embedded (using pyftsubset) and converted to path.
Top left (local font) is supposed to fail unless you have FifteenTwenty.otf in the same folder. Then it works in Chrome (but not in Inkscape). Top right (web font) should work. Bottom left (embedded) should work. Bottom right (path) has to work.
I'm excited to see what the results are on Openclipart. [edit: I did not expect all 3 to fail. Interestingly, text seems to work in https://openclipart.org/detail/263275/text-into-frame - perhaps it will work when not specifying a font or using something like "font-family: Sans" (which is what the text into frame example does).
The test is imperfect, the bottom two headers are bolder that the top ones but I gave up on fixing the code generating this sample. Next test shall be better.
Font used is CC0 FIFTEENTWENTY from https://fontlibrary.org/en/font/fifteentwenty
5 Comments. Please login to comment or add your own remix.