Skip to content

Commit

Permalink
🐛 Loading certain font files causes kernel panic #13739
Browse files Browse the repository at this point in the history
  • Loading branch information
88250 committed Jan 7, 2025
1 parent db5bdac commit 593b652
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions kernel/util/font.go
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ func parseTTFFontFamily(fontPath string) (ret string) {

t, err := font.NameTable()
if err != nil {
logging.LogErrorf("get font [%s] name table failed: %s", fontPath, err)
return
}

Expand Down

0 comments on commit 593b652

Please sign in to comment.