Correclty implement canRasterizeGlyph in unit test stub
This commit is contained in:
committed by
Mikhail Pozdnyakov
parent
0e3a7416e5
commit
0c017c3e49
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user