]> git.tdb.fi Git - ttf2png.git/commit
Allocate slightly larger image when creating packed texture
authorMikko Rasa <tdb@tdb.fi>
Thu, 3 May 2018 17:19:10 +0000 (20:19 +0300)
committerMikko Rasa <tdb@tdb.fi>
Thu, 3 May 2018 17:19:10 +0000 (20:19 +0300)
commit2894ee8a8f6d5852f3cbda1e5b6f64e03d2356e9
tree3bfb760a593601a4ccc3002142b180af17729365
parentc7b77aeb1a478f53c47d2aa08e7cc7728aa0898b
Allocate slightly larger image when creating packed texture

When rendering a very small number of glyphs the packing imperfections
become more pronounced, overflowing the allocated area more easily.
ttf2png.c