formatting

This commit is contained in:
daboe01 committed 2015-05-10 18:03:42 +02:00
1 parent 1f912d86e1
commit 3c32c4160d
1 file changed
+2 -2
+2 -2
View File
@@ -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
}