Merge pull request #2 from icecrime/better_builtinfont

Use raw string for builtin font
This commit is contained in:
getwe
2015-02-05 12:07:13 +08:00
2 changed files with 721 additions and 725 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -52,7 +52,7 @@ func (this *fontManager) loadFont(fontPath string) error {
}
func (this *fontManager) loadBuildInFont() error {
font, err := this.parseFontContent(buildInFont())
font, err := this.parseFontContent(builtInFont)
if err != nil {
return err
}