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

Text changes size randomly #59

Open
davidgiven opened this issue Feb 19, 2020 · 1 comment
Open

Text changes size randomly #59

davidgiven opened this issue Feb 19, 2020 · 1 comment

Comments

@davidgiven
Copy link

davidgiven commented Feb 19, 2020

Here's an image I just created:

out

...from this:

+----+ +----+
+ 3.0| | GND+
+----+ +----+  

...using:

java -jar /tmp/ditaa-0.11.0-standalone.jar x -o out.png -s 0.75

The 3.0 text and the GND text are different sizes --- if I render as SVG, I can see that the 3.0 is 10 point and the GND is 7 point. In the full diagram (of which this is a snippet) it all looks really weird. The -s 0.75 isn't necessary, but makes things a bit more obvious as the small text is much less bold than the large text.

This is on Debian with openjdk 11.0.6-ea 2020-01-14.

Do you know what's going on (and more importantly, how to stop it)?

@davidgiven
Copy link
Author

(edited post because I uploaded the wrong image...)

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

1 participant