From 26236dee0e90bb23678a6b1ec52138c7f6dde32b Mon Sep 17 00:00:00 2001 From: Bryce Harrington Date: Mon, 8 Jun 2015 12:01:23 -0700 Subject: cmake: Add some missing header files to CMakeLists.txt These were found by running cmake_consistency_check.py (bzr r14198) --- src/trace/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'src/trace') 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 -- cgit v1.2.3 From 59d0b04b1ab9af5da2df93825580a071afa521bb Mon Sep 17 00:00:00 2001 From: Nicolas Dufour Date: Mon, 22 Jun 2015 21:16:52 +0200 Subject: Tracing. Fix for Bug #1456387 (Trace Bitmap: Multiscan > Brightness steps produces mostly black result). Fixed bugs: - https://launchpad.net/bugs/1456387 (bzr r14209) --- src/trace/potrace/inkscape-potrace.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/trace') 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 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); -- cgit v1.2.3