[ios] Adjust local glyphs (#122)

This commit is contained in:
honjo2
2021-07-12 18:38:31 +09:00
committed by GitHub
parent 758ea28de6
commit 043a06d803

View File

@@ -256,7 +256,7 @@ PremultipliedImage drawGlyphBitmap(GlyphID glyphID, CTFontRef font, GlyphMetrics
// Mimic glyph PBF metrics.
metrics.left = Glyph::borderSize;
metrics.top = -1;
metrics.top = 4;
// Move the text upward to avoid clipping off descenders.
CGFloat descent;