Update LCD glyph width expectation in TestType1Face Adjust expected LCD glyph width in TestType1Face from 18 to 24 to account for 5-tap LCD filter padding. This test currently early-exits on CQ because bots do not pass --fontations when running unittests, but needs to be corrected before bots run unittests with the Fontations backend. Change-Id: I1505af87d046b34b502154a368052f1938a33c1e Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/159030 Commit-Queue: Tom Sepez <tsepez@chromium.org> Reviewed-by: Lei Zhang <thestig@chromium.org>
diff --git a/core/fxge/skrifa/fx_skrifa_unittest.cpp b/core/fxge/skrifa/fx_skrifa_unittest.cpp index 7939c97..8855225 100644 --- a/core/fxge/skrifa/fx_skrifa_unittest.cpp +++ b/core/fxge/skrifa/fx_skrifa_unittest.cpp
@@ -293,7 +293,7 @@ FontAntiAliasingMode::kLcd, /*subst_font=*/nullptr); ASSERT_TRUE(glyph_lcd); EXPECT_TRUE(glyph_lcd->GetBitmap()); - EXPECT_EQ(glyph_lcd->GetBitmap()->GetWidth(), 18); + EXPECT_EQ(glyph_lcd->GetBitmap()->GetWidth(), 24); EXPECT_EQ(glyph_lcd->GetBitmap()->GetHeight(), 7); auto glyph_mono =