mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 14:40:12 +01:00
🎨 Improve font loading https://github.com/siyuan-note/siyuan/issues/15879
Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
parent
40328523ad
commit
8b18389e95
1 changed files with 0 additions and 4 deletions
|
|
@ -158,10 +158,6 @@ func parseTTFFontFamily(fontPath string) (ret string) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
if strings.Contains(fontPath, "04") {
|
|
||||||
logging.LogInfo(fontPath)
|
|
||||||
}
|
|
||||||
|
|
||||||
t, err := font.NameTable()
|
t, err := font.NameTable()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
logging.LogErrorf("get font [%s] name table failed: %s", fontPath, err)
|
logging.LogErrorf("get font [%s] name table failed: %s", fontPath, err)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue