mirror of
https://github.com/unidoc/unipdf.git
synced 2025-04-29 13:48:54 +08:00
Remove dot import of core in colorspace.go
This commit is contained in:
parent
cd9a2c45e9
commit
f56ca6aae3
File diff suppressed because it is too large
Load Diff
@ -10,15 +10,16 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
// Errors when parsing/loading data in PDF.
|
// Errors when parsing/loading data in PDF.
|
||||||
|
// TODO(gunnsth): Unexport errors.
|
||||||
var (
|
var (
|
||||||
ErrRequiredAttributeMissing = errors.New("required attribute missing")
|
ErrRequiredAttributeMissing = errors.New("required attribute missing")
|
||||||
ErrInvalidAttribute = errors.New("invalid attribute")
|
ErrInvalidAttribute = errors.New("invalid attribute")
|
||||||
ErrTypeCheck = errors.New("type check")
|
ErrTypeCheck = errors.New("type check")
|
||||||
//ErrRangeError = errors.New("range check error")
|
errRangeError = errors.New("range check error")
|
||||||
ErrEncrypted = errors.New("file needs to be decrypted first")
|
ErrEncrypted = errors.New("file needs to be decrypted first")
|
||||||
ErrNoFont = errors.New("font not defined")
|
ErrNoFont = errors.New("font not defined")
|
||||||
ErrFontNotSupported = errors.New("unsupported font")
|
ErrFontNotSupported = errors.New("unsupported font")
|
||||||
ErrType1CFontNotSupported = errors.New("Type1C fonts are not currently supported")
|
ErrType1CFontNotSupported = errors.New("Type1C fonts are not currently supported")
|
||||||
ErrType3FontNotSupported = errors.New("Type3 fonts are not currently supported")
|
ErrType3FontNotSupported = errors.New("Type3 fonts are not currently supported")
|
||||||
ErrTTCmapNotSupported = errors.New("unsupported TrueType cmap format")
|
ErrTTCmapNotSupported = errors.New("unsupported TrueType cmap format")
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user