diff options
| author | Nicolas Dufour <nicoduf@yahoo.fr> | 2015-06-22 19:16:52 +0000 |
|---|---|---|
| committer | JazzyNico <nicoduf@yahoo.fr> | 2015-06-22 19:16:52 +0000 |
| commit | 59d0b04b1ab9af5da2df93825580a071afa521bb (patch) | |
| tree | d6e4b068bdd94c3f78787a5bdb503ae5a42ddf9a /src/trace | |
| parent | Add simple GUI for 'font-feature-settings'. (diff) | |
| download | inkscape-59d0b04b1ab9af5da2df93825580a071afa521bb.tar.gz inkscape-59d0b04b1ab9af5da2df93825580a071afa521bb.zip | |
Tracing. Fix for Bug #1456387 (Trace Bitmap: Multiscan > Brightness steps produces mostly black result).
Fixed bugs:
- https://launchpad.net/bugs/1456387
(bzr r14209)
Diffstat (limited to 'src/trace')
| -rw-r--r-- | src/trace/potrace/inkscape-potrace.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); |
