summaryrefslogtreecommitdiffstats
path: root/src/libnrtype
diff options
context:
space:
mode:
authorAlvin Penner <penner@vaxxine.com>2012-02-26 17:18:08 +0000
committerapenner <penner@vaxxine.com>2012-02-26 17:18:08 +0000
commit8b4b7fade08ed8e41ed8cc4e2f4032544cb4f0e5 (patch)
treebcf9d9c8153993839362b35d4f619c2df6fb81c4 /src/libnrtype
parentReplace deprecated GTK_TYPE macros (diff)
downloadinkscape-8b4b7fade08ed8e41ed8cc4e2f4032544cb4f0e5.tar.gz
inkscape-8b4b7fade08ed8e41ed8cc4e2f4032544cb4f0e5.zip
emf output. loosen the tolerance on text positioning (Bug 939688)
Fixed bugs: - https://launchpad.net/bugs/939688 (bzr r11020)
Diffstat (limited to 'src/libnrtype')
-rw-r--r--src/libnrtype/Layout-TNG-Output.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libnrtype/Layout-TNG-Output.cpp b/src/libnrtype/Layout-TNG-Output.cpp
index 8546e706f..07ed6062f 100644
--- a/src/libnrtype/Layout-TNG-Output.cpp
+++ b/src/libnrtype/Layout-TNG-Output.cpp
@@ -195,7 +195,7 @@ void Layout::print(SPPrintContext *ctx,
} while (glyph_index < _glyphs.size()
&& _path_fitted == NULL
&& _characters[_glyphs[glyph_index].in_character].in_span == this_span_index
- && fabs(char_x - _characters[_glyphs[glyph_index].in_character].x) < 1e-5);
+ && fabs(char_x - _characters[_glyphs[glyph_index].in_character].x) < 1e-4);
sp_print_bind(ctx, glyph_matrix, 1.0);
sp_print_text(ctx, span_string.c_str(), g_pos, text_source->style);
sp_print_release(ctx);