summaryrefslogtreecommitdiffstats
path: root/src/trace
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2015-06-25 16:15:05 +0000
committerJabiertxof <jtx@jtx.marker.es>2015-06-25 16:15:05 +0000
commit5c2d982cc636ee4e2bc12703c01c86e245dd821f (patch)
tree6e6f22800c7d38314e14eccd486b65c3c4286d81 /src/trace
parentupdate to trunk (diff)
parentFix for the bug 1468396 (diff)
downloadinkscape-5c2d982cc636ee4e2bc12703c01c86e245dd821f.tar.gz
inkscape-5c2d982cc636ee4e2bc12703c01c86e245dd821f.zip
update to trunk
(bzr r13645.1.94)
Diffstat (limited to 'src/trace')
-rw-r--r--src/trace/CMakeLists.txt1
-rw-r--r--src/trace/potrace/inkscape-potrace.cpp2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/trace/CMakeLists.txt b/src/trace/CMakeLists.txt
index 958907df6..bf7cfa276 100644
--- a/src/trace/CMakeLists.txt
+++ b/src/trace/CMakeLists.txt
@@ -28,6 +28,7 @@ set(trace_SRC
potrace/auxiliary.h
potrace/bitmap.h
+ potrace/bitops.h
potrace/curve.h
potrace/decompose.h
potrace/greymap.h
diff --git a/src/trace/potrace/inkscape-potrace.cpp b/src/trace/potrace/inkscape-potrace.cpp
index e9e708f52..8f3bb7bdf 100644
--- a/src/trace/potrace/inkscape-potrace.cpp
+++ b/src/trace/potrace/inkscape-potrace.cpp
@@ -497,7 +497,7 @@ std::vector<TracingEngineResult> PotraceTracingEngine::traceBrightnessMulti(GdkP
if ( !d.empty() ) {
//### get style info
int grayVal = (int)(256.0 * brightnessThreshold);
- ustring style = ustring::compose("fill-opacity:1.0;fill:%1%2%3", twohex(grayVal), twohex(grayVal), twohex(grayVal) );
+ ustring style = ustring::compose("fill-opacity:1.0;fill:#%1%2%3", twohex(grayVal), twohex(grayVal), twohex(grayVal) );
//g_message("### GOT '%s' \n", style.c_str());
TracingEngineResult result(style, d, nodeCount);