itext-java
itext-java copied to clipboard
SVG: Initial implementation of stroke-dasharray attribute
For now only absolute values are supported. Percents are not supported
This got raised in https://stackoverflow.com/questions/73276129/itext7-doesnt-convert-the-svg-image-to-pdf-properly
I tried my best but I know that it might still take more time to polish it to pass all the checks, sorry.
If you want to add some kind of a hook/trigger so that SonarQube checks are run for (at least some of the) PRs, I can take a look at fixing the SQ issues.
@Snipx Thanks for the implementation. This is giving expected results for dashed stroke array svg properties, When can we expect this to be delivered in itext7 library ?
Hello @Snipx , Could you please let us know when this stroke array implementation gets merged and released as maven ?
This pull request has been merged and the feature is now available in a snapshot version. Thank you, @Snipx . Also stroke-dashoffset is supported. https://github.com/itext/itext7/commit/4f2b6a09d50f861a4f18f665768d8c625b278c1f And percents are also supported, see commit https://github.com/itext/itext7/commit/e0b0a5d92ad61c58615f9c9f0b0f2229b1951988