juliettef/IconFontCppHeaders
FreeC and C++ headers, C# and Python classes, Rust files and Go package for icon fonts Font Awesome, Fork Awesome, Google Material Design icons and symbols, Pictogrammers Material Design icons, Kenney game icons, Fontaudio, Codicons and Lucide.
About juliettef/IconFontCppHeaders
IconFontCppHeaders is an open-source project that generates C and C++ headers, C# and Python classes, Rust files, and Go packages for popular icon fonts, including Font Awesome, Fork Awesome, Google Material Design icons, Pictogrammers Material Design icons, Kenney game icons, Fontaudio, Codicons, and Lucide. It maps icon names to their Unicode codepoints, allowing developers to easily use icon fonts in their applications without manually looking up character codes. The project provides pre-generated files for multiple font versions and supports both free and pro variants where available.
Key Features
Pros & Cons
- Saves time by providing pre-generated mappings for popular icon fonts
- Wide language support (C, C++, C#, Python, Rust, Go)
- Covers many font families including free and pro versions
- No runtime dependencies; just include the generated header or class
- Actively maintained with frequent updates for new icon font versions
- Limited to the icon fonts that are bundled; custom fonts require manual additions
- Generated files can become large for comprehensive icon sets
- Only provides constants; actual font rendering still requires a font loading library
- Some pro versions (e.g., Font Awesome Pro) require separate font files and licenses