[evolution/webkit] Correctly resize images when printing
- From: Dan VrÃtil <dvratil src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/webkit] Correctly resize images when printing
- Date: Fri, 2 Dec 2011 13:18:08 +0000 (UTC)
commit 261205e5f45a37278e70165a369248b21214529b
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 fba6bb9..ec09032 100644
--- a/mail/em-format-html.c
+++ b/mail/em-format-html.c
@@ -630,7 +630,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]