jcs
/textview
/amendments
/72
TVCalcLinesLocked: height already has line->leading accounted for
jcs made amendment 72 about 1 month ago
--- tv_layout.c Wed Oct 14 17:03:19 2026
+++ tv_layout.c Wed Oct 14 17:23:39 2026
@@ -283,7 +283,7 @@ reload_chunk:
/* start of new line disregards previous line's style */
line->baseline = style->font_info.descent;
line->leading = style->font_info.leading;
- line->rect.bottom = line->rect.top + height + line->leading;
+ line->rect.bottom = line->rect.top + height;
}
if (new_line) {