diff options
| author | Marc Jeanmougin <marc@jeanmougin.fr> | 2017-06-04 22:58:45 +0000 |
|---|---|---|
| committer | Marc Jeanmougin <marcjeanmougin@free.fr> | 2017-06-04 22:58:45 +0000 |
| commit | 99cc870e2202dd3bd4c63be34bb45ba09aa0bd0e (patch) | |
| tree | 26e0236f3ebb7629d1d361aa6a3636edc8dc0ba6 /src/file.h | |
| parent | Merge in render frame extension (diff) | |
| download | inkscape-99cc870e2202dd3bd4c63be34bb45ba09aa0bd0e.tar.gz inkscape-99cc870e2202dd3bd4c63be34bb45ba09aa0bd0e.zip | |
Porting the pre-92 file update message from 0.92.x to trunk:
New dialog when opening pre-0.92 files (with 90 dpi).
I implemented it mostly based on mizmo's UI proposal (thanks!), with additional inputs from su_v with a few bugfixes from jabiertxof
Also adds a commandline option --convert-dpi-method=[none|scale-viewbox|scale-document] to be able to batch convert files.
Fixed bugs:
- https://launchpad.net/bugs/1659229
(bzr r15729)
Diffstat (limited to 'src/file.h')
| -rw-r--r-- | src/file.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/file.h b/src/file.h index 2fc4ea910..c6ff61c25 100644 --- a/src/file.h +++ b/src/file.h @@ -205,6 +205,9 @@ void sp_file_print (Gtk::Window& parentWindow); void sp_file_vacuum (SPDocument *doc); void sp_file_convert_text_baseline_spacing(SPDocument *doc); void sp_file_convert_font_name(SPDocument *doc); +void sp_file_convert_dpi(SPDocument *doc); +enum File_DPI_Fix { FILE_DPI_UNCHANGED = 0, FILE_DPI_VIEWBOX_SCALED, FILE_DPI_DOCUMENT_SCALED }; +extern int sp_file_convert_dpi_method_commandline; #endif // SEEN_SP_FILE_H |
