mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-05 16:42:58 +00:00
formatting
This commit is contained in:
1 parent
1f912d86e1
commit
3c32c4160d
1 file changed
+2
-2
@@ -288,8 +288,8 @@ var CPSystemTypesetterFactory;
|
||||
if (!_currentFont)
|
||||
_currentFont = [_textStorage font] || [CPFont systemFontOfSize:12.0];
|
||||
|
||||
ascent = ["x" sizeWithFont:_currentFont inWidth:NULL].height; //FIXME
|
||||
descent = 0; //FIXME
|
||||
ascent = ["x" sizeWithFont:_currentFont inWidth:NULL].height; //FIXME [_currentFont ascender]
|
||||
descent = 0; //FIXME [_currentFont descender]
|
||||
leading = (ascent - descent) * 0.2; // FAKE leading
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user