@@ -157,7 +157,8 @@ SymbolQuads getGlyphQuads(Anchor &anchor, const Shaping &shapedText,
|
||||
}
|
||||
|
||||
// The rects have an addditional buffer that is not included in their size;
|
||||
const float rectBuffer = 3.0f;
|
||||
const float glyphPadding = 1.0f;
|
||||
const float rectBuffer = 3.0f + glyphPadding;
|
||||
|
||||
const float x1 = positionedGlyph.x + glyph.metrics.left - rectBuffer;
|
||||
const float y1 = positionedGlyph.y - glyph.metrics.top - rectBuffer;
|
||||
|
||||
Reference in New Issue
Block a user