Skip to content

Latest commit

 

History

History
34 lines (19 loc) · 1021 Bytes

README.md

File metadata and controls

34 lines (19 loc) · 1021 Bytes

AngelCode BMF parsing in Go

Go Report Card

Supports parsing and serializing text, XML and binary formats in version 3.

API

PkgGoDev

bmf.Parse(src io.Reader) (*bmf.Font, error)
Parses AngelCode BMF and automatically chooses the correct format

bmf.ParseText(src io.Reader) (*bmf.Font, error)
Parses AngelCode BMF in text format

bmf.ParseXML(src io.Reader) (*bmf.Font, error)
Parses AngelCode BMF in XML format

bmf.ParseBinary(src io.Reader) (*bmf.Font, error)
Parses AngelCode BMF in binary format

bmf.SerializeBinary(fnt *bmf.Font, dst io.Writer) error
Serializes AngelCode BMF in binary format

bmf.SerializeText(fnt *bmf.Font, dst io.Writer) error
Serializes AngelCode BMF in text format

Issues

If you find any problems please report them. :)