- 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
14 lines
277 B
C++
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
|