diff options
author | Nickolay V. Shmyrev <nshmyrev@src.gnome.org> | 2005-08-24 15:45:12 (GMT) |
---|---|---|
committer | Nickolay V. Shmyrev <nshmyrev@src.gnome.org> | 2005-08-24 15:45:12 (GMT) |
commit | 5e43774b418b9ed521660463f912fa88809bd551 (patch) | |
tree | ee5e9605dfeb7eee60cbb2cdacbae97c3fe8b81b /dvi/dvi-document.c | |
parent | ff60f91c0e669564d5027a732a600c4894201c9d (diff) |
Update rotation direction of backends to fit with pdf and ps
Diffstat (limited to 'dvi/dvi-document.c')
-rw-r--r-- | dvi/dvi-document.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dvi/dvi-document.c b/dvi/dvi-document.c index 05bc5b6..1bb465c 100644 --- a/dvi/dvi-document.c +++ b/dvi/dvi-document.c @@ -191,7 +191,7 @@ dvi_document_render_pixbuf (EvDocument *document, g_mutex_unlock (dvi_context_mutex); - rotated_pixbuf = gdk_pixbuf_rotate_simple (pixbuf, rc->rotation); + rotated_pixbuf = gdk_pixbuf_rotate_simple (pixbuf, 360 - rc->rotation); g_object_unref (pixbuf); return rotated_pixbuf; @@ -321,7 +321,7 @@ dvi_document_thumbnails_get_thumbnail (EvDocumentThumbnails *document, } - rotated_pixbuf = gdk_pixbuf_rotate_simple (pixbuf, rotation); + rotated_pixbuf = gdk_pixbuf_rotate_simple (pixbuf, 360 - rotation); g_object_unref (pixbuf); return rotated_pixbuf; |