summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAsheem Mamoowala <asheem.mamoowala@mapbox.com>2019-08-20 14:04:44 -0700
committerMikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com>2019-08-21 12:00:26 +0300
commit0c017c3e49f99db8df405bf6876c0610bd512cec (patch)
treeb7b25331c8737d7b72f0dc6d0bc0823e94137eca /test
parent0e3a7416e51ced540f14ae955d217551ff3f66a4 (diff)
downloadqtlocation-mapboxgl-0c017c3e49f99db8df405bf6876c0610bd512cec.tar.gz
Correclty implement `canRasterizeGlyph` in unit test stub
Diffstat (limited to 'test')
-rw-r--r--test/text/glyph_manager.test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/text/glyph_manager.test.cpp b/test/text/glyph_manager.test.cpp
index 1193780631..8c84bd5d08 100644
--- a/test/text/glyph_manager.test.cpp
+++ b/test/text/glyph_manager.test.cpp
@@ -20,7 +20,7 @@ static constexpr const size_t stubBitmapLength = 900;
class StubLocalGlyphRasterizer : public LocalGlyphRasterizer {
public:
bool canRasterizeGlyph(const FontStack&, GlyphID glyphID) override {
- return util::i18n::allowsIdeographicBreaking(glyphID);
+ return util::i18n::allowsFixedWidthGlyphGeneration(glyphID);
}
Glyph rasterizeGlyph(const FontStack&, GlyphID glyphID) override {