mirror of
https://git.sr.ht/~calebccff/pbsplash
synced 2026-01-12 12:38:41 -09:00
text: half space char width
This commit is contained in:
parent
85fc1c0a41
commit
cc37eea120
1 changed files with 1 additions and 1 deletions
|
|
@ -1413,7 +1413,7 @@ void nsvgRasterizeText(NSVGrasterizer* r,
|
|||
shape = shapes[i];
|
||||
if (!shape) {
|
||||
if (text[i] == ' ')
|
||||
tx += charWidth;
|
||||
tx += charWidth / 2.f;
|
||||
continue;
|
||||
}
|
||||
if (!(shape->flags & NSVG_FLAGS_VISIBLE))
|
||||
|
|
|
|||
Loading…
Reference in a new issue