takkaO / OpenFontRender

TTF font render support library for microcomputer.
Other
105 stars 16 forks source link

Meaning of error code #14

Closed jie326513988 closed 1 year ago

jie326513988 commented 1 year ago

Hi When I use loadFont, it returns FTC Manager LookupFace error: 0x02, but I can't find the document to explain the meaning of the error code. Can you help me.

takkaO commented 1 year ago

Hi @jie326513988 Thank you for using this library 😊

Error codes are from the FreeType library. FreeType Errors

0x02 mean unknown file format, your font file is not True Type Font.

jie326513988 commented 1 year ago

嗨@jie326513988感谢您使用此库😊

错误代码来自 FreeType 库。自由类型错误

0x02的意思是,您的字体文件不是真实类型字体。unknown file format

Thank you very much. Your library is great