diff options
| author | Krzysztof Kosi??ski <tweenk.pl@gmail.com> | 2014-03-13 04:45:38 +0000 |
|---|---|---|
| committer | Krzysztof KosiĆski <tweenk.pl@gmail.com> | 2014-03-13 04:45:38 +0000 |
| commit | e7a3f5b74d1f5a95390ee95b06371d184c1812f7 (patch) | |
| tree | 78f665a8013ebba1d57b3114744734730e4fa8b4 /src/desktop.cpp | |
| parent | Render zero-width PDF lines as 1px lines compensated for current transform. (diff) | |
| download | inkscape-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.cpp | 2 |
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); |
