summaryrefslogtreecommitdiffstats
path: root/src/sp-item.cpp
diff options
context:
space:
mode:
authorMarc Jeanmougin <marc@jeanmougin.fr>2017-01-04 23:08:02 +0000
committerMarc Jeanmougin <marcjeanmougin@free.fr>2017-01-04 23:08:02 +0000
commitb6200950a88ac9b1bb7eee4fb7f86b01e323dbcc (patch)
tree9b1840cc9bc11003a5444995c9d4ac69812c9d88 /src/sp-item.cpp
parentincreased space for font-size. (diff)
downloadinkscape-b6200950a88ac9b1bb7eee4fb7f86b01e323dbcc.tar.gz
inkscape-b6200950a88ac9b1bb7eee4fb7f86b01e323dbcc.zip
antialiasing options on export
(bzr r15391)
Diffstat (limited to 'src/sp-item.cpp')
-rw-r--r--src/sp-item.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sp-item.cpp b/src/sp-item.cpp
index 36a9c3c9d..05af12229 100644
--- a/src/sp-item.cpp
+++ b/src/sp-item.cpp
@@ -667,7 +667,7 @@ void SPItem::update(SPCtx* ctx, guint flags) {
if (flags & SP_OBJECT_STYLE_MODIFIED_FLAG) {
for (SPItemView *v = display; v != NULL; v = v->next) {
v->arenaitem->setOpacity(SP_SCALE24_TO_FLOAT(style->opacity.value));
- v->arenaitem->setAntialiasing(style->shape_rendering.computed != SP_CSS_SHAPE_RENDERING_CRISPEDGES);
+ v->arenaitem->setAntialiasing(style->shape_rendering.computed == SP_CSS_SHAPE_RENDERING_CRISPEDGES ? 0 : 2);
v->arenaitem->setIsolation( style->isolation.value );
v->arenaitem->setBlendMode( style->mix_blend_mode.value );
v->arenaitem->setVisible(!isHidden());