项目作者: KeKsBoTer

项目描述 :
A Go library that reads bitmap-font files
高级语言: Go
项目地址: git://github.com/KeKsBoTer/gofnt.git
创建时间: 2017-11-27T19:14:06Z
项目社区:https://github.com/KeKsBoTer/gofnt

开源协议:

下载


gofnt

A Go library that reads bitmap-font files, described by
http://www.angelcode.com/products/bmfont/doc/file_format.html

Font files can be created using:
https://github.com/libgdx/libgdx/wiki/Hiero

How To Use

  1. content, err := ioutil.ReadFile("path_to_font.fnt")
  2. if err != nil{
  3. log.Fatalln(err)
  4. }
  5. font := gofnt.Parse(string(content))