diff --git a/src/Plugins/Freetype/tt_tools.cpp b/src/Plugins/Freetype/tt_tools.cpp index dfbb08f02..5d40e83d5 100644 --- a/src/Plugins/Freetype/tt_tools.cpp +++ b/src/Plugins/Freetype/tt_tools.cpp @@ -438,8 +438,8 @@ MathKernInfoRecord::get_kerning (int height, bool top, bool left) { } } } - cout << "get_kerning : height " << height << " -> " << idx << " -> " - << kt.kernValues[idx] << LF; + // cout << "get_kerning : height " << height << " -> " << idx << " -> " + // << kt.kernValues[idx] << LF; return kt.kernValues[idx]; } diff --git a/src/Plugins/Freetype/unicode_font.cpp b/src/Plugins/Freetype/unicode_font.cpp index 1ac1c0095..1ec3e6e16 100644 --- a/src/Plugins/Freetype/unicode_font.cpp +++ b/src/Plugins/Freetype/unicode_font.cpp @@ -989,7 +989,7 @@ unicode_font_rep::get_rsup_correction (string s) { if (has_ic || has_kern) { // for integral signs, we use 2/5 of italic correction for rsup - if (is_ot_integral (s)) ic= (SI) (ic * 0.45); + if (is_ot_integral (s)) ic= (SI) (0.4 * ic); SI r= ic + kern; // cout << "get_rsup_correction for: " << s << " " << rr << LF; return r;