From 8b4b7fade08ed8e41ed8cc4e2f4032544cb4f0e5 Mon Sep 17 00:00:00 2001 From: Alvin Penner Date: Sun, 26 Feb 2012 12:18:08 -0500 Subject: emf output. loosen the tolerance on text positioning (Bug 939688) Fixed bugs: - https://launchpad.net/bugs/939688 (bzr r11020) --- src/libnrtype/Layout-TNG-Output.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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); -- cgit v1.2.3