SVG monospace output has wrong font-family

0 votes
asked Jan 31 in bug by bbolli (160 points)
I'm not sure if this is a libbatik problem or not:

When I generate monospaced output using the Creole ""monospace"" syntax, the SVG font-family attribute is output as "monospaced" which renders in a proportional font in Firefox Nightly on macOS Sierra. Editing the font-family to "monospace" (note the dropped "d" at the end) in the SVG file fixes the display.

1 Answer

+1 vote
answered Feb 1 by plantuml (131,770 points)
selected Feb 1 by bbolli
 
Best answer
You are probably right : there should be no "d" at the end for "monospace".

Note that the "d" comes from the way Java names monospaced font (so with an ending "d").

Anyway, here is a beta that fixes the issue: https://dl.dropboxusercontent.com/u/13064071/plantuml.jar

Thanks for the report!
commented Feb 1 by bbolli (160 points)
Thanks, this beta works fine!
...