summaryrefslogtreecommitdiff
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-22 20:48:04 -0700
commit4ce2d5a1d4f236e88c04c4307eaad77963563bd8 (patch)
tree168c55b2934ca7cc6af5bd0022cc1f430dc73fc0
parent1798bda98112dce54f3577b54d6e73eb21483bbc (diff)
downloadqtlocation-mapboxgl-4ce2d5a1d4f236e88c04c4307eaad77963563bd8.tar.gz
[ios, macos] Corrected PingFang test fixture
PingFangTC-Regular is better than PingFangTC-Thin. There is no font by the name “PingFang”.
-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);