Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
I

IconFontCppHeaders

> 设计协作
Open source

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

1.5K stars0 likes2 views
WebsiteGitHub

About

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.

IconFontCppHeaders

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.

Language Files

The following table lists all the language files for each icon font included in the IconFontCppHeaders repository.

Abbr Icon Font C, C++ C# Python Go (*) Rust
FA Font Awesome 4 IconsFontAwesome4.h IconsFontAwesome4.cs IconsFontAwesome4.py IconsFontAwesome4.go IconsFontAwesome4.rs
FA Font Awesome 5 free IconsFontAwesome5.h IconsFontAwesome5Brands.h IconsFontAwesome5.cs IconsFontAwesome5Brands.cs IconsFontAwesome5.py IconsFontAwesome5Brands.py IconsFontAwesome5.go IconsFontAwesome5Brands.go IconsFontAwesome5.rs IconsFontAwesome5Brands.rs
FA Font Awesome 5 pro IconsFontAwesome5Pro.h IconsFontAwesome5ProBrands.h IconsFontAwesome5Pro.cs IconsFontAwesome5ProBrands.cs IconsFontAwesome5Pro.py IconsFontAwesome5ProBrands.py IconsFontAwesome5Pro.go IconsFontAwesome5ProBrands.go IconsFontAwesome5Pro.rs IconsFontAwesome5ProBrands.rs
FA Font Awesome 6 free IconsFontAwesome6.h IconsFontAwesome6Brands.h IconsFontAwesome6.cs IconsFontAwesome6Brands.cs IconsFontAwesome6.py IconsFontAwesome6Brands.py IconsFontAwesome6.go IconsFontAwesome6Brands.go IconsFontAwesome6.rs IconsFontAwesome6Brands.rs
FA Font Awesome 7 free IconsFontAwesome7.h IconsFontAwesome7Brands.h IconsFontAwesome7.cs IconsFontAwesome7Brands.cs IconsFontAwesome7.py IconsFontAwesome7Brands.py IconsFontAwesome7.go IconsFontAwesome7Brands.go IconsFontAwesome7.rs IconsFontAwesome7Brands.rs
FK Fork Awesome IconsForkAwesome.h IconsForkAwesome.cs IconsForkAwesome.py IconsForkAwesome.go IconsForkAwesome.rs
MD Google Material Design IconsMaterialDesign.h IconsMaterialDesign.cs IconsMaterialDesign.py IconsMaterialDesign.go IconsMaterialDesign.rs
MS Google Material Symbols IconsMaterialSymbols.h IconsMaterialSymbols.cs IconsMaterialSymbols.py IconsMaterialSymbols.go IconsMaterialSymbols.rs
MDI Pictogrammers Material Design IconsMaterialDesignIcons.h IconsMaterialDesignIcons.cs IconsMaterialDesignIcons.py IconsMaterialDesignIcons.go IconsMaterialDesignIcons.rs
KI Kenney Game IconsKenney.h IconsKenney.cs IconsKenney.py IconsKenney.go IconsKenney.rs
FAD Fontaudio IconsFontaudio.h IconsFontaudio.cs IconsFontaudio.py IconsFontaudio.go IconsFontaudio.rs
CI Codicons IconsCodicons.h IconsCodicons.cs IconsCodicons.py IconsCodicons.go IconsCodicons.rs
LC Lucide IconsLucide.h IconsLucide.cs IconsLucide.py IconsLucide.go IconsLucide.rs

(* For Go see also font.go and go.mod)

Icon Fonts

Font Awesome FA

  • fontawesome.com
  • github.com/FortAwesome/Font-Awesome

Font Awesome 4

  • github.com/FortAwesome/Font-Awesome/tree/4.x
  • icons.yml
  • [fontawesome-webfont.ttf](ht

Issues· 3 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Cccodepointscppcsharp

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category设计协作
PricingOpen source

> Related tools

F
Figma
协作式界面设计工具
S
sketch-wakatime
Sketch plugin for automatic time tracking and metrics generated from your Sketch usage.
Q
QuickColor
Quickly apply fills from the global or document color palettes to selected elements - 🎨