From d85ed5469e3e305b1e5561cb4ab85848b499375a Mon Sep 17 00:00:00 2001 From: buliabyak Date: Thu, 30 Apr 2009 21:38:31 +0000 Subject: [PATCH] copyedit labels, expand range --- src/extension/internal/cairo-ps-out.cpp | 4 ++-- src/extension/internal/cairo-renderer-pdf-out.cpp | 2 +- src/main.cpp | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/extension/internal/cairo-ps-out.cpp b/src/extension/internal/cairo-ps-out.cpp index 0ea0a051d..dff89c1ed 100644 --- a/src/extension/internal/cairo-ps-out.cpp +++ b/src/extension/internal/cairo-ps-out.cpp @@ -283,7 +283,7 @@ CairoPsOutput::init (void) "true\n" "false\n" "true\n" - "90\n" + "90\n" "\n" "\n" ".ps\n" @@ -320,7 +320,7 @@ CairoEpsOutput::init (void) "true\n" "false\n" "true\n" - "90\n" + "90\n" "\n" "\n" ".eps\n" diff --git a/src/extension/internal/cairo-renderer-pdf-out.cpp b/src/extension/internal/cairo-renderer-pdf-out.cpp index 3a4dde639..804919e33 100644 --- a/src/extension/internal/cairo-renderer-pdf-out.cpp +++ b/src/extension/internal/cairo-renderer-pdf-out.cpp @@ -217,7 +217,7 @@ CairoRendererPdfOutput::init (void) "\n" "false\n" "true\n" - "90\n" + "90\n" "false\n" "false\n" "\n" diff --git a/src/main.cpp b/src/main.cpp index d6da78a97..37dff7cde 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1481,8 +1481,8 @@ static void do_export_ps_pdf(SPDocument* doc, gchar const* uri, char const* mime gdouble dpi = 90.0; if (sp_export_dpi) { dpi = atof(sp_export_dpi); - if ((dpi < 72) || (dpi > 2400.0)) { - g_warning("DPI value %s out of range [72 - 2400]. Using 90 dpi instead.", sp_export_dpi); + if ((dpi < 1) || (dpi > 10000.0)) { + g_warning("DPI value %s out of range [1 - 10000]. Using 90 dpi instead.", sp_export_dpi); dpi = 90; } } -- 2.30.2