mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 22:50:13 +01:00
🐛 Loading certain font files causes kernel panic https://github.com/siyuan-note/siyuan/issues/13739
This commit is contained in:
parent
db5bdac632
commit
593b652793
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue