enumeration
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
CloseFor some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.
CloseError code returned by the various FontEngine functions.
Success | Error code returned when the function was successfully executed. |
Invalid_File_Path | Error code returned by the LoadFontFace function when the file path to the source font file appears invalid. |
Invalid_File_Format | Error code returned by the LoadFontFace function when the source font file is of an unknown or invalid format. |
Invalid_File_Structure | Error code returned by the LoadFontFace function when the source font file appears invalid or improperly formatted. |
Invalid_File | Error code indicating an invalid font file. |
Invalid_Table | Error code indicating failure to load one of the tables of the font file. |
Invalid_Glyph_Index | Error code returned by the LoadGlyph function when referencing an invalid or out of range glyph index value. |
Invalid_Character_Code | Error code returned by the LoadGlyph function when referencing an invalid Unicode character value. |
Invalid_Pixel_Size | Error code returned by the LoadGlyph or SetFaceSize functions using an invalid pointSize value. |
Invalid_Library | Error code indicating failure to initialize the font engine library. |
Invalid_Face | Error code indicating an invalid font face. |
Invalid_Library_or_Face | Error code indicating failure to initialize the font engine library and / or successfully load a font face. |
Atlas_Generation_Cancelled | Error code returned when the FontEngine glyph packing or rendering process has been cancelled. |