Commit graph

36 commits

Author SHA1 Message Date
Sebastian Ramacher
a45cd0a474 CS
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-01-31 10:33:25 +01:00
Sebastian Ramacher
ac8be2d528 Translate error messages
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-01-31 10:19:27 +01:00
Sebastian Ramacher
eea53de243 Correctly safe print setting state
Since we are running the operation asynchronsly, we need to store the print
settings in a callback for the done signal.

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-01-30 22:42:53 +01:00
Sebastian Ramacher
40fe7cdd9e Some typos
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-01-07 03:43:38 +01:00
Sebastian Ramacher
68b665a49d Move config file loading to config.c 2014-01-06 16:02:58 +01:00
Sebastian Ramacher
7d7fe1d864 Workaround printing quality issues
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2013-10-31 05:42:47 +01:00
Sebastian Ramacher
10115db62f Rewrite render thread as request based system
ZathuraRenderer is a thread pool rendering the pages. Every page widget holds a
ZathuraRenderRequest instance to request its page to be rendered. This object
can also be used to abort the request in case the page is not visible anymore.

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2013-08-21 18:32:18 +02:00
Sebastian Ramacher
1a2b195ce9 Add some comments 2012-12-07 15:24:57 +01:00
Sebastian Ramacher
98510e7420 Try printing to the cairo object first 2012-12-07 15:11:57 +01:00
Sebastian Ramacher
e6f77735ba Improve printing quality again 2012-12-07 14:53:09 +01:00
Sebastian Ramacher
aef1b3b346 Call gtk_print_operation_cancel on failure 2012-12-07 14:52:49 +01:00
Sebastian Ramacher
1312825438 Draw white background on correct cairo instance 2012-12-07 14:36:24 +01:00
Sebastian Ramacher
cc9f047c76 Enabled embedded page setup 2012-12-07 14:24:14 +01:00
Sebastian Ramacher
23649bc0bc Fix printing
The plugins expect an image surface but the target of the print context might
not be one.
2012-12-06 21:43:21 +01:00
Moritz Lipp
89e7832047 Update style 2012-10-09 01:12:18 +02:00
Sebastian Ramacher
4e98fb3dc1 It's called request-page-setup. 2012-06-11 23:04:21 +02:00
Sebastian Ramacher
1b11372ac0 Merge branch 'develop' of pwmt.org:zathura into develop 2012-06-07 18:52:43 +02:00
Moritz Lipp
7a1231518e Set page orientation while printing automatically 2012-06-06 17:20:39 +02:00
Sebastian Ramacher
5dfc28ddc2 Some debug output. 2012-06-03 22:28:12 +02:00
Sebastian Ramacher
508f8dad8d Print full pages. 2012-06-03 22:07:42 +02:00
Sebastian Ramacher
290eefde5c Use a lock to lock the render thread for printing. 2012-06-03 22:06:57 +02:00
Sebastian Ramacher
f28decccc1 Revert "Render pages for printing in render thread."
This reverts commit 8271419222.
2012-06-03 21:54:10 +02:00
Sebastian Ramacher
8271419222 Render pages for printing in render thread.
This needs some looking in the render thread.
2012-06-01 20:56:55 +02:00
Moritz Lipp
334b4fbb95 Introduce and use zathura_document wrapper functions 2012-03-27 21:59:35 +02:00
Moritz Lipp
efc108fbe2 Introduced page.h 2012-03-26 14:44:56 +02:00
Sebastian Ramacher
aea5024ce3 add argument printing to zathura_page_render 2012-02-07 15:10:58 +01:00
Sebastian Ramacher
45366ecadd no need to manipulate scale while printing 2011-12-11 18:41:12 +01:00
Sebastian Ramacher
911d84c908 update includes due to girara restructuring 2011-10-23 17:01:15 +02:00
Sebastian Ramacher
bbb08b17be g_object_ref the print settings (as seen in the GTK+ documentation) 2011-10-10 19:58:48 +02:00
Moritz Lipp
d0819a10e0 Show printing status in statusbar 2011-09-29 18:05:15 +02:00
Sebastian Ramacher
b34d21afaf implement content type support 2011-09-29 15:23:13 +02:00
Moritz Lipp
c3ad7faf1a Use cairo to render page 2011-09-29 12:35:52 +02:00
Moritz Lipp
a6268788c0 Resolve warnings caused by -Wextra 2011-09-21 00:46:03 +02:00
Moritz Lipp
f0d2e71ef9 Allow async printing and calculate scale level 2011-05-02 18:50:24 +02:00
Moritz Lipp
4806163e24 Comment unused variable 2011-04-30 13:07:14 +02:00
Moritz Lipp
ebd6605adf Began to implement the printing dialog 2011-04-29 00:28:19 +02:00