feat(渲染引擎): 修复文字渲染并优化图像处理
build.yaml / build (push) Successful in 45s

This commit is contained in:
xiaoqidun committed 2026-10-03 10:51:50 +08:00
1 parent 1945ea355a
commit f2dbf72885
15 files changed
+344 -21

No files matched your search

+1 -1
View File
@@ -509,7 +509,7 @@ func (c *pdfCompositor) imageColor(mark *pdfgo.ImageMark, point pdfgo.Point, spa
source := c.cache.images[mark.Image]
if source == nil {
var err error
source, err = mark.Image.DecodeComponents()
source, err = mark.Image.DecodeComponentsContext(c.importer.ctx)
if err != nil {
return [4]float64{}, 0, err
}