diff options
author | Chris Loer <chris.loer@gmail.com> | 2017-11-28 13:25:15 -0800 |
---|---|---|
committer | Chris Loer <chris.loer@gmail.com> | 2017-11-29 13:50:15 -0800 |
commit | 62a99202a8fb3e8c05d4dd514bf858dab3d3849e (patch) | |
tree | 842083f74499feccb20872f21178d948a20e68ce /test | |
parent | 14bad3bccc9eb0548ae689a5f428b334986c2907 (diff) | |
download | qtlocation-mapboxgl-62a99202a8fb3e8c05d4dd514bf858dab3d3849e.tar.gz |
Moving towards configurable darwin implementation of LocalGlyphRasterizer.
Thin C++ wrappers on C calls.
Diffstat (limited to 'test')
-rw-r--r-- | test/text/glyph_manager.test.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/text/glyph_manager.test.cpp b/test/text/glyph_manager.test.cpp index a96e1b970c..a50e42236f 100644 --- a/test/text/glyph_manager.test.cpp +++ b/test/text/glyph_manager.test.cpp @@ -19,6 +19,10 @@ static constexpr const size_t stubBitmapLength = 900; class StubLocalGlyphRasterizer : public LocalGlyphRasterizer { public: + StubLocalGlyphRasterizer() + : LocalGlyphRasterizer(0) + {} + bool canRasterizeGlyph(const FontStack&, GlyphID glyphID) { return util::i18n::allowsIdeographicBreaking(glyphID); } |