This commit is contained in:
honggengwei
2016-09-09 11:48:24 +08:00
parent accc26b01f
commit bc879344e8

View File

@@ -104,7 +104,7 @@ func (this *fontManager) parseFontContent(cont string) (*font, error) {
header := strings.Split(lines[0], " ") header := strings.Split(lines[0], " ")
font := &font{} font := &font{}
font.hardblank = header[0][len(header)-1:] font.hardblank = header[0][len(header[0])-1:]
font.height, _ = strconv.Atoi(header[1]) font.height, _ = strconv.Atoi(header[1])
commentEndLine, _ := strconv.Atoi(header[5]) commentEndLine, _ := strconv.Atoi(header[5])