summaryrefslogtreecommitdiff
path: root/2d/font.scm
Commit message (Collapse)AuthorAgeFilesLines
* Rewrite font module.David Thompson2014-02-161-82/+106
| | | | | | | | | | | | | | FTGL has been dropped in favor of SDL_ttf. * 2d/font: Rewrite everything! * 2d/wrappers/ftgl.scm: Delete it. * configure.ac: Check for SDL_ttf. * data/Makefile.am (shaders_DATA): Add font shaders. * data/shaders/font-fragment.glsl: New shader. * data/shaders/font-vertex.glsl: New shader. * examples/font.scm: Rewrite font example. * examples/fonts/AUTHORS: Delete it. * examples/fonts/Boxy-Bold.ttf: Delete it.
* Don't load default font upon module import.David Thompson2014-02-151-3/+3
| | | | | * 2d/font.scm (default-font): Delete variable. (load-default-font): New procedure.
* Add a convenient default font.David Thompson2014-02-111-1/+6
| | | | | | | | | * data/fonts/DejaVuSans.ttf: New file. * data/fonts/AUTHORS: New file. * data/Makefile.am: New file. * configure.ac (AC_CONFIG_FILES): Add 'data/Makefile'. * Makefile.am (SUBDIRS): Add 'data'. * 2d/font.scm (default-font): New variable.
* Don't export font-ftgl-font procedure.David Thompson2014-01-261-1/+0
| | | | * 2d/font.scm: Remove font-ftgl-font from export list.
* Clean up docstrings in font module.David Thompson2013-09-151-2/+5
|
* Rename apply-color to use-color.David Thompson2013-08-271-1/+1
|
* Add procedures to perform a gl-translate or gl-scale given a vector2 object.David Thompson2013-08-271-8/+7
|
* Replace old vector module with new vector2 module.David Thompson2013-08-271-1/+1
|
* Make the origin the top-left corner of the window again.David Thompson2013-08-261-3/+14
|
* Create textbox type.David Thompson2013-08-181-12/+43
|
* Change render-font to draw-font and don't any matrix or color manipulation.David Thompson2013-08-181-8/+7
|
* Change render-font procedure.David Thompson2013-08-181-13/+37
|
* Use color module in font module.David Thompson2013-08-171-1/+2
|
* Create basic font module.David Thompson2013-08-171-0/+54