-
Notifications
You must be signed in to change notification settings - Fork 359
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
SVG issue #350
Comments
danfickle
added a commit
that referenced
this issue
May 1, 2019
This work moves sizing of replaced objects form externally in each replaced object implementation to internally in the core code. This should reduce duplication and mean all sizing properties are available on each replaced object type. For example, now images have min-width and min-height as well as a border-box implementation. This work is published initially in a new branch because while there are good tests for images we need to test the new sizing code for all the other replaced object options such as SVG, PDF, custom, etc.
danfickle
added a commit
that referenced
this issue
May 6, 2019
Including min-width/min-height and border-box sizing. With test.
danfickle
added a commit
that referenced
this issue
Jun 13, 2019
We can now use unit values such as mm in the width/height attribute of SVG images. With tests.
danfickle
added a commit
that referenced
this issue
Jul 4, 2019
…mg tag. This is mostly a revert of d9cdd6a I forgot about external SVGs rather than inline SVGs where the width/height attribute are converted to CSS earlier in the render process.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
SVG layout is breaking.
am trying to print doughnut developed in SVG into PDF. below is my sample doughnut code:
<title>PDF</title>in each circle I updated "fill from "transparent" to "white" to get the center of donut white in color, other wise it is rendering to black.
issue1: fill = transparent is not working as expected
issue2: one of the cycles (mostly the last one ) "stroke-width" is failing to pick up
issue3: there is change in size of svg in html and pdf
am using
compile group: 'com.openhtmltopdf', name: 'openhtmltopdf-pdfbox', version: '0.0.1-RC19'
compile group: 'com.openhtmltopdf', name: 'openhtmltopdf-svg-support', version: '0.0.1-RC19'
below is my sample code:
PdfRendererBuilder builder = new PdfRendererBuilder();
The text was updated successfully, but these errors were encountered: