render: font: Simplify implementation with texture regions.
authorDavid Thompson <dthompson2@worcester.edu>
Sat, 11 Nov 2017 04:15:07 +0000 (23:15 -0500)
committerDavid Thompson <dthompson2@worcester.edu>
Sat, 11 Nov 2017 04:21:22 +0000 (23:21 -0500)
commit45c5d68092d713dee1969c590a5e9f52745021a6
treeab6d14e3f45b2bd272cc5e1915110273a984e09a
parent6eccb1070de640e6bfdef46ba4c4d96cfaa375b8
render: font: Simplify implementation with texture regions.

* chickadee/render/font.scm (<font-char>) [texture, region]: Remove.
[texture-region]: New field.
(load-font): Use texture regions.
(draw-text): Render using texture regions.
chickadee/render/font.scm