https://bugs.documentfoundation.org/show_bug.cgi?id=128687

--- Comment #4 from V Stuart Foote <[email protected]> ---
(In reply to Caolán McNamara from comment #3)
> is it speculation or something you're able to check ? I'm not sure what we
> should do differently, we're deriving mnIntLeading from the rounded values.

Hmm, am I reading the code for mnIntLeading wrong?

derived at line 379         mnIntLeading = mnAscent + mnDescent - mnHeight;

the scaled mnAscent is converted and rounded, at line 374
the scaled mnDescent is converted and rounded, at line 375

but mnHeight remains as read from font metric, at line 83, with no scaling, nor
a conversion to float for rounding. Wouldn't that make a result for
mnIntLeading questionable.

Otherwise, will try to work up a sample text with: scaled, underlined, bolded,
and combining diacritics, with representative fonts, that should show any
effect of incorrect internal leading.

@Khaled, any input?

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to