-
Notifications
You must be signed in to change notification settings - Fork 32
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
In a headless linux environment svg fails #181
Comments
This is likely related to issue #145 |
Thanks for reporting this. I’ll have a look into it as soon as I can. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
An
IllegalArgumentException
is thrown with the following stack trace:the message from the Exception is :
To reproduce use a headless server or docker image (make sure it is actually headless)
This is how I used the writer (note that it works perfectly fine on windows):
try {
DrawableWriter writer = DrawableWriterFactory.getInstance().get("image/svg+xml");
writer.write(plot, outputStream, 1450, 538);
} catch (IOException e) {
e.printStackTrace();
}
The text was updated successfully, but these errors were encountered: