diff options
author | Asheem Mamoowala <asheem.mamoowala@mapbox.com> | 2019-08-20 14:04:44 -0700 |
---|---|---|
committer | Asheem Mamoowala <asheem.mamoowala@mapbox.com> | 2019-08-20 14:04:44 -0700 |
commit | dc8382aa6f3536cc9c359b8a88744ec53891f925 (patch) | |
tree | 4807da1131644fdf0383696d93040dca7b2214e4 | |
parent | 258468d250f0d157c83db9bd8da8ecea20190b27 (diff) | |
download | qtlocation-mapboxgl-dc8382aa6f3536cc9c359b8a88744ec53891f925.tar.gz |
Correclty implement `canRasterizeGlyph` in unit test stub
-rw-r--r-- | test/text/glyph_manager.test.cpp | 2 |
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 { |