Commit Graph

48 Commits

Author SHA1 Message Date
3c717ac483 Bug 756030 - file-pdf-save-multi PDB API is mis-specified
file-pdf-save-multi did not honor the PDB array passing standard.
2015-10-08 18:39:20 +02:00
7829177e3c plug-ins: Apply the context-background color on exporting to pdf
PDF files have no transparency, still, transparent areas of
exported images would always display white, regardless of the
current background color.
(The misbehavior was found while checking BUG #752819,
 but that is a cairo issue and is not fixed by this)
2015-07-25 03:26:56 -03:00
7e6320497e follow gegl api changes from commit af5361ca8d, with an abyss policy argument
to gegl_buffer_copy.
2015-05-25 01:27:31 +02:00
a215fbda56 Bug 681895: PDF export does not save fonts properly
Set the resolution of the PangoFontMap from which the
PangoContext is created, set cairo font options only
on the PangoContext, explicitely set wrap mode and
do not force a layout height.
2015-01-28 19:31:32 +01:00
7d3aafe323 file-pdf-save: Fix param index (Bug #736281) 2014-09-26 00:20:01 +05:30
4ae597c586 plug-ins: use standard error on failed file descriptor in file-pdf-save.
The standard message used all over our code is:
"Could not open '%s' for writing: %s".
2014-07-29 16:59:49 +00:00
eaa4bf2270 Bug 733824 - PDF export fails without warning if open in other application.
This happens on the Windows platforms in particular where applications
can lock files, preventing GIMP to obtain a file descriptor for writing.
2014-07-29 15:41:34 +00:00
d0c67f84c8 plug-ins: file-pdf-save needs two return values now for the error message 2014-05-01 20:27:10 +02:00
cdd78c9b16 Fix typo 2014-05-01 14:59:28 +02:00
f6328244a2 Bug 725577 - file-pdf-save fails to export images larger than 32768 pixels
Due to a restriction in libcairo, creating surfaces larger than 32768 pixels
fails, so saving a larger file in gimp  as PDF, is rejected.
2014-04-29 17:37:25 +02:00
6b0d1038cc Bug 692641 - Various spelling fixes 2013-01-27 18:59:02 +01:00
c44c33f667 plug-ins: forgot gegl_init() in file-pdf-save 2013-01-15 14:25:15 +01:00
c59e569e50 plug-ins: don't free a pointer allocated with g_newa in file-pdf-save
Found using clang's scan-build.
2013-01-09 17:02:43 -05:00
987d795ab9 plug-ins: port file-pdf-save to GEGL 2012-11-21 18:51:41 +01:00
ee9467d259 plug-ins: more file-pdf-save cleanup, mostly formatting
Also, don't alpha-threshold indexed layers any longer.
2012-11-21 16:18:33 +01:00
55a9eb0d1a plug-ins: lots of cleanup in file-pdf-save before porting to GEGL 2012-11-21 15:04:15 +01:00
fe19ad9706 Bug 683694 - Spelling errors
Reworded all places that used to say "allows to".
2012-11-11 15:50:25 +01:00
dde1ed4d3c file-save-pdf: Remove redundant code (cppcheck report) 2012-09-06 07:23:05 +05:30
d76394775f Bug 677040: PDF export does not appear to handle font size...
...correctly unless image flattened

Font size was wrong unless in pixels and
gimp_drawable_type returns a GimpImageType
2012-06-21 19:04:32 +02:00
be5b969c00 Bug 677637: PDF export plug-in does not work
use g_fopen and cairo_pdf_surface_create_for_stream
to avoid file name encoding issues on Windows.
2012-06-09 15:36:53 +02:00
9092c79ca2 plug-ins: remove unused variable in file-pdf-save.c 2012-02-05 22:27:15 +01:00
d2076552db Fix the bugs in the conversion from drawables to cairo surfaces.
Most of the code was taken from the print plugin, and it includes iterating
over pixel regions (instead of fetching them at once), correct support for RGBA
(which was buggy previously), etc.
This commit removes the usage of A8 cairo surfaces for GRAY layers, simply
because it seems not to work. This should be investigated and fixed in order
to optimize the file size (by saving gray images as gray).
Also should be checked is why we treat the cairo bpp as 4 when calculating the
pixel locations in RGB cairo buffers. The print plug-in does this and it works,
and when I tried 3 it didn't work. May be because of word alignment...
2011-12-31 03:34:23 +02:00
f17b3e9cd7 Remove the Multi-Page PDF export from File->Create
It should be restored later when a more suitable place would be found and
when the user interface will be more friendly
2011-12-31 01:14:38 +02:00
d78b38022d Remove the defaults procedured from the PDF export plug-in
This commit refactors the way the arguments are being processed into a much
cleaner code. It also makes the main save procedure the default save handler
instead of the removed defaults procedure - this means the order of its
arguments was changed accordingly.
2011-12-31 01:09:29 +02:00
0428571010 file-pdf-save: Update help text to match that of file-pdf-load 2011-12-06 21:12:04 +05:30
b9e7198f89 Removed i18n from the list of issues. It's done now. 2011-12-04 03:05:45 +04:00
4b897a894c Part of a user visible message is moved to a tooltip in file-pdf-save.c 2011-12-04 03:02:56 +04:00
cb61dea8fe plug-ins: fix the PDF save procedures' labels 2011-12-03 23:34:28 +01:00
2a55c1cc52 Menu items from file-pdf-save.c are now translatable 2011-12-04 01:02:30 +04:00
2c4bec813d plug-ins: Properly init international framework 2011-11-30 21:14:16 +01:00
9bab1671c6 file-pdf-save: Fix punctuation 2011-12-01 01:13:53 +05:30
0eccda70c0 file-pdf-save: Mark string for translation 2011-12-01 01:13:11 +05:30
3a63a82789 file-pdf-save: Just use the PDF_DEBUG case as default 2011-12-01 01:12:35 +05:30
de0014f2cc file-pdf-save: Fix bogus C code 2011-12-01 01:10:52 +05:30
65f21e95a7 file-pdf-save: Remove trailing space 2011-12-01 01:10:52 +05:30
8b936805ca Even more translatable messages in file-pdf-save.c 2011-11-29 05:33:51 +04:00
372e677c63 User visible messages in file-pdf-save.c are translatable now 2011-11-29 05:27:02 +04:00
0b1f62f5ce Even shorter translatable messags in file-pdf-save.c 2011-11-27 18:08:45 +04:00
5e0765d53b Shorter, concise translatable messages in file-pdf-save.c 2011-11-27 17:56:28 +04:00
c0e873cd8a file-pdf-save: Remove dead assignment (and variable) 2011-10-03 18:48:56 +05:30
f342b50483 libgimpwidgets: add gtk_button_box_new() to gimp3migration.[ch]
and use it all over the place.
2011-09-30 15:44:33 +02:00
dcb4c6e34a plug-ins: use gtk_box_new() 2011-09-30 12:18:24 +02:00
8c4d99f883 Bug 645456 - Inconsistent window (role) naming scheme
Applied patch from Christoph Kappel which adds a "gimp-" prefix to all
plug-in dialog window roles.
2011-04-08 20:31:34 +02:00
cc7755f876 Port stuff to gimp_item_is_text_layer()
Port stuff to gimp_item_is_text_layer() instead of
gimp_drawable_is_text_layer(). Nevermind the previous commit, it
should never have been pushed...
2010-10-05 07:39:00 +02:00
0097286a45 plug-ins: remove execute permission from common/file-pdf-save.c 2010-09-12 18:51:38 +02:00
6130f6b0bb plug-ins: clean up includes in file-pdf-save.c 2010-08-28 12:44:30 +02:00
f1266c2b0a plug-ins: fix some warnings in file-pdf-save, and fix configure.ac to include it 2010-08-28 00:10:00 +03:00
6f8c412735 plug-ins: add the new file-pdf-save plugin (Bug #382688) 2010-08-28 00:09:59 +03:00