summaryrefslogtreecommitdiffstats
path: root/src/desktop.cpp
diff options
context:
space:
mode:
authorKrzysztof Kosi??ski <tweenk.pl@gmail.com>2014-03-13 04:45:38 +0000
committerKrzysztof KosiƄski <tweenk.pl@gmail.com>2014-03-13 04:45:38 +0000
commite7a3f5b74d1f5a95390ee95b06371d184c1812f7 (patch)
tree78f665a8013ebba1d57b3114744734730e4fa8b4 /src/desktop.cpp
parentRender zero-width PDF lines as 1px lines compensated for current transform. (diff)
downloadinkscape-e7a3f5b74d1f5a95390ee95b06371d184c1812f7.tar.gz
inkscape-e7a3f5b74d1f5a95390ee95b06371d184c1812f7.zip
Provide a toggle in the document properties to optionally turn off
antialiasing for display and export. Fixes a nearly 10 year old bug #170356 Fixed bugs: - https://launchpad.net/bugs/170356 (bzr r13144)
Diffstat (limited to 'src/desktop.cpp')
-rw-r--r--src/desktop.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/desktop.cpp b/src/desktop.cpp
index a02baeac8..234831e69 100644
--- a/src/desktop.cpp
+++ b/src/desktop.cpp
@@ -1736,6 +1736,8 @@ static void _namedview_modified (SPObject *obj, guint flags, SPDesktop *desktop)
if (flags & SP_OBJECT_MODIFIED_FLAG) {
+ desktop->getDocument()->getRoot()->setAntialiasing(nv->antialiasing);
+
/* Show/hide page background */
if (nv->pagecolor | (0xff != 0xffffffff)) {
sp_canvas_item_show (desktop->table);