projects
/
ttf-to-distfield.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
fb02927
)
Use texCoords instead of tex_coords to match standard JavaScript fields.
master
author
Joe Wreschnig
<joe.wreschnig@gmail.com>
Sun, 9 Jun 2013 22:37:31 +0000
(
00:37
+0200)
committer
Joe Wreschnig
<joe.wreschnig@gmail.com>
Sun, 9 Jun 2013 22:37:31 +0000
(
00:37
+0200)
ttf-to-distfield.cpp
patch
|
blob
|
history
diff --git
a/ttf-to-distfield.cpp
b/ttf-to-distfield.cpp
index 231ff50cb8f6e01cc81e0f0669737d138b7b1f67..906c4c9edda748cf6ff9d2c68b2371d1ec6723c3 100644
(file)
--- a/
ttf-to-distfield.cpp
+++ b/
ttf-to-distfield.cpp
@@
-355,7
+355,7
@@
int main(int argc, char **argv) {
glyph.advance_x, glyph.advance_y);
fprintf(f, " \"offset\": [%g, %g],\n",
glyph.left, glyph.top);
- fprintf(f, " \"tex
_c
oords\": [%g, %g, %g, %g]\n",
+ fprintf(f, " \"tex
C
oords\": [%g, %g, %g, %g]\n",
glyph.u0, glyph.v0, glyph.u1, glyph.v1);
fprintf(f, " }");
total.blit(glyph.pixels, glyph.x, glyph.y);