diff options
-rw-r--r-- | src/xftfont.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xftfont.c b/src/xftfont.c index 9474283c218..e533fd73791 100644 --- a/src/xftfont.c +++ b/src/xftfont.c @@ -360,7 +360,7 @@ xftfont_open (f, entity, pixel_size) int upEM = ft_face->units_per_EM; font->underline_position = -ft_face->underline_position * size / upEM; - font->underline_thickness = -ft_face->underline_thickness * size / upEM; + font->underline_thickness = ft_face->underline_thickness * size / upEM; if (font->underline_thickness > 2) font->underline_position -= font->underline_thickness / 2; } |