Re: DITAA SVG output & Fop
Posted by
mojavelinux on
URL: https://discuss.asciidoctor.org/DITAA-SVG-output-Fop-tp8111p8163.html
I'm pretty sure it is DITAA that's adding the <style> tag, not Asciidoctor Diagram. Asciidoctor Diagram merely delegates to DITAA. You could file an issue with asciidoctor-diagram to consider cleaning this tag if a certain compliance setting is set. Or you could see if DITAA would consider not emitting it.
It's really fop that's in the wrong here since technically that is a valid SVG.
Best Regards,
-Dan
On Sun, Jul 26, 2020 at 1:28 AM metro [via Asciidoctor :: Discussion] <
[hidden email]> wrote:
I am using asciidoctor-diagram and generate SVG output for a DITAA drawing.
The SVG rendering in Fop fails in 'createFontFace' and the the offending part of the SVG seems to be:
<style type="text/css">@font-face { font-family: sans-serif;}</style>
Removing this part makes Fop work.
Does anyone else see this problem?
Is there a way for asciidoctor-diagram to not define this style?
Thanks,
MT
--
--