From bc981e4e5acef4558cfa547256cb76097cd0e3d6 Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Mon, 6 Apr 2009 11:08:56 +0000 Subject: [PATCH] (xftfont_open): Fix setting font->underline_thickness. --- src/xftfont.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.39.5