summaryrefslogtreecommitdiffstats
path: root/src/document.h
diff options
context:
space:
mode:
authorMarc Jeanmougin <marc@jeanmougin.fr>2017-02-05 19:24:08 +0000
committerMarc Jeanmougin <marcjeanmougin@free.fr>2017-02-05 19:24:08 +0000
commit6947ff531840b67cafd4c7931e6b7bb9ceaf7d70 (patch)
treee648223cc925b2fbe62b7063262eed68f3463541 /src/document.h
parentadd missing header (diff)
downloadinkscape-6947ff531840b67cafd4c7931e6b7bb9ceaf7d70.tar.gz
inkscape-6947ff531840b67cafd4c7931e6b7bb9ceaf7d70.zip
forward-port from 0.92.x the line height conversion from <.92 to >=.92
Code written by su_v in python as an extension, ported to c++ by Mc, some fixes added by bryce. http://bazaar.launchpad.net/~inkscape.dev/inkscape/0.92.x/revision/15338 http://bazaar.launchpad.net/~inkscape.dev/inkscape/0.92.x/revision/15339 http://bazaar.launchpad.net/~inkscape.dev/inkscape/0.92.x/revision/15350 http://bazaar.launchpad.net/~inkscape.dev/inkscape/0.92.x/revision/15351 Option to disable it is called --no-convert-text-baseline-spacing The terminology "convert" is chosen as a jargon word to be used for all such legacy file conversions. The "--no-XXX" naming style is adopted from the convention used by other software such as GIMP. (bzr r15481)
Diffstat (limited to 'src/document.h')
-rw-r--r--src/document.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/document.h b/src/document.h
index 49bde1897..142eb5000 100644
--- a/src/document.h
+++ b/src/document.h
@@ -30,6 +30,24 @@
#include <set>
#include <deque>
+// This variable is introduced with 0.92.1
+// with the introduction of automatic fix
+// for files detected to have been created
+// with previous versions to have a similar
+// look in 0.92+.
+extern bool sp_no_convert_text_baseline_spacing;
+
+
+
+// This variable is introduced with 0.92.1
+// with the introduction of automatic fix
+// for files detected to have been created
+// with previous versions to have a similar
+// look in 0.92+.
+extern bool sp_do_not_fix_pre_92;
+
+
+
namespace Avoid {
class Router;
}