Adjust font hights so underscores are not cut off
This commit is contained in:
committed by
Pasi Kallinen
parent
b8dc070d07
commit
6dc9ac1c31
+1
-1
@@ -794,7 +794,7 @@ nhFontHeight(Widget w, int win_type)
|
||||
#ifdef USE_XFT
|
||||
|
||||
XftFont *font = X11_new_font(w, 0, win_type);
|
||||
Dimension height = font->height;
|
||||
Dimension height = X11_font_height(font);
|
||||
X11_release_font(w, font);
|
||||
return height;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user