mirror of
https://git.sr.ht/~calebccff/pbsplash
synced 2026-01-12 20:48:40 -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];
|
shape = shapes[i];
|
||||||
if (!shape) {
|
if (!shape) {
|
||||||
if (text[i] == ' ')
|
if (text[i] == ' ')
|
||||||
tx += charWidth;
|
tx += charWidth / 2.f;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (!(shape->flags & NSVG_FLAGS_VISIBLE))
|
if (!(shape->flags & NSVG_FLAGS_VISIBLE))
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue