DavidKinder / Windows-Glk

Windows implementation of Andrew Plotkin's Glk specification.
MIT License
10 stars 3 forks source link

Custom Font Patch #3

Closed silverslade closed 8 years ago

silverslade commented 8 years ago

Before loading the glk system, this patch will load a custom font getting the name from the config file i.e.

[CUSTOM] CustomFont=xxx.ttf

the "xxx.ttf" font file will be loaded (and used) from the system. At the next system reboot, the added font will be deleted.

DavidKinder commented 8 years ago

I've implemented this somewhat differently from your patch: I've put it in the existing config file reading code, as a new option "FontFile": see commit 0b113d4.