Commit 98510e74 authored by Sebastian Ramacher's avatar Sebastian Ramacher

Try printing to the cairo object first

parent e6f77735
...@@ -4,8 +4,8 @@ ...@@ -4,8 +4,8 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: zathura\n" "Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: http://bugs.pwmt.org\n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2012-11-21 23:42+0100\n" "POT-Creation-Date: 2012-12-06 21:00+0100\n"
"PO-Revision-Date: 2012-06-19 23:59+0200\n" "PO-Revision-Date: 2012-06-19 23:59+0200\n"
"Last-Translator: Martin Pelikan <pelikan@storkhole.cz>\n" "Last-Translator: Martin Pelikan <pelikan@storkhole.cz>\n"
"Language-Team: pwmt.org <mail@pwmt.org>\n" "Language-Team: pwmt.org <mail@pwmt.org>\n"
...@@ -26,8 +26,8 @@ msgstr "Neplatný index: %s" ...@@ -26,8 +26,8 @@ msgstr "Neplatný index: %s"
#: ../commands.c:35 ../commands.c:70 ../commands.c:97 ../commands.c:139 #: ../commands.c:35 ../commands.c:70 ../commands.c:97 ../commands.c:139
#: ../commands.c:253 ../commands.c:283 ../commands.c:309 ../commands.c:401 #: ../commands.c:253 ../commands.c:283 ../commands.c:309 ../commands.c:401
#: ../commands.c:522 ../shortcuts.c:456 ../shortcuts.c:1020 #: ../commands.c:522 ../shortcuts.c:456 ../shortcuts.c:1030
#: ../shortcuts.c:1049 #: ../shortcuts.c:1059
msgid "No document opened." msgid "No document opened."
msgstr "Není otevřený žádný dokument." msgstr "Není otevřený žádný dokument."
...@@ -412,7 +412,7 @@ msgstr "Zkopíruj obrázek" ...@@ -412,7 +412,7 @@ msgstr "Zkopíruj obrázek"
msgid "Save image as" msgid "Save image as"
msgstr "Ulož obrázek jako" msgstr "Ulož obrázek jako"
#: ../shortcuts.c:923 #: ../shortcuts.c:933
msgid "This document does not contain any index" msgid "This document does not contain any index"
msgstr "Tenhle dokument neobsahuje žádné indexy" msgstr "Tenhle dokument neobsahuje žádné indexy"
......
...@@ -5,8 +5,8 @@ ...@@ -5,8 +5,8 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: zathura\n" "Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: http://bugs.pwmt.org\n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2012-11-21 23:42+0100\n" "POT-Creation-Date: 2012-12-06 21:00+0100\n"
"PO-Revision-Date: 2012-08-05 16:08+0100\n" "PO-Revision-Date: 2012-08-05 16:08+0100\n"
"Last-Translator: Sebastian Ramacher <sebastian+dev@ramacher.at>\n" "Last-Translator: Sebastian Ramacher <sebastian+dev@ramacher.at>\n"
"Language-Team: pwmt.org <mail@pwmt.org>\n" "Language-Team: pwmt.org <mail@pwmt.org>\n"
...@@ -28,8 +28,8 @@ msgstr "Ungültiger Index '%s' angegeben." ...@@ -28,8 +28,8 @@ msgstr "Ungültiger Index '%s' angegeben."
#: ../commands.c:35 ../commands.c:70 ../commands.c:97 ../commands.c:139 #: ../commands.c:35 ../commands.c:70 ../commands.c:97 ../commands.c:139
#: ../commands.c:253 ../commands.c:283 ../commands.c:309 ../commands.c:401 #: ../commands.c:253 ../commands.c:283 ../commands.c:309 ../commands.c:401
#: ../commands.c:522 ../shortcuts.c:456 ../shortcuts.c:1020 #: ../commands.c:522 ../shortcuts.c:456 ../shortcuts.c:1030
#: ../shortcuts.c:1049 #: ../shortcuts.c:1059
msgid "No document opened." msgid "No document opened."
msgstr "Kein Dokument geöffnet." msgstr "Kein Dokument geöffnet."
...@@ -417,7 +417,7 @@ msgstr "Bild kopieren" ...@@ -417,7 +417,7 @@ msgstr "Bild kopieren"
msgid "Save image as" msgid "Save image as"
msgstr "Bild speichern als" msgstr "Bild speichern als"
#: ../shortcuts.c:923 #: ../shortcuts.c:933
msgid "This document does not contain any index" msgid "This document does not contain any index"
msgstr "Dieses Dokument beinhaltet kein Inhaltsverzeichnis." msgstr "Dieses Dokument beinhaltet kein Inhaltsverzeichnis."
......
...@@ -6,8 +6,8 @@ ...@@ -6,8 +6,8 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: zathura\n" "Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: http://bugs.pwmt.org\n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2012-11-21 23:42+0100\n" "POT-Creation-Date: 2012-12-06 21:00+0100\n"
"PO-Revision-Date: 2012-08-09 13:21+0000\n" "PO-Revision-Date: 2012-08-09 13:21+0000\n"
"Last-Translator: norbux <manelsales@ono.com>\n" "Last-Translator: norbux <manelsales@ono.com>\n"
"Language-Team: Esperanto (http://www.transifex.com/projects/p/zathura/" "Language-Team: Esperanto (http://www.transifex.com/projects/p/zathura/"
...@@ -30,8 +30,8 @@ msgstr "Nevalida indekso '%s' uzata." ...@@ -30,8 +30,8 @@ msgstr "Nevalida indekso '%s' uzata."
#: ../commands.c:35 ../commands.c:70 ../commands.c:97 ../commands.c:139 #: ../commands.c:35 ../commands.c:70 ../commands.c:97 ../commands.c:139
#: ../commands.c:253 ../commands.c:283 ../commands.c:309 ../commands.c:401 #: ../commands.c:253 ../commands.c:283 ../commands.c:309 ../commands.c:401
#: ../commands.c:522 ../shortcuts.c:456 ../shortcuts.c:1020 #: ../commands.c:522 ../shortcuts.c:456 ../shortcuts.c:1030
#: ../shortcuts.c:1049 #: ../shortcuts.c:1059
msgid "No document opened." msgid "No document opened."
msgstr "Neniu dokumento malfermita." msgstr "Neniu dokumento malfermita."
...@@ -416,7 +416,7 @@ msgstr "Kopiu bildon" ...@@ -416,7 +416,7 @@ msgstr "Kopiu bildon"
msgid "Save image as" msgid "Save image as"
msgstr "Savi bildojn kiel" msgstr "Savi bildojn kiel"
#: ../shortcuts.c:923 #: ../shortcuts.c:933
msgid "This document does not contain any index" msgid "This document does not contain any index"
msgstr "Ĉi-tiu dokumento enhavas neniam indekson." msgstr "Ĉi-tiu dokumento enhavas neniam indekson."
......
...@@ -5,8 +5,8 @@ ...@@ -5,8 +5,8 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: zathura\n" "Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: http://bugs.pwmt.org\n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2012-11-21 23:42+0100\n" "POT-Creation-Date: 2012-12-06 21:00+0100\n"
"PO-Revision-Date: 2012-04-03 15:25+0000\n" "PO-Revision-Date: 2012-04-03 15:25+0000\n"
"Last-Translator: Moritz Lipp <mlq@pwmt.org>\n" "Last-Translator: Moritz Lipp <mlq@pwmt.org>\n"
"Language-Team: Spanish (Castilian) (http://www.transifex.net/projects/p/" "Language-Team: Spanish (Castilian) (http://www.transifex.net/projects/p/"
...@@ -29,8 +29,8 @@ msgstr "Índice invalido: '%s'." ...@@ -29,8 +29,8 @@ msgstr "Índice invalido: '%s'."
#: ../commands.c:35 ../commands.c:70 ../commands.c:97 ../commands.c:139 #: ../commands.c:35 ../commands.c:70 ../commands.c:97 ../commands.c:139
#: ../commands.c:253 ../commands.c:283 ../commands.c:309 ../commands.c:401 #: ../commands.c:253 ../commands.c:283 ../commands.c:309 ../commands.c:401
#: ../commands.c:522 ../shortcuts.c:456 ../shortcuts.c:1020 #: ../commands.c:522 ../shortcuts.c:456 ../shortcuts.c:1030
#: ../shortcuts.c:1049 #: ../shortcuts.c:1059
msgid "No document opened." msgid "No document opened."
msgstr "Ningún documento abierto." msgstr "Ningún documento abierto."
...@@ -417,7 +417,7 @@ msgstr "Copiar imagen" ...@@ -417,7 +417,7 @@ msgstr "Copiar imagen"
msgid "Save image as" msgid "Save image as"
msgstr "Salvar imagen como" msgstr "Salvar imagen como"
#: ../shortcuts.c:923 #: ../shortcuts.c:933
msgid "This document does not contain any index" msgid "This document does not contain any index"
msgstr "Este documento no contiene ningún índice" msgstr "Este documento no contiene ningún índice"
......
...@@ -6,8 +6,8 @@ ...@@ -6,8 +6,8 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: zathura\n" "Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: http://bugs.pwmt.org\n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2012-11-21 23:42+0100\n" "POT-Creation-Date: 2012-12-06 21:00+0100\n"
"PO-Revision-Date: 2012-04-03 15:26+0000\n" "PO-Revision-Date: 2012-04-03 15:26+0000\n"
"Last-Translator: watsh1ken <wat.sh1ken@gmail.com>\n" "Last-Translator: watsh1ken <wat.sh1ken@gmail.com>\n"
"Language-Team: Spanish (Chile) (http://www.transifex.net/projects/p/zathura/" "Language-Team: Spanish (Chile) (http://www.transifex.net/projects/p/zathura/"
...@@ -30,8 +30,8 @@ msgstr "Índice invalido: '%s'." ...@@ -30,8 +30,8 @@ msgstr "Índice invalido: '%s'."
#: ../commands.c:35 ../commands.c:70 ../commands.c:97 ../commands.c:139 #: ../commands.c:35 ../commands.c:70 ../commands.c:97 ../commands.c:139
#: ../commands.c:253 ../commands.c:283 ../commands.c:309 ../commands.c:401 #: ../commands.c:253 ../commands.c:283 ../commands.c:309 ../commands.c:401
#: ../commands.c:522 ../shortcuts.c:456 ../shortcuts.c:1020 #: ../commands.c:522 ../shortcuts.c:456 ../shortcuts.c:1030
#: ../shortcuts.c:1049 #: ../shortcuts.c:1059
msgid "No document opened." msgid "No document opened."
msgstr "Ningún documento abierto." msgstr "Ningún documento abierto."
...@@ -417,7 +417,7 @@ msgstr "Copiar imagen" ...@@ -417,7 +417,7 @@ msgstr "Copiar imagen"
msgid "Save image as" msgid "Save image as"
msgstr "" msgstr ""
#: ../shortcuts.c:923 #: ../shortcuts.c:933
msgid "This document does not contain any index" msgid "This document does not contain any index"
msgstr "Este document no contiene índice" msgstr "Este document no contiene índice"
......
...@@ -6,8 +6,8 @@ ...@@ -6,8 +6,8 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: zathura\n" "Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: http://bugs.pwmt.org\n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2012-11-21 23:42+0100\n" "POT-Creation-Date: 2012-12-06 21:00+0100\n"
"PO-Revision-Date: 2012-04-03 15:25+0000\n" "PO-Revision-Date: 2012-04-03 15:25+0000\n"
"Last-Translator: Rivo Zängov <eraser@eraser.ee>\n" "Last-Translator: Rivo Zängov <eraser@eraser.ee>\n"
"Language-Team: Estonian (http://www.transifex.net/projects/p/zathura/" "Language-Team: Estonian (http://www.transifex.net/projects/p/zathura/"
...@@ -30,8 +30,8 @@ msgstr "" ...@@ -30,8 +30,8 @@ msgstr ""
#: ../commands.c:35 ../commands.c:70 ../commands.c:97 ../commands.c:139 #: ../commands.c:35 ../commands.c:70 ../commands.c:97 ../commands.c:139
#: ../commands.c:253 ../commands.c:283 ../commands.c:309 ../commands.c:401 #: ../commands.c:253 ../commands.c:283 ../commands.c:309 ../commands.c:401
#: ../commands.c:522 ../shortcuts.c:456 ../shortcuts.c:1020 #: ../commands.c:522 ../shortcuts.c:456 ../shortcuts.c:1030
#: ../shortcuts.c:1049 #: ../shortcuts.c:1059
msgid "No document opened." msgid "No document opened."
msgstr "" msgstr ""
...@@ -416,7 +416,7 @@ msgstr "Kopeeri pilt" ...@@ -416,7 +416,7 @@ msgstr "Kopeeri pilt"
msgid "Save image as" msgid "Save image as"
msgstr "" msgstr ""
#: ../shortcuts.c:923 #: ../shortcuts.c:933
msgid "This document does not contain any index" msgid "This document does not contain any index"
msgstr "" msgstr ""
......
...@@ -8,8 +8,8 @@ ...@@ -8,8 +8,8 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: zathura\n" "Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: http://bugs.pwmt.org\n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2012-11-21 23:42+0100\n" "POT-Creation-Date: 2012-12-06 21:00+0100\n"
"PO-Revision-Date: 2012-12-06 11:48+0100\n" "PO-Revision-Date: 2012-12-06 11:48+0100\n"
"Last-Translator: Benoît Knecht <benoit.knecht@gmail.com>\n" "Last-Translator: Benoît Knecht <benoit.knecht@gmail.com>\n"
"Language-Team: French (http://www.transifex.com/projects/p/zathura/language/" "Language-Team: French (http://www.transifex.com/projects/p/zathura/language/"
...@@ -32,8 +32,8 @@ msgstr "Index invalide : '%s'" ...@@ -32,8 +32,8 @@ msgstr "Index invalide : '%s'"
#: ../commands.c:35 ../commands.c:70 ../commands.c:97 ../commands.c:139 #: ../commands.c:35 ../commands.c:70 ../commands.c:97 ../commands.c:139
#: ../commands.c:253 ../commands.c:283 ../commands.c:309 ../commands.c:401 #: ../commands.c:253 ../commands.c:283 ../commands.c:309 ../commands.c:401
#: ../commands.c:522 ../shortcuts.c:456 ../shortcuts.c:1020 #: ../commands.c:522 ../shortcuts.c:456 ../shortcuts.c:1030
#: ../shortcuts.c:1049 #: ../shortcuts.c:1059
msgid "No document opened." msgid "No document opened."
msgstr "Aucun document ouvert." msgstr "Aucun document ouvert."
...@@ -219,8 +219,8 @@ msgstr "Recoloriser les pages" ...@@ -219,8 +219,8 @@ msgstr "Recoloriser les pages"
#: ../config.c:172 #: ../config.c:172
msgid "When recoloring keep original hue and adjust lightness only" msgid "When recoloring keep original hue and adjust lightness only"
msgstr "" msgstr ""
"Lors de la recoloration garder la teinte d'origine et ajuster " "Lors de la recoloration garder la teinte d'origine et ajuster seulement la "
"seulement la luminosité" "luminosité"
#: ../config.c:174 #: ../config.c:174
msgid "Wrap scrolling" msgid "Wrap scrolling"
...@@ -420,7 +420,7 @@ msgstr "Copier l'image" ...@@ -420,7 +420,7 @@ msgstr "Copier l'image"
msgid "Save image as" msgid "Save image as"
msgstr "Enregistrer l'image sous" msgstr "Enregistrer l'image sous"
#: ../shortcuts.c:923 #: ../shortcuts.c:933
msgid "This document does not contain any index" msgid "This document does not contain any index"
msgstr "Ce document ne contient pas d'index" msgstr "Ce document ne contient pas d'index"
......
...@@ -6,8 +6,8 @@ ...@@ -6,8 +6,8 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: zathura\n" "Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: http://bugs.pwmt.org\n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2012-11-21 23:42+0100\n" "POT-Creation-Date: 2012-12-06 21:00+0100\n"
"PO-Revision-Date: 2012-06-20 14:58+0000\n" "PO-Revision-Date: 2012-06-20 14:58+0000\n"
"Last-Translator: Sebastian Ramacher <sebastian+dev@ramacher.at>\n" "Last-Translator: Sebastian Ramacher <sebastian+dev@ramacher.at>\n"
"Language-Team: Italian (http://www.transifex.com/projects/p/zathura/language/" "Language-Team: Italian (http://www.transifex.com/projects/p/zathura/language/"
...@@ -30,8 +30,8 @@ msgstr "Indice inserito '%s' non valido." ...@@ -30,8 +30,8 @@ msgstr "Indice inserito '%s' non valido."
#: ../commands.c:35 ../commands.c:70 ../commands.c:97 ../commands.c:139 #: ../commands.c:35 ../commands.c:70 ../commands.c:97 ../commands.c:139
#: ../commands.c:253 ../commands.c:283 ../commands.c:309 ../commands.c:401 #: ../commands.c:253 ../commands.c:283 ../commands.c:309 ../commands.c:401
#: ../commands.c:522 ../shortcuts.c:456 ../shortcuts.c:1020 #: ../commands.c:522 ../shortcuts.c:456 ../shortcuts.c:1030
#: ../shortcuts.c:1049 #: ../shortcuts.c:1059
msgid "No document opened." msgid "No document opened."
msgstr "Nessun documento aperto." msgstr "Nessun documento aperto."
...@@ -416,7 +416,7 @@ msgstr "Copia immagine" ...@@ -416,7 +416,7 @@ msgstr "Copia immagine"
msgid "Save image as" msgid "Save image as"
msgstr "" msgstr ""
#: ../shortcuts.c:923 #: ../shortcuts.c:933
msgid "This document does not contain any index" msgid "This document does not contain any index"
msgstr "Questo documento non contiene l' indice" msgstr "Questo documento non contiene l' indice"
......
...@@ -6,8 +6,8 @@ ...@@ -6,8 +6,8 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: zathura\n" "Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: http://bugs.pwmt.org\n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2012-11-21 23:42+0100\n" "POT-Creation-Date: 2012-12-06 21:00+0100\n"
"PO-Revision-Date: 2012-04-03 16:07+0000\n" "PO-Revision-Date: 2012-04-03 16:07+0000\n"
"Last-Translator: p <poczciwiec@gmail.com>\n" "Last-Translator: p <poczciwiec@gmail.com>\n"
"Language-Team: Polish (http://www.transifex.net/projects/p/zathura/language/" "Language-Team: Polish (http://www.transifex.net/projects/p/zathura/language/"
...@@ -31,8 +31,8 @@ msgstr "Nieprawidłowy indeks: %s" ...@@ -31,8 +31,8 @@ msgstr "Nieprawidłowy indeks: %s"
#: ../commands.c:35 ../commands.c:70 ../commands.c:97 ../commands.c:139 #: ../commands.c:35 ../commands.c:70 ../commands.c:97 ../commands.c:139
#: ../commands.c:253 ../commands.c:283 ../commands.c:309 ../commands.c:401 #: ../commands.c:253 ../commands.c:283 ../commands.c:309 ../commands.c:401
#: ../commands.c:522 ../shortcuts.c:456 ../shortcuts.c:1020 #: ../commands.c:522 ../shortcuts.c:456 ../shortcuts.c:1030
#: ../shortcuts.c:1049 #: ../shortcuts.c:1059
msgid "No document opened." msgid "No document opened."
msgstr "Nie otwarto żadnego pliku" msgstr "Nie otwarto żadnego pliku"
...@@ -417,7 +417,7 @@ msgstr "Skopiuj obrazek" ...@@ -417,7 +417,7 @@ msgstr "Skopiuj obrazek"
msgid "Save image as" msgid "Save image as"
msgstr "Zapisz obrazek jako" msgstr "Zapisz obrazek jako"
#: ../shortcuts.c:923 #: ../shortcuts.c:933
msgid "This document does not contain any index" msgid "This document does not contain any index"
msgstr "Dokument nie zawiera indeksu" msgstr "Dokument nie zawiera indeksu"
......
...@@ -6,8 +6,8 @@ ...@@ -6,8 +6,8 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: zathura\n" "Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: http://bugs.pwmt.org\n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2012-11-21 23:42+0100\n" "POT-Creation-Date: 2012-12-06 21:00+0100\n"
"PO-Revision-Date: 2012-06-20 14:58+0000\n" "PO-Revision-Date: 2012-06-20 14:58+0000\n"
"Last-Translator: Sebastian Ramacher <sebastian+dev@ramacher.at>\n" "Last-Translator: Sebastian Ramacher <sebastian+dev@ramacher.at>\n"
"Language-Team: Russian (http://www.transifex.com/projects/p/zathura/language/" "Language-Team: Russian (http://www.transifex.com/projects/p/zathura/language/"
...@@ -31,8 +31,8 @@ msgstr "Получен неверный индекс %s" ...@@ -31,8 +31,8 @@ msgstr "Получен неверный индекс %s"
#: ../commands.c:35 ../commands.c:70 ../commands.c:97 ../commands.c:139 #: ../commands.c:35 ../commands.c:70 ../commands.c:97 ../commands.c:139
#: ../commands.c:253 ../commands.c:283 ../commands.c:309 ../commands.c:401 #: ../commands.c:253 ../commands.c:283 ../commands.c:309 ../commands.c:401
#: ../commands.c:522 ../shortcuts.c:456 ../shortcuts.c:1020 #: ../commands.c:522 ../shortcuts.c:456 ../shortcuts.c:1030
#: ../shortcuts.c:1049 #: ../shortcuts.c:1059
msgid "No document opened." msgid "No document opened."
msgstr "Документ не открыт" msgstr "Документ не открыт"
...@@ -417,7 +417,7 @@ msgstr "Скопировать изображение" ...@@ -417,7 +417,7 @@ msgstr "Скопировать изображение"
msgid "Save image as" msgid "Save image as"
msgstr "" msgstr ""
#: ../shortcuts.c:923 #: ../shortcuts.c:933
msgid "This document does not contain any index" msgid "This document does not contain any index"
msgstr "В документе нету индекса" msgstr "В документе нету индекса"
......
...@@ -6,8 +6,8 @@ ...@@ -6,8 +6,8 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: zathura\n" "Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: http://bugs.pwmt.org\n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2012-11-21 23:42+0100\n" "POT-Creation-Date: 2012-12-06 21:00+0100\n"
"PO-Revision-Date: 2012-04-03 15:25+0000\n" "PO-Revision-Date: 2012-04-03 15:25+0000\n"
"Last-Translator: mankand007 <mankand007@gmail.com>\n" "Last-Translator: mankand007 <mankand007@gmail.com>\n"
"Language-Team: Tamil (India) (http://www.transifex.net/projects/p/zathura/" "Language-Team: Tamil (India) (http://www.transifex.net/projects/p/zathura/"
...@@ -30,8 +30,8 @@ msgstr "கொடுக்கப்பட்ட index '%s' தவறு" ...@@ -30,8 +30,8 @@ msgstr "கொடுக்கப்பட்ட index '%s' தவறு"
#: ../commands.c:35 ../commands.c:70 ../commands.c:97 ../commands.c:139 #: ../commands.c:35 ../commands.c:70 ../commands.c:97 ../commands.c:139
#: ../commands.c:253 ../commands.c:283 ../commands.c:309 ../commands.c:401 #: ../commands.c:253 ../commands.c:283 ../commands.c:309 ../commands.c:401
#: ../commands.c:522 ../shortcuts.c:456 ../shortcuts.c:1020 #: ../commands.c:522 ../shortcuts.c:456 ../shortcuts.c:1030
#: ../shortcuts.c:1049 #: ../shortcuts.c:1059
msgid "No document opened." msgid "No document opened."
msgstr "எந்தக் ஆவணமும் திறக்கப்படவில்லை" msgstr "எந்தக் ஆவணமும் திறக்கப்படவில்லை"
...@@ -416,7 +416,7 @@ msgstr "படத்தை ஒரு பிரதியெடு" ...@@ -416,7 +416,7 @@ msgstr "படத்தை ஒரு பிரதியெடு"
msgid "Save image as" msgid "Save image as"
msgstr "" msgstr ""
#: ../shortcuts.c:923 #: ../shortcuts.c:933
msgid "This document does not contain any index" msgid "This document does not contain any index"
msgstr "இந்த ஆவணத்தில் எந்த index-ம் இல்லை" msgstr "இந்த ஆவணத்தில் எந்த index-ம் இல்லை"
......
...@@ -7,8 +7,8 @@ ...@@ -7,8 +7,8 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: zathura\n" "Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: http://bugs.pwmt.org\n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2012-11-21 23:42+0100\n" "POT-Creation-Date: 2012-12-06 21:00+0100\n"
"PO-Revision-Date: 2012-05-01 20:38+0000\n" "PO-Revision-Date: 2012-05-01 20:38+0000\n"
"Last-Translator: hsngrms <dead-bodies-everywhere@hotmail.com>\n" "Last-Translator: hsngrms <dead-bodies-everywhere@hotmail.com>\n"
"Language-Team: Turkish (http://www.transifex.net/projects/p/zathura/language/" "Language-Team: Turkish (http://www.transifex.net/projects/p/zathura/language/"
...@@ -31,8 +31,8 @@ msgstr "Hatalı dizin '%s'" ...@@ -31,8 +31,8 @@ msgstr "Hatalı dizin '%s'"
#: ../commands.c:35 ../commands.c:70 ../commands.c:97 ../commands.c:139 #: ../commands.c:35 ../commands.c:70 ../commands.c:97 ../commands.c:139
#: ../commands.c:253 ../commands.c:283 ../commands.c:309 ../commands.c:401 #: ../commands.c:253 ../commands.c:283 ../commands.c:309 ../commands.c:401
#: ../commands.c:522 ../shortcuts.c:456 ../shortcuts.c:1020 #: ../commands.c:522 ../shortcuts.c:456 ../shortcuts.c:1030
#: ../shortcuts.c:1049 #: ../shortcuts.c:1059
msgid "No document opened." msgid "No document opened."
msgstr "Açık belge yok." msgstr "Açık belge yok."
...@@ -417,7 +417,7 @@ msgstr "Resim kopyala" ...@@ -417,7 +417,7 @@ msgstr "Resim kopyala"
msgid "Save image as" msgid "Save image as"
msgstr "" msgstr ""
#: ../shortcuts.c:923 #: ../shortcuts.c:933
msgid "This document does not contain any index" msgid "This document does not contain any index"
msgstr "Bu belge fihrist içermiyor" msgstr "Bu belge fihrist içermiyor"
......
...@@ -6,8 +6,8 @@ ...@@ -6,8 +6,8 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: zathura\n" "Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: http://bugs.pwmt.org\n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2012-11-21 23:42+0100\n" "POT-Creation-Date: 2012-12-06 21:00+0100\n"
"PO-Revision-Date: 2012-06-20 14:58+0000\n" "PO-Revision-Date: 2012-06-20 14:58+0000\n"
"Last-Translator: Sebastian Ramacher <sebastian+dev@ramacher.at>\n" "Last-Translator: Sebastian Ramacher <sebastian+dev@ramacher.at>\n"
"Language-Team: Ukrainian (Ukraine) (http://www.transifex.com/projects/p/" "Language-Team: Ukrainian (Ukraine) (http://www.transifex.com/projects/p/"
...@@ -31,8 +31,8 @@ msgstr "Вказано невірний індекс: %s" ...@@ -31,8 +31,8 @@ msgstr "Вказано невірний індекс: %s"
#: ../commands.c:35 ../commands.c:70 ../commands.c:97 ../commands.c:139 #: ../commands.c:35 ../commands.c:70 ../commands.c:97 ../commands.c:139
#: ../commands.c:253 ../commands.c:283 ../commands.c:309 ../commands.c:401 #: ../commands.c:253 ../commands.c:283 ../commands.c:309 ../commands.c:401
#: ../commands.c:522 ../shortcuts.c:456 ../shortcuts.c:1020 #: ../commands.c:522 ../shortcuts.c:456 ../shortcuts.c:1030
#: ../shortcuts.c:1049 #: ../shortcuts.c:1059
msgid "No document opened." msgid "No document opened."
msgstr "Документ не відкрито." msgstr "Документ не відкрито."
...@@ -417,7 +417,7 @@ msgstr "Копіювати картинку" ...@@ -417,7 +417,7 @@ msgstr "Копіювати картинку"
msgid "Save image as" msgid "Save image as"
msgstr "" msgstr ""
#: ../shortcuts.c:923 #: ../shortcuts.c:933
msgid "This document does not contain any index" msgid "This document does not contain any index"
msgstr "Індекс відсутній в цьому документі" msgstr "Індекс відсутній в цьому документі"
......
...@@ -106,6 +106,15 @@ cb_print_draw_page(GtkPrintOperation* print_operation, GtkPrintContext* ...@@ -106,6 +106,15 @@ cb_print_draw_page(GtkPrintOperation* print_operation, GtkPrintContext*
return; return;
} }
/* try to render the page with out a temporary surface */
girara_debug("printing page %d ...", page_number);
render_lock(zathura->sync.render_thread);
int err = zathura_page_render(page, cairo, true);
render_unlock(zathura->sync.render_thread);
if (err == ZATHURA_ERROR_OK) {
return;
}
/* we need a temporary cairo object since the cairo object from the print /* we need a temporary cairo object since the cairo object from the print
* context doesn't have a width or height */ * context doesn't have a width or height */
const gdouble width = gtk_print_context_get_width(context); const gdouble width = gtk_print_context_get_width(context);
...@@ -136,8 +145,14 @@ cb_print_draw_page(GtkPrintOperation* print_operation, GtkPrintContext* ...@@ -136,8 +145,14 @@ cb_print_draw_page(GtkPrintOperation* print_operation, GtkPrintContext*
/* render the page to the temporary surface */ /* render the page to the temporary surface */
girara_debug("printing page %d ...", page_number); girara_debug("printing page %d ...", page_number);
render_lock(zathura->sync.render_thread); render_lock(zathura->sync.render_thread);
zathura_page_render(page, temp_cairo, true); err = zathura_page_render(page, temp_cairo, true);
render_unlock(zathura->sync.render_thread); render_unlock(zathura->sync.render_thread);
if (err != ZATHURA_ERROR_OK) {
cairo_destroy(temp_cairo);
cairo_surface_destroy(surface);
gtk_print_operation_cancel(print_operation);
return;
}
/* rescale */ /* rescale */
const gdouble scale = MIN(width / page_width, height / page_height); const gdouble scale = MIN(width / page_width, height / page_height);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment