feat(发票字体): 修复部分发票上的字体颜色被错误渲染成了黑色的问题

This commit is contained in:
2025-12-30 14:40:01 +08:00
parent 79279c85ec
commit 44a87ac894
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -406,7 +406,7 @@ func (r *Renderer) renderPath(ctx *canvas.Context, obj PathObject, pageH float64
}
ctx.SetStrokeColor(strokeColor)
ctx.SetStrokeWidth(lineWidth)
ctx.DrawPath(0, 0, p.Stroke(lineWidth, canvas.RoundCap, canvas.RoundJoin, canvas.Tolerance))
ctx.DrawPath(0, 0, p)
ctx.Pop()
}