Comparion of LogicalFontInstance::ImplGetGlyphBoundRect() between platforms

Chris Sherlock chris.sherlock79 at gmail.com
Sat Oct 15 11:13:23 UTC 2022



> On 15 Oct 2022, at 8:12 pm, Chris Sherlock <chris.sherlock79 at gmail.com> wrote:
> 
> 
> I've done some testing of LogicalFontInstance::GetGlyphBoundRect(). Each platform seems to give different values!
> 
> The commit in gerrit is: https://gerrit.libreoffice.org/c/core/+/141234

So an update… after I shifted to using Liberation Sans as the font face and added gb_CppunitTest_use_more_fonts the only platform that varies is MacOS.

Test name: VclLogicalFontInstanceTest::testglyphboundrect
equality assertion failed
- Expected: 7x9@(0,-8)
- Actual  : 7x10@(0,-8)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20221015/6cb2cb2c/attachment-0001.htm>


More information about the LibreOffice mailing list