Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:siegel
rxvt-unicode
line-spacing-fix.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
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;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor