-
Notifications
You must be signed in to change notification settings - Fork 22
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
IllegalArgumentException thrown in DrawString method #31
Comments
rototor
added a commit
that referenced
this issue
Sep 28, 2021
I'll do a release with this fix later today. |
rototor
added a commit
that referenced
this issue
Sep 28, 2021
I've just released version 0.33 with the fix. |
Thank you very much. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Would it be possible to check
str
value indrawString(String str, float x, float y)
method which will prevent the following IllegalArgumentException?java.lang.IllegalArgumentException: Can`t add attribute to 0-length text at java.base/java.text.AttributedString.addAttribute(AttributedString.java:322)
Thank you very much.
pdfbox-graphics2d/graphics2d/src/main/java/de/rototor/pdfbox/graphics2d/PdfBoxGraphics2D.java
Line 538 in 7a9a7c0
The text was updated successfully, but these errors were encountered: