[evolution/webkit: 74/100] Correctly resize images when printing
- From: Dan VrÃtil <dvratil src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/webkit: 74/100] Correctly resize images when printing
- Date: Thu, 5 Jan 2012 16:20:20 +0000 (UTC)
commit 15cb1b7be8c6b1ecf98ac8e0f11d524e866f584f
Author: Dan VrÃtil <dvratil redhat com>
Date: Fri Dec 2 14:14:02 2011 +0100
Correctly resize images when printing
mail/em-format-html.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/mail/em-format-html.c b/mail/em-format-html.c
index f9ee5be..6b1f849 100644
--- a/mail/em-format-html.c
+++ b/mail/em-format-html.c
@@ -634,7 +634,7 @@ efh_write_image (EMFormat *emf,
/* The image is already base64-encrypted so we can directly
paste it to the output */
- buffer = g_strdup_printf ("<img src=\"data:%s;base64,%s\" />",
+ buffer = g_strdup_printf ("<img src=\"data:%s;base64,%s\" style=\"max-width: 100%%;\" />",
puri->mime_type, content);
camel_stream_write_string (stream, buffer, cancellable, NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]