Set f.nameRecord to its name and style.

Code was returning from parseHead before setting the nameRecord.
This commit is contained in:
Steven Edwards 2015-09-01 16:10:14 -04:00
parent f90b2f4820
commit dc8d81915d

View file

@ -352,6 +352,7 @@ func (f *Font) parseName() error {
}
if font.fontInfo[0] != "" && font.fontInfo[1] != "" {
f.nameRecord = font
return nil
}
}