From 52d4c5e222cafb48139a2dfcd3eec46fe38b857d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Minh=20Nguy=E1=BB=85n?= Date: Sun, 1 Mar 2020 11:38:36 -0800 Subject: [ios, macos] Corrected PingFang test fixture MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PingFangTC-Regular is better than PingFangTC-Thin. There is no font by the name “PingFang”. --- test/fixtures/local_glyphs/ping_fang/expected.png | Bin 17731 -> 18202 bytes test/text/local_glyph_rasterizer.test.cpp | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/test/fixtures/local_glyphs/ping_fang/expected.png b/test/fixtures/local_glyphs/ping_fang/expected.png index 8c891a5232..c769fd19f9 100644 Binary files a/test/fixtures/local_glyphs/ping_fang/expected.png and b/test/fixtures/local_glyphs/ping_fang/expected.png differ diff --git a/test/text/local_glyph_rasterizer.test.cpp b/test/text/local_glyph_rasterizer.test.cpp index d109b28f32..6e266fa7be 100644 --- a/test/text/local_glyph_rasterizer.test.cpp +++ b/test/text/local_glyph_rasterizer.test.cpp @@ -55,7 +55,7 @@ public: #if defined(__APPLE__) TEST(LocalGlyphRasterizer, PingFang) { - LocalGlyphRasterizerTest test(std::string("PingFang")); + LocalGlyphRasterizerTest test(std::string("PingFang TC")); test.fileSource->glyphsResponse = [&] (const Resource& resource) { EXPECT_EQ(Resource::Kind::Glyphs, resource.kind); -- cgit v1.2.1