From c682c2c17f254f8a2ad8b758ea25599699a26446 Mon Sep 17 00:00:00 2001 From: chrysn Date: Tue, 15 Jul 2014 19:40:48 +0200 Subject: [PATCH] patch available --- ...image_rescaling_distorts_with_small_pictures.mdwn | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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]] -- 2.39.2