C 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, Pictogr
C 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, Pictogr
Support the development and maintenance of IconFontCppHeaders through GitHub Sponsors or Patreon.
https://github.com/juliettef/IconFontCppHeaders
C and C++ headers, C# and Python classes, Rust files and Go packages for icon fonts Font Awesome, Fork Awesome, Google Material Design, Pictogrammers Material Design icons, Kenney game icons, Fontaudio, Codicons and Lucide.
A set of language files for using icon fonts in C, C++, C#, Python, Rust and Go, along with the python script we used to create the files.
Each language file contains defines for one font, with each icon code point defined as ICON_*, along with the min, max and max 16 bit code points for font loading purposes. The min excludes the ASCII characters code points. The max 16 bit is for use with libraries that only support 16 bit code points, for example Dear ImGui.
In addition you can use the python script to convert ttf font files to C and C++ headers.
Each ttf icon font file is converted to a C and C++ header file containing a single array of bytes.
To enable conversion, run the GenerateIconFontCppHeaders.py script with ttf2headerC = True.
The following table lists all the language files for each icon font included in the IconFontCppHeaders repository.
(* For Go see also font.go and go.mod)
No open issues yet, or sync has not completed.