-
Notifications
You must be signed in to change notification settings - Fork 219
Custom Fallback Fonts
OpenSpades 0.0.10 added support for Unicode characters by using "fallback fonts".
When font rendering subsystem has to render a character, it first searches built-in font, which covers most of Latin-1 charset, for the matching glyph. When one was not found, it searches externally provided fonts called "fallback fonts".
Currently convenient way to create fallback fonts is not provided. Instead you have to compile an conversion software called BdfToOSFont
. Because of the complexity of BDF format, this software doesn't handle BDF font files in a correct way, so you're likely to have to modify the source code before compiling it, for successful conversion.
You can compile BdfToOSFont
simply with this command: g++ -std=c++11 BdfToOSFont.cpp -o BdfToOSFont
This wiki is in the middle of an update process to match the latest changes of OpenSpades 0.1.2
It may contain outdated, incorrect or incomplete information.
Please contact the repository owner (@yvt) via email or ask a question in the issue tracker if there is any obscure information you are looking for that can't be found in neither the source code nor in this wiki.