Re: Comparion of LogicalFontInstance::ImplGetGlyphBoundRect() between platforms

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On Sun, Oct 16, 2022 at 2:07 AM Caolán McNamara <caolanm@xxxxxxxxxx> wrote:
On Sat, 2022-10-15 at 22:13 +1100, Chris Sherlock wrote:
> 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)

And what if you use a larger font size. say font size 110 instead of
11, maybe its a hinting related thing.

Just tried, looks like it is out by 1.

Test name: VclLogicalFontInstanceTest::testglyphboundrect
equality assertion failed
- Expected: 51x82@(7,-80)
- Actual  : 51x83@(7,-80)
 

[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux