Set f.nameRecord to its name and style.
Code was returning from parseHead before setting the nameRecord.
This commit is contained in:
parent
f90b2f4820
commit
dc8d81915d
1 changed files with 1 additions and 0 deletions
|
@ -352,6 +352,7 @@ func (f *Font) parseName() error {
|
|||
}
|
||||
|
||||
if font.fontInfo[0] != "" && font.fontInfo[1] != "" {
|
||||
f.nameRecord = font
|
||||
return nil
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue