Browsing StarfallEx's section
← Back to ACE
šŸ’¬

Community answer

Collected from the ACE community Discord archive around 2019-04-25. It may be informal or outdated — anyone can edit this page to improve it. Original discussion

Using icon fonts like FontAwesome in SF

⭐ StarfallUpdated 2 days ago•0 views
You can't pass a per-glyph codepoint the way tried - icon fonts need the font file loaded (render.createFont with the font, or load from file like SF does for i…

How to use FontAwesome/icon fonts and set icon codepoints in render.drawText

You can't pass a per-glyph codepoint the way tried - icon fonts need the font file loaded (render.createFont with the font, or load from file like SF does for its editor font). Remote fonts would require an HTML renderer with CSS.

Was this article helpful?

See More

Discussion(0)

No comments yet. Be the first to ask a question!

Have a question? Sign in to join the discussion.