Files
MapLibreParticleLab/platform/default/local_glyph_rasterizer.cpp
Chris Loer 1661af1cb4 [core] Enable local glyph generation using TinySDF.
- Platform-specific LocalGlyphRasterizer is responsible for deciding which glyphs to rasterize locally and for implementing the rasterization.
 - Default platform implementation doesn't locally generate any glyphs -> no behavior change
 - Unit test uses StubLocalGlyphRasterizer, which returns a single fixed bitmap for all CJK glyphs
 - Rename glyph_loader.test to glyph_manager.test
2017-12-11 10:43:00 -08:00

14 lines
277 B
C++

#include <mbgl/text/local_glyph_rasterizer.hpp>
namespace mbgl {
bool LocalGlyphRasterizer::canRasterizeGlyph(const FontStack&, GlyphID) {
return false;
}
Glyph LocalGlyphRasterizer::rasterizeGlyph(const FontStack&, GlyphID) {
return Glyph();
}
} // namespace mbgl