Commit d235ed18 authored by Stephanie Gawroriski's avatar Stephanie Gawroriski
Browse files

Add isValid() method to SQFFont; Add note in changelog about fixed empty strings.

parent 3a6ffaee
......@@ -98,6 +98,7 @@ More detailed changes:
allows all of the graphics drawing functions to be forwarded when
graphics acceleration is used, previously only a subset of methods were
* Fixed crash in text drawing when an empty string is drawn.
* Fully drawn default fonts.
* Made all the graphics operations not throw a `TODO`, instead they will
just draw a placeholder graphic.
......@@ -143,6 +143,20 @@ public final class SQFFont
return charwidths[__c];
* Is the specified character valid?
* @param __c The character to check.
* @return If the character is valid.
* @since 2019/06/16
public final boolean isValid(char __c)
if (__c > 256)
return false;
return this._isvalidchar[__c];
* Loads the bitmap
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment