mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-09-04 01:43:40 +00:00
fix lineheight issue during wrapping
This commit is contained in:
@@ -312,6 +312,7 @@ var CPSystemTypesetterFactory;
|
||||
case ' ':
|
||||
wrapRange = CPMakeRangeCopy(lineRange);
|
||||
wrapWidth = rangeWidth;
|
||||
wrapRange._height = _lineHeight;
|
||||
break;
|
||||
|
||||
default:
|
||||
@@ -331,6 +332,7 @@ var CPSystemTypesetterFactory;
|
||||
{
|
||||
lineRange = wrapRange;
|
||||
_lineWidth = wrapWidth;
|
||||
_lineHeight = wrapRange._height;
|
||||
}
|
||||
|
||||
isNewline = YES;
|
||||
|
||||
Reference in New Issue
Block a user