summaryrefslogtreecommitdiff
path: root/gtk/gtkprintcontext.c
Commit message (Collapse)AuthorAgeFilesLines
* printing: Translate context to correct positionMarek Kasik2014-12-181-5/+23
| | | | | | | Use correct margins of given page setup when translating context to imageable area. https://bugzilla.gnome.org/show_bug.cgi?id=671895
* docs: use Returns: consistentlyWilliam Jon McCann2014-02-191-10/+10
| | | | Instead of Return value:
* docs: replace all <examples> with markdown headingsWilliam Jon McCann2014-02-041-3/+2
|
* docs: Identify examples that are C codeWilliam Jon McCann2014-01-291-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=723119
* docs: use |[ ]| instead of <programlisting></programlisting>William Jon McCann2014-01-291-2/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=723119
* Don't rotate pdf landscape outputAdrian Johnson2012-09-121-0/+30
|
* printing: Rename GTK_UNIT_PIXEL to GTK_UNIT_NONERyan Lortie2012-05-031-2/+2
| | | | | | ...and document that many functions don't accept "none" as a unit. https://bugzilla.gnome.org/show_bug.cgi?id=460908
* Change FSF AddressJavier Jardón2012-02-271-3/+1
|
* Don't use deprecated Pango apiMatthias Clasen2011-11-011-1/+1
|
* Move documentation to inline comments: GtkPrintContextJavier Jardón2011-04-181-0/+77
|
* Silence new gcc warningsMatthias Clasen2011-01-231-6/+2
| | | | | gcc 4.6.0 has started to warn about set-but-unused variables. So don't do that, then.
* [GI] Add missing (out) and (array) annotationsPavel Holejsovsky2011-01-201-4/+4
|
* [GI] Add missing (transfer) annotationsPavel Holejsovsky2011-01-201-1/+1
|
* Tons of transfer annotationsMatthias Clasen2010-09-211-6/+6
|
* gtk/: fully remove gtkalias hacksJavier Jardón2010-07-101-5/+0
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=623845
* Bring GtkPrintContext hard margin awareecyrbe2009-12-051-0/+64
| | | | See bug #468989.
* Correct the orientation of landscape pagesAdrian Johnson2009-09-301-8/+8
| | | | | | The convention for landscape pages, and required by PostScript Language Reference Manual, is for landscape printing to rotate user space 90 degrees counterclockwise. Part of bug 596423
* Revert name changeCody Russell2008-07-011-1/+1
| | | | svn path=/trunk/; revision=20724
* Practically everything changed.Cody Russell2008-06-301-1/+1
| | | | | | | | | | | | | 2008-06-30 Cody Russell <bratsche@gnome.org> * Practically everything changed. Change all references of GIMP Toolkit (and variations of it) to GTK+ Toolkit, showing no mercy at all to our beloved ancestry. (#540529) svn path=/trunk/; revision=20709
* Don't create new pango fontmaps. Use the default pangocairo fontmap andBehdad Esfahbod2007-05-231-11/+14
| | | | | | | | | | | | | | | 2007-05-22 Behdad Esfahbod <behdad@gnome.org> * gtk/gtkprintcontext.c (gtk_print_context_finalize), (_gtk_print_context_new), (_gtk_print_context_get_fontmap), (gtk_print_context_set_cairo_context), (gtk_print_context_get_pango_fontmap), (gtk_print_context_create_pango_context): Don't create new pango fontmaps. Use the default pangocairo fontmap and set resolution on PangoContext instead. (#417707) svn path=/trunk/; revision=17893
* Fix a typo in the docs. (#347032, Kouhei Sutou)Matthias Clasen2006-07-101-1/+1
| | | | | | | 2006-07-10 Matthias Clasen <mclasen@redhat.com> * gtk/gtkprintcontext.c (gtk_print_context_get_height): Fix a typo in the docs. (#347032, Kouhei Sutou)
* Documentation additions and fixes.Matthias Clasen2006-06-291-2/+19
| | | | | | | | | | | | | | | | | | | | | | | | 2006-06-28 Matthias Clasen <mclasen@redhat.com> * gtk/gtkprinter.c: * gtk/gtkprintunixdialog.c: * gtk/gtkprintoperationpreview.c: * gtk/gtkprintcontext.c (gtk_print_context_set_cairo_context): * gtk/gtklabel.c (gtk_label_set_line_wrap_mode): * gtk/gtkentry.c (gtk_entry_new): * gtk/gtkprintoperation.c (gtk_print_operation_set_custom_tab_label): * gtk/gtkclipboard.c (gtk_clipboard_wait_for_rich_text): Documentation additions and fixes. * gtk/gtkaspectframe.h: * gtk/gtkaboutdialog.c: * gtk/gtkcalendar.c: * gtk/gtkinputdialog.c: * gtk/gtk.symbols: Remove unnecessary includes. * gtk/gtkprogress.[hc]: * gtk/gtkitemfactory.[hc]: Don't unnecessarily use GTK_COMPILATION, remove unnecessary includes.
* Add gtkprintoperationpreview.[ch] Set default preview command. HardcodedAlexander Larsson2006-06-021-25/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-06-02 Alexander Larsson <alexl@redhat.com> * gtk/Makefile.am: Add gtkprintoperationpreview.[ch] Set default preview command. Hardcoded for now. * gtk/gtkmarshalers.list: Add BOOLEAN:OBJECT,OBJECT,OBJECT * gtk/gtkprintbackend.c: Add preview command property. * gtk/gtkprintcontext.[ch]: Make less dependent on PrintOperation for output settings Externally set cairo_t and dpi. Resettable. Create fontmap without metrics hinting (so that print preview text layout doesn't depend on zoom level). * gtk/gtkprintoperation-private.h: * gtk/gtkprintoperation-unix.c: * gtk/gtkprintoperation.[ch]: Initial work on print preview API and default implementation using an external preview app. * gtk/gtkprintoperation-win32.c: Some needed updates. Not done, needs more work. * gtk/gtkprintoperationpreview.[ch]: New interface used in print preview api. * gtk/gtkprintunixdialog.c: Add print preview dialog. * tests/print-editor.c: Test using an custom print preview widget.
* Change some function names to be longer and better.Matthias Clasen2006-05-311-9/+9
| | | | | | | | | | | | | | | 2006-05-31 Matthias Clasen <mclasen@redhat.com> * gtk/gtkprintcontext.h: * gtk/gtkprintcontext.c: * gtk/gtkprintoperation.c: * gtk/gtkprintoperation-unix.c: Change some function names to be longer and better. gtk_print_context_get_cairo -> gtk_print_context_get_cairo_context gtk_print_context_get_fontmap -> gtk_print_context_get_pango_fontmap gtk_print_context_create_context -> gtk_print_context_create_pango_context gtk_print_context_create_layout -> gtk_print_context_create_pango_layout Update all callers.
* Use a priv variable when accessing priv multiple times in the sameChristian Persch2006-05-021-18/+29
| | | | | | | | | | | | | | 2006-05-02 Christian Persch <chpe@cvs.gnome.org> * gtk/gtkpagesetupunixdialog.c: * gtk/gtkprintcontext.c: * gtk/gtkprinter.c: * gtk/gtkprinteroptionwidget.c: * gtk/gtkprintjob.c: * gtk/gtkprintoperation-unix.c: * gtk/gtkprintoperation.c: * gtk/gtkprintunixdialog.c: Use a priv variable when accessing priv multiple times in the same function. Bug #340288.
* Merge the gtk-printing branch. For more detailed ChangeLog entries, seeAlexander Larsson2006-04-211-0/+406
2006-04-21 Alexander Larsson <alexl@redhat.com> Merge the gtk-printing branch. For more detailed ChangeLog entries, see the branch. * .cvsignore: * Makefile.am: * configure.in: * docs/tools/widgets.c: * gtk+-unix-print-2.0.pc.in: * gtk/Makefile.am: * gtk/gen-paper-names.c: * gtk/gtk.h: * gtk/gtk.symbols: * gtk/gtkenums.h: * gtk/gtkiconfactory.c: * gtk/gtkmarshalers.list: * gtk/gtkpagesetup.[ch]: * gtk/gtkpagesetupunixdialog.[ch]: * gtk/gtkpapersize.[ch]: * gtk/gtkprint-win32.[ch]: * gtk/gtkprintbackend.[ch]: * gtk/gtkprintcontext.[ch]: * gtk/gtkprinter-private.h: * gtk/gtkprinter.[ch]: * gtk/gtkprinteroption.[ch]: * gtk/gtkprinteroptionset.[ch]: * gtk/gtkprinteroptionwidget.[ch]: * gtk/gtkprintjob.[ch]: * gtk/gtkprintoperation-private.h: * gtk/gtkprintoperation-unix.c: * gtk/gtkprintoperation-win32.c: * gtk/gtkprintoperation.[ch]: * gtk/gtkprintsettings.[ch]: * gtk/gtkprintunixdialog.[ch]: * gtk/paper_names.c: * gtk/paper_names_offsets.c: Platform independent printing API and implementations for unix and windows. * gtk/gtkstock.h: * gtk/stock-icons/24/gtk-orientation-landscape.png: * gtk/stock-icons/24/gtk-orientation-portrait.png: * gtk/stock-icons/24/gtk-orientation-reverse-landscape.png: Add stock icons for page orientation. * modules/Makefile.am: * modules/printbackends/Makefile.am: * modules/printbackends/cups/Makefile.am: * modules/printbackends/cups/gtkcupsutils.[ch]: * modules/printbackends/cups/gtkprintbackendcups.[ch]: * modules/printbackends/cups/gtkprintercups.[ch]: Cups printing backend for unix. * modules/printbackends/lpr/Makefile.am: * modules/printbackends/lpr/gtkprintbackendlpr.[ch]: lpr printing backend for unix. * modules/printbackends/pdf/Makefile.am: * modules/printbackends/pdf/gtkprintbackendpdf.[ch]: print-to-pdf printing backend for unix. * tests/.cvsignore: * tests/Makefile.am: * tests/print-editor.c: Test application for printing. * gdk/gdk.symbols: * gdk/win32/gdkevents-win32.c: * gdk/win32/gdkwin32.h: Add gdk_win32_set_modal_dialog_libgtk_only so that we can pump the mainloop while displaying a win32 common dialog. * gdk/directfb/Makefile.am: Whitespace cleanup.