[Libreoffice-ux-advise] [Bug 155893] Table cell baseline misalignment when using different fonts
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Tue Jun 20 00:47:57 UTC 2023
https://bugs.documentfoundation.org/show_bug.cgi?id=155893
V Stuart Foote <vsfoote at libreoffice.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |vsfoote at libreoffice.org
--- Comment #18 from V Stuart Foote <vsfoote at libreoffice.org> ---
(In reply to Eyal Rozenberg from comment #17)
> What about the question regarding what's being aligned? Top-of-ascenders or
> mean line? Or something else?
>
> Also, if the original intention was mis-determined, then it's a design bug
> rather than an implementation bug...
IIUC we have never made direct use of the 0 base within a font. Rather, we take
the font's total height --between ascent top and descent bottom (font designers
choice with M hight plus any *internal* leading above or below) and that height
is what is alligned TOP, CENTER or BOTTOM.
Meaning that any two fonts with different metrics will ALWAYS allign
differently--there is no common base line extracted from font(s).
Try it with an exaggerated font like Styx Two.
Short of a rewrite of VCL font handling, don't see a bug here, it is doing what
is expected.
While enhancement to actually align on the 0 base would be at odds with what
other word processors do, don't see much demand there.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Libreoffice-ux-advise
mailing list