-
Notifications
You must be signed in to change notification settings - Fork 87
ttf fnt
Chris Petersen edited this page Oct 16, 2014
·
4 revisions
ttf->fnt returns a scheme font for runtime use.
Parameter | Description |
---|---|
fname | TTF file name |
pointsize | Font size to build |
glyphlist | Optional: List of characters to render |
Example 1: Render a font at runtime and display some text made with it on the screen.
(set! my-fnt (ttf->fnt "fonts/cmss.ttf" 30))
(glgui-label gui 5 50 300 30 "This is a 30pt font test!" my-fnt White)
-
- accelerometer
- alist
- audio
- audioaux
- base64
- btle-scan
- camera
- cdb
- cgi
- config
- csv
- curl
- digest
- dmtx
- download
- eventloop
- fcgi
- fft
- generalized-arrays
- gps
- graph
- gyro
- hidapi
- hpdf
- html
- httpsclient
- hybridapp
- json
- lmdb
- ln_core
- ln_glcore
- ln_glgui
- ln_store
- localization
- localization_gui
- localnotification
- magnetometer
- mdns
- mqtt
- mqtt-store
- multitouch
- oauth
- orientation
- p256ecdsa
- png
- portaudio
- pregexp
- pressure
- prime
- pushnotification
- redcap
- rsa
- rtaudio
- rupi
- rotation
- sanestring
- scheduler
- serial
- sets
- settings
- simplexnoise
- sqlite
- ssax
- syntax-case
- timestamp
- ttf
- uiform
- url
- uuid
- vibrate
- videoplayer
- watchdog
- website
- xml
- zip