Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ditaa svg output crashes Batik #366

Closed
metro69 opened this issue Aug 20, 2021 · 1 comment
Closed

ditaa svg output crashes Batik #366

metro69 opened this issue Aug 20, 2021 · 1 comment

Comments

@metro69
Copy link

metro69 commented Aug 20, 2021

The ditaa svg output adds the following style:

<style type='text/css'>@font-face {
  font-family: sans-serif;
}</style>

This crashes Batik in Apache Fop (i.e. in the docbook to pdf flow in Asciidoctor).

Is it possible to add an option to suppress adding this style?

Are there other options to make this work in Batik?

Thanks,
MT

@pepijnve
Copy link
Member

This is fixed in asciidoctor-diagram-ditaamini 1.0.1. That version will only output an @font-face rule if a font URL has been provided to ditaa.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants