Skip to content

Commit

Permalink
script
Browse files Browse the repository at this point in the history
  • Loading branch information
KeShih committed Oct 26, 2024
1 parent ad3e7cf commit bc0ea88
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/Plugins/Freetype/tt_tools.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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];
}

Expand Down
2 changes: 1 addition & 1 deletion src/Plugins/Freetype/unicode_font.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit bc0ea88

Please sign in to comment.