Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:bug: Loading certain font files causes kernel panic https://github.com/siyuan-note/siyuan/issues/13739

Daniel593b6527936e
diff --git a/kernel/util/font.go b/kernel/util/font.go
index 49f7bdd9d0..4113dbb8b1 100644
--- a/kernel/util/font.go
+++ b/kernel/util/font.go
@@ -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
}