File line-spacing-fix.patch of Package rxvt-unicode

Description: use ascent, descent and height from XftFont *f instead of FT_Face face.
 this somehow reproduces the behaviour of the line height as seen on xterm.
--- src/rxvtfont.C.orig
+++ src/rxvtfont.C
@@ -1239,9 +1239,9 @@ rxvt_font_xft::load (const rxvt_fontprop
 
       FT_Face face = XftLockFace (f);
 
-      ascent  = (face->size->metrics.ascender + 63) >> 6;
-      descent = (-face->size->metrics.descender + 63) >> 6;
-      height  = max (ascent + descent, (face->size->metrics.height + 63) >> 6);
+      ascent  = f->ascent;
+      descent = f->descent;
+      height  = max (ascent + descent, f->height);
       width   = 0;
 
       bool scalable = face->face_flags & FT_FACE_FLAG_SCALABLE;
openSUSE Build Service is sponsored by