diff options
author | John MacFarlane <fiddlosopher@gmail.com> | 2012-01-14 12:38:14 -0800 |
---|---|---|
committer | John MacFarlane <fiddlosopher@gmail.com> | 2012-01-14 12:38:14 -0800 |
commit | 28a043fe44bacb3e0e24b9f4e9402480d50d665a (patch) | |
tree | 6130c9de48ee3e8ed0f2640e77bf10c2a6cf9f1d /src/Text/Pandoc/MIME.hs | |
parent | 0d1740ea08c8e802d17687f670a6dc26d51ca427 (diff) | |
download | pandoc-28a043fe44bacb3e0e24b9f4e9402480d50d665a.tar.gz |
ODT writer now sizes images appropriately.
OpenDocument writer: a title like "123x467" is interpreted
as size in *points*.
ODT writer: while adding images to the archive, computes their
sizes and inserts a title attribute with the size before
calling opendocument writer.
Size is computed as follows:
size in points = size in pixels * 96 / 72
Diffstat (limited to 'src/Text/Pandoc/MIME.hs')
0 files changed, 0 insertions, 0 deletions