fix font rendering
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good
This commit is contained in:
parent
837c28133a
commit
16a0eeae4f
1 changed files with 0 additions and 1 deletions
|
|
@ -123,7 +123,6 @@ static int ft2_MwTextWidth(MwFLFont ttf, const char* text) {
|
|||
text = old_text;
|
||||
}
|
||||
|
||||
tw -= ttf->face->glyph->advance.x >> 6;
|
||||
tw += ttf->face->glyph->bitmap_left + ttf->face->glyph->bitmap.width;
|
||||
|
||||
return tw + 1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue