1 Star 0 Fork 0

bt-libraries/IconFontCppHeaders

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
font.go 740 Bytes
一键复制 编辑 原始数据 按行查看 历史
Matt Pharr 提交于 2022-09-08 19:18 +08:00 . Add support for go.
// Package IconFontCppHeaders provides mappings from human-friendly icon
// names to the corresponding Unicode code points for a variety of
// freely-available icon fonts (e.g., FontAwesome.)
package IconFontCppHeaders
// Font encapsulates all of the information for a particular icon font.
type Font struct {
// The filenames of the associated TTF files are provided in Filenames,
// where each entry stores first an abbreviated name for the fot and
// then the actual filename.
Filenames [][2]string
// The range of Unicode code points is given by [Min, Max). The largest
// 16-bit code point is stored in Max16.
Min, Max16, Max int
// Icons stores the mapping from user-friendly names to code points.
Icons map[string]string
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/bt-server/IconFontCppHeaders.git
git@gitee.com:bt-server/IconFontCppHeaders.git
bt-server
IconFontCppHeaders
IconFontCppHeaders
main

搜索帮助