Skip to content

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

:art: Improve font loading https://github.com/siyuan-note/siyuan/issues/15879

Daniel8b18389e958d
diff --git a/kernel/util/font.go b/kernel/util/font.go
index 3b9b6df711..2ea2ae64b9 100644
--- a/kernel/util/font.go
+++ b/kernel/util/font.go
@@ -158,10 +158,6 @@ func parseTTFFontFamily(fontPath string) (ret string) {
return
}
- if strings.Contains(fontPath, "04") {
- logging.LogInfo(fontPath)
- }
-
t, err := font.NameTable()
if err != nil {
logging.LogErrorf("get font [%s] name table failed: %s", fontPath, err)