Open rahmanusta opened 10 years ago
I believe you need to set the scaledwidth attribute in AsciiDoc. The scaledwidth applies only to the PDF output.
You can dig into more of how fopub calculates the image width by deciphering this template:
https://github.com/asciidoctor/asciidoctor-fopub/blob/master/src/dist/docbook-xsl/fo-pdf.xsl#L429
I tried now scalewidth, scalefit="1", width="100%", and contentdepth="100%" in various combinations. Unfortunately without success. Then I produced new png images with a resolution of 300DPI. No effect, all images are the size as shown by @rahmanusta above
When converting docbook to pdf with fopub, everything is ok but images are small. When i give width imagedata element in docbook, texts overlaps images. How can i solve this?