match_font_fallback method

match_font_fallback

This method is called if there is no appropriate font found in the fonts lookup folders. It should return true type font based on the font_matching_properties which can render char_code, or null if such font is not available.

Returns

A byte array containing the fonts data or null.

def match_font_fallback(self, font_matching_properties, char_code):
    ...
ParameterTypeDescription
font_matching_propertiesFontMatchingPropertiesProperties of the matched font.
char_codeintCode of the character which will be rendered using the matched font.

See Also