Honor vertical subpixel positions

Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
Antonio Scandurra 2021-03-24 18:35:48 +01:00
parent bc977fc873
commit 5f3dbb05d6
4 changed files with 28 additions and 19 deletions

View file

@ -272,7 +272,7 @@ impl Renderer {
glyph.font_id,
glyph.font_size,
glyph.id,
glyph.origin.x(),
glyph.origin,
scene.scale_factor(),
) {
sprites_by_atlas