2008-10-22 Sven Neumann <sven@gimp.org>
Bug 524615 – Print not to scale
* plug-ins/print/print.c: set the unit for dimensions on the
Cairo
context used for printing to GTK_UNIT_PIXELS.
* plug-ins/print/print-draw-page.c (print_draw_page): changed
the
Cairo scale factors accordingly. Seems to fix printing on
Windows.
svn path=/trunk/; revision=27364
2008-09-25 Michael Natterer <mitch@gimp.org>
* plug-ins/print/print-draw-page.c
(print_cairo_surface_from_drawable): free the right array.
svn path=/trunk/; revision=27057
2008-08-23 Sven Neumann <sven@gimp.org>
* plug-ins/print/print.c: return with a proper PDB status type
depending on the result of gtk_print_operation_run(). When run
non-interactively, pass the error message with the return
values.
svn path=/trunk/; revision=26729
2008-08-20 Sven Neumann <sven@gimp.org>
* plug-ins/print/print.c (page_setup): use the new API to set
the
PDB error handler in order to suppress a warning if the
temporary
procedure does not exist (see bug #513291).
svn path=/trunk/; revision=26683
2008-08-07 Sven Neumann <sven@gimp.org>
* plug-ins/print/print.c (print_image): get rid of the
gimp_export_image() hack and use the new procedure
gimp-layer-new-from-visible instead. Finally we can print what
the
user sees (including channels).
svn path=/trunk/; revision=26427
2008-04-25 Michael Natterer <mitch@gimp.org>
* plug-ins/print/print.c (query): fix help string of the page
setup procedure.
svn path=/trunk/; revision=25525
2008-04-11 Michael Natterer <mitch@gimp.org>
* plug-ins/print/print-preview.c: unset the move cursor in
GtkWidget::leave_notify_event() so it always gets unset when the
pointer leaves the widget.
svn path=/trunk/; revision=25464
2008-04-07 Sven Neumann <sven@gimp.org>
* plug-ins/print/print.[ch]: set the number of pages to one before
showing the dialog. Not that it would make a difference, but it
could...
svn path=/trunk/; revision=25387
2008-04-06 Sven Neumann <sven@gimp.org>
* plug-ins/print/print.c (page_setup): do a query for the
temporary procedure installed by the 'file-print-gtk' procedure.
Temporary solution until bug #344818 has been addressed.
svn path=/trunk/; revision=25383
2008-02-26 Sven Neumann <sven@gimp.org>
* plug-ins/print/print.h (struct PrintData): removed unused
field.
* plug-ins/print/print-page-layout.c: set a minimum size of
1/100
of the paper size.
svn path=/trunk/; revision=24986
2008-02-26 Sven Neumann <sven@gimp.org>
* plug-ins/print/print-page-layout.[ch]
* plug-ins/print/print.c: pressing F1 on the "Image Settings"
tab
calls the GIMP help browser.
svn path=/trunk/; revision=24984
2008-02-26 Sven Neumann <sven@gimp.org>
* plug-ins/print/print-preview.c: take the reading direction
into
account and do the right thing for RTL languages.
svn path=/trunk/; revision=24982
2008-02-26 Sven Neumann <sven@gimp.org>
* plug-ins/print/print-preview.c: create a Cairo image surface
from the data returned from gimp_drawable_get_thumbnail() instead
of using an intermediate GdkPixbuf. This code should eventually
end up in libgimpui.
svn path=/trunk/; revision=24971
2008-02-26 Sven Neumann <sven@gimp.org>
* plug-ins/print/print-preview.c
* plug-ins/print/print-page-layout.c: let the preview widget
allocate a reasonable size.
svn path=/trunk/; revision=24967
2008-02-26 Sven Neumann <sven@gimp.org>
* plug-ins/print/print-preview.c: use a different cursor when
dragging, just like GimpScrolledPreview.
svn path=/trunk/; revision=24966
2008-02-26 Sven Neumann <sven@gimp.org>
* plug-ins/print/print-preview.[ch]: derive from GtkEventBox and
draw on the parent window.
* plug-ins/print/print-page-layout.c: tweaked dialog layout.
svn path=/trunk/; revision=24964
2008-02-25 Sven Neumann <sven@gimp.org>
* plug-ins/print/Makefile.am
* plug-ins/print/print-utils.[ch]: added new files with utility
functions.
* plug-ins/print/print-settings.c: use the new utility
functions for loading and saving GKeyFile.
* plug-ins/print/print-page-setup.[ch]
* plug-ins/print/print.c: also store the page setup in an image
parasite. Fixes most of what remained to be done for bug
#513291.
svn path=/trunk/; revision=24960
2008-02-22 Sven Neumann <sven@gimp.org>
* plug-ins/print/print.c: use GTK_STOCK_PAGE_SETUP when compiled
against GTK+ >= 2.13.0.
svn path=/trunk/; revision=24949
2008-02-22 Sven Neumann <sven@gimp.org>
* plug-ins/print/print.c
* plug-ins/print/print-draw-page.c: added support for grayscale
images so we don't need to go through an extra export step.
svn path=/trunk/; revision=24947
2008-02-22 Sven Neumann <sven@gimp.org>
* plug-ins/print/print-draw-page.c (draw_page_cairo): when
printing an image with alpha channel, use a Cairo surface with
alpha channel instead of doing a blend on a white background.
svn path=/trunk/; revision=24943
2008-02-21 Sven Neumann <sven@gimp.org>
* plug-ins/print/print-preview.c: provide feedback when hovering
over the preview.
svn path=/trunk/; revision=24931
2008-02-21 Sven Neumann <sven@gimp.org>
* plug-ins/print/print-preview.c
(gimp_print_preview_expose_event):
changed drawing so that strokes are not scaled.
svn path=/trunk/; revision=24930
2008-02-05 Sven Neumann <sven@gimp.org>
* plug-ins/print/print.c: removed ellipsis from "Page Setup"
menu
entry as specified in the HIG.
svn path=/trunk/; revision=24802
2008-02-04 Sven Neumann <sven@gimp.org>
* plug-ins/print/print-page-layout.c: only connect to page
layout
changes for the lifetime of the dialog.
* plug-ins/print/print-page-setup.[ch]
* plug-ins/print/print.c: use a temporary procedure to notify
the
Print procedure about changes to the page setup.
svn path=/trunk/; revision=24793
2008-02-01 Sven Neumann <sven@gimp.org>
* plug-ins/print/print.c: some minor cleanups and preparation
for
adding a dedicated Page Setup menu entry (bug #513291).
svn path=/trunk/; revision=24766
2007-08-17 Michael Natterer <mitch@gimp.org>
* plug-ins/print/print-page-layout.c: set a default page setup on
the operation if it is NULL to prevent crash in new installations
(which don't have a setup yet). Fixes bug #467643, patch from
Stefan Röllin.
svn path=/trunk/; revision=23303
2007-08-15 Sven Neumann <sven@gimp.org>
* plug-ins/print/print.c (end_print): added a timeout as a
workaround for bug #466928.
svn path=/trunk/; revision=23277
2007-08-15 Sven Neumann <sven@gimp.org>
* plug-ins/print/print-page-layout.c: applied patch from Stefan
Röllin that makes the preview resize with the dialog (bug #466923).
svn path=/trunk/; revision=23271
2007-08-11 Sven Neumann <sven@gimp.org>
* plug-ins/print/print-page-layout.c
(print_size_info_set_resolution):
applied patch from Stefan Röllin that fixes bug #465527.
svn path=/trunk/; revision=23203
2007-08-09 Sven Neumann <sven@gimp.org>
* plug-ins/print/print-preview.[ch]: while dragging the preview
image, draw only an outline.
svn path=/trunk/; revision=23168
2007-08-09 Sven Neumann <sven@gimp.org>
* plug-ins/print/print-page-layout.c: fixed the behavior when
changing the unit.
svn path=/trunk/; revision=23164