feat(转换能力): 完善PDF转换与字体回退
build.yaml / build (push) Successful in 53s

This commit is contained in:
xiaoqidun committed 2026-09-27 13:11:57 +08:00
1 parent 98d9effc8c
commit affc84459e
9 files changed
+103 -37

No files matched your search

+1 -1
View File
@@ -44,7 +44,7 @@ func (r *Renderer) loadFont(fontID string) *canvas.FontFamily {
return nil
}
if of == nil {
of = &Font{ID: fontID, FontName: "default"}
of = &Font{ID: fontID, FontName: "OFDGoFallback"}
}
fontData := resolved.Data
fontStyle := canvasFontStyle(of)