mirror of
https://github.com/xiaoqidun/ofdgo.git
synced 2026-10-30 01:27:26 +08:00
feat(编辑渲染): 完善三维转换,优化编辑渲染压缩
This commit is contained in:
1 parent
e8344e6387
commit
839f65e3d7
47 files changed
+4887
-112
No files matched your search
+1
-4
@@ -252,10 +252,7 @@ func (p *pdfImporter) text(mark pdfgo.TextMark) error {
|
||||
if err := p.flushPath(); err != nil {
|
||||
return err
|
||||
}
|
||||
visitor := pdfgo.Visitor{Path: p.path, Image: p.image, Warning: p.warning, Reference: p.referencePage}
|
||||
visitor.Group = func(group pdfgo.GroupMark, walk func(pdfgo.Visitor) error) error {
|
||||
return p.group(group, walk, visitor)
|
||||
}
|
||||
visitor := p.visitor()
|
||||
for index := range mark.Glyphs {
|
||||
if err := p.reader.WalkType3Glyph(p.ctx, mark, index, visitor); err != nil {
|
||||
return err
|
||||
|
||||
Reference in new issue
Block a user