Documentation ¶
Index ¶
- Constants
- Variables
- func IsPredefinedCMap(name string) bool
- type CIDSystemInfo
- type CMap
- func (cmap *CMap) Bytes() []byte
- func (cmap *CMap) BytesToCharcodes(data []byte) ([]CharCode, bool)
- func (cmap *CMap) CIDSystemInfo() CIDSystemInfo
- func (cmap *CMap) CIDToCharcode(cid CharCode) (CharCode, bool)
- func (cmap *CMap) CharcodeBytesToUnicode(data []byte) (string, int)
- func (cmap *CMap) CharcodeToCID(code CharCode) (CharCode, bool)
- func (cmap *CMap) CharcodeToUnicode(code CharCode) (string, bool)
- func (cmap *CMap) NBits() int
- func (cmap *CMap) Name() string
- func (cmap *CMap) Stream() (*_fb.PdfObjectStream, error)
- func (cmap *CMap) String() string
- func (cmap *CMap) StringToCID(s string) (CharCode, bool)
- func (cmap *CMap) Type() int
- func (cmap *CMap) WMode() (int, bool)
- type CharCode
- type Codespace
Constants ¶
View Source
const ( MissingCodeRune = '\ufffd' MissingCodeString = string(MissingCodeRune) )
Variables ¶
View Source
var ( ErrBadCMap = _b.New("\u0062\u0061\u0064\u0020\u0063\u006d\u0061\u0070") ErrBadCMapComment = _b.New("c\u006f\u006d\u006d\u0065\u006e\u0074 \u0073\u0068\u006f\u0075\u006c\u0064\u0020\u0073\u0074a\u0072\u0074\u0020w\u0069t\u0068\u0020\u0025") ErrBadCMapDict = _b.New("\u0069\u006e\u0076a\u006c\u0069\u0064\u0020\u0064\u0069\u0063\u0074") )
Functions ¶
func IsPredefinedCMap ¶
Types ¶
type CIDSystemInfo ¶
func NewCIDSystemInfo ¶
func NewCIDSystemInfo(obj _fb.PdfObject) (_cg CIDSystemInfo, _cgg error)
func (*CIDSystemInfo) String ¶
func (_fg *CIDSystemInfo) String() string
type CMap ¶
type CMap struct {
// contains filtered or unexported fields
}
func LoadCmapFromDataCID ¶
func LoadPredefinedCMap ¶
func NewToUnicodeCMap ¶
func (*CMap) CIDSystemInfo ¶
func (cmap *CMap) CIDSystemInfo() CIDSystemInfo
func (*CMap) CharcodeBytesToUnicode ¶
Click to show internal directories.
Click to hide internal directories.