Skip to content

Commit

Permalink
fix ignored error
Browse files Browse the repository at this point in the history
  • Loading branch information
matsuyoshi30 committed Oct 10, 2021
1 parent 859dda1 commit a4be0d0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions fontmaker/core/fontmaker.go
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,9 @@ func (f *FontMaker) MakeFontDescriptor(info TtfInfo) (string, error) {
}
flags += 1 << 5
italicAngle, err := info.GetInt64("ItalicAngle")
if err != nil {
return "", err
}
if italicAngle != 0 {
flags += 1 << 6
}
Expand Down

0 comments on commit a4be0d0

Please sign in to comment.