1 Star 0 Fork 0

coorrer/unipdf

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
const.go 865 Bytes
一键复制 编辑 原始数据 按行查看 历史
xushuai 提交于 2025-09-23 15:05 +08:00 . init
package model
import (
"errors"
)
// Errors when parsing/loading data in PDF.
// TODO(gunnsth): Unexport errors except if there is a clear use case.
var (
ErrRequiredAttributeMissing = errors.New("required attribute missing")
ErrInvalidAttribute = errors.New("invalid attribute")
ErrTypeCheck = errors.New("type check")
errRangeError = errors.New("range check error")
ErrEncrypted = errors.New("file needs to be decrypted first")
ErrNoFont = errors.New("font not defined")
ErrFontNotSupported = errors.New("unsupported font")
ErrType1CFontNotSupported = errors.New("Type1C fonts are not currently supported")
ErrType3FontNotSupported = errors.New("Type3 fonts are not currently supported")
ErrTTCmapNotSupported = errors.New("unsupported TrueType cmap format")
)
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/coorrer/unipdf.git
git@gitee.com:coorrer/unipdf.git
coorrer
unipdf
unipdf
v1.3.0

搜索帮助