#unicode #dont #font #awesome #name #magic #game-engine

font-awesome

A typed manifest of constants of Font Awesome unicode code points

2 unstable releases

0.2.0 Oct 25, 2021
0.1.0 Aug 2, 2021

#1036 in Game dev

Download history 1/week @ 2024-07-29 9/week @ 2024-09-02 18/week @ 2024-09-23 2/week @ 2024-09-30 19/week @ 2024-10-14 23/week @ 2024-10-21 25/week @ 2024-10-28 4/week @ 2024-11-04 8/week @ 2024-11-11

68 downloads per month
Used in hotline-rs

MIT license

125KB
4K SLoC

font-awesome

This is a library for getting font-awesome unicode codepoints without using magic names. Presently (0.1.0), it only supports the free, bold icons, and all of the typings are handmade. In the future, if time permits, it may get more complicated.

Game engines may find this to be useful, so that these magic characters can be referenced by name in code, rather than written out fully.

Additionally, it exposes a function which will provide a fat array of all of these in one. That function is marked as const, and should probably be used to load a const if you intend to use that, rather than putting them all on the stack.

This library is in no way endorsed or supported by FontAwesome directly, and I don't know if that's a problem.

No runtime deps