summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMinh Nguyễn <mxn@1ec5.org>2020-03-01 11:38:36 -0800
committerMinh Nguyễn <mxn@1ec5.org>2020-04-24 13:46:40 -0700
commit52d4c5e222cafb48139a2dfcd3eec46fe38b857d (patch)
tree67ba6f66cf0fe21fb0c78054097ec21fcd7fbe22 /test
parentcb3d9eab498210c35870d1548cdcda9372e34404 (diff)
downloadqtlocation-mapboxgl-52d4c5e222cafb48139a2dfcd3eec46fe38b857d.tar.gz
[ios, macos] Corrected PingFang test fixture
PingFangTC-Regular is better than PingFangTC-Thin. There is no font by the name “PingFang”.
Diffstat (limited to 'test')
-rw-r--r--test/fixtures/local_glyphs/ping_fang/expected.pngbin17731 -> 18202 bytes
-rw-r--r--test/text/local_glyph_rasterizer.test.cpp2
2 files changed, 1 insertions, 1 deletions
diff --git a/test/fixtures/local_glyphs/ping_fang/expected.png b/test/fixtures/local_glyphs/ping_fang/expected.png
index 8c891a5232..c769fd19f9 100644
--- a/test/fixtures/local_glyphs/ping_fang/expected.png
+++ b/test/fixtures/local_glyphs/ping_fang/expected.png
Binary files 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);