Closed GoogleCodeExporter closed 9 years ago
Note that Arial may have to be installed on your system for this error to occur
at this font size.
Original comment by wilbert....@gmail.com
on 8 Jan 2014 at 10:27
Something seems to go wrong while setting the glyph size. It generates a glyph
of only 5x11 pixels.
Original comment by Silveste...@gmail.com
on 2 Dec 2014 at 10:45
Ow, that's because it is rendered twice. Once in a smaller size (12). Need to
find out why that happens too.
Original comment by Silveste...@gmail.com
on 2 Dec 2014 at 10:49
What happens:
Glyphs are stored together in textures. Default size for these textures is
256x256.
t is 98x276, which does not fit, so texture of 196x552 is created
r and a still fit in this same texture
However w is 277x202 and here texture.fit breaks.
Original comment by Silveste...@gmail.com
on 2 Dec 2014 at 11:09
texture.fit did not check whether the image would fit in width after moving to
the next row. Added check to see whether the image would actually fit the
texture at all.
Original comment by Silveste...@gmail.com
on 2 Dec 2014 at 11:19
Fixed in my repo: https://code.google.com/r/silvester747-bugfix/
I also improved the logic for scaling the texture size a bit.
Original comment by Silveste...@gmail.com
on 2 Dec 2014 at 11:36
Submitted fix to BitBucket repo.
Original comment by Silveste...@gmail.com
on 20 Jan 2015 at 3:59
Original issue reported on code.google.com by
wilbert....@gmail.com
on 25 Nov 2013 at 7:13