From: chrysn Date: Tue, 15 Jul 2014 17:40:48 +0000 (+0200) Subject: patch available X-Git-Tag: debian/3.20140815~27^2~2 X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/commitdiff_plain/c682c2c17f254f8a2ad8b758ea25599699a26446?ds=sidebyside;hp=-c patch available --- c682c2c17f254f8a2ad8b758ea25599699a26446 diff --git a/doc/bugs/image_rescaling_distorts_with_small_pictures.mdwn b/doc/bugs/image_rescaling_distorts_with_small_pictures.mdwn index 6eff2df07..c74818a46 100644 --- a/doc/bugs/image_rescaling_distorts_with_small_pictures.mdwn +++ b/doc/bugs/image_rescaling_distorts_with_small_pictures.mdwn @@ -10,3 +10,15 @@ If you use the rescaling feature of the directive [[ikiwiki/directive/img/]] wit > && ((width > desired width) || (height > desired height)), > it uses exactly the desired size, without preserving aspect ratio. > --smcv + +>> [[!template id=gitbranch branch=chrysn/imgforpdf-and-more author="[[chrysn]]"]] +>> +>> [[!tag patch]] +>> +>> i've implemented a fix for this along with a unit test. +>> +>> the patch branch is based on the imgforpdf branch +>> ([[bugs/svg and pdf conversion fails]]), because it would not cleanly merge. +>> the branch also enhances on how images are handled in preview, falling back +>> to data: urls if the image has not been rendered in a saved version. please +>> review. --[[chrysn]]