github.com/racerxdl/gonx@v0.0.0-20210103083128-c5afc43bcbd2/font/font.templ.go (about) 1 //+build ignore 2 3 package font 4 5 const _FONTNAME_fontName = "_FONTNAME_" 6 7 var _FONTNAME_Data = Data{ 8 CharWidth: _FONTWIDTH_, 9 CharHeight: _FONTHEIGHT_, 10 XOffset: _FONTXOFF_, 11 YOffset: _FONTYOFF_, 12 Glyphs: map[uint32]*Glyph{_GLYPHS_}, 13 } 14 15 func init() { 16 fonts["_FONTNAME_"] = &_FONTNAME_Data 17 }