Font leading is not the total height of the font
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12584 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
7bdfb0d996
commit
46a20a9b71
@ -55,7 +55,8 @@ FontStyle::FontStyle(const char *filepath, FT_Face face)
|
||||
fID=0;
|
||||
fHeight.ascent=face->ascender;
|
||||
fHeight.descent=face->descender;
|
||||
fHeight.leading=face->height;
|
||||
// TODO: Fix this
|
||||
fHeight.leading=/*face->height;*/ 0;
|
||||
fHeight.units_per_em=face->units_per_EM;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user