aboutsummaryrefslogtreecommitdiff
path: root/test/docx/golden/custom_style_no_reference.docx
diff options
context:
space:
mode:
authorNils Carlson <pyssling@ludd.ltu.se>2018-09-07 23:37:21 +0000
committerJohn MacFarlane <jgm@berkeley.edu>2018-09-07 16:37:21 -0700
commit12cec8f08233ea5836af77aff27771b800a35ce7 (patch)
tree15203e2ae09fcdadadd4df07e7db439faed109bb /test/docx/golden/custom_style_no_reference.docx
parent0178544ebed570bb6a0f91bf8fed3b87b2d22373 (diff)
downloadpandoc-12cec8f08233ea5836af77aff27771b800a35ce7.tar.gz
Fix percentage image scaling in ODT (#4881)
Image scaling in ODT was broken when a width was set to a percentage. The width was passed to the svg:width field as a pecentage, which is not correct according to the ODT standard. Instead the real dimensions should be passed as width and height and the style:rel-width attribute should be set to the percentage while style:rel-heigh attribute should be set to "scale". The converse is true if a percentage height is given. This is now fixed and documents produced are now properly scaled.
Diffstat (limited to 'test/docx/golden/custom_style_no_reference.docx')
0 files changed, 0 insertions, 0 deletions