Versions in this module Expand all Collapse all v0 v0.4.2 Mar 15, 2023 v0.4.0 Mar 15, 2023 Changes in this version + var ErrCorruptFontDict = errors.New("pdfcpu: corrupt fontDict") + func CIDFontDescriptor(xRefTable *model.XRefTable, ttf font.TTFLight, ...) (*types.IndirectRef, error) + func CIDFontDict(xRefTable *model.XRefTable, ttf font.TTFLight, ...) (*types.IndirectRef, error) + func CIDFontFile(xRefTable *model.XRefTable, ttf font.TTFLight, fontName string, subFont bool) (*types.IndirectRef, error) + func CIDFontSpecialEncDict(xRefTable *model.XRefTable, ttf font.TTFLight, baseFontName, lang string, ...) (*types.IndirectRef, error) + func CIDSet(xRefTable *model.XRefTable, ttf font.TTFLight, fontName string, ...) (*types.IndirectRef, error) + func CIDWidths(xRefTable *model.XRefTable, ttf font.TTFLight, fontName string, subFont bool, ...) (*types.IndirectRef, error) + func CJK(script, lang string) bool + func CJKEncoding(s string) bool + func EnsureFontDict(xRefTable *model.XRefTable, fontName, lang, script string, subDict, field bool, ...) (*types.IndirectRef, error) + func FontDescriptor(xRefTable *model.XRefTable, ttf font.TTFLight, fontName, fontLang string) (*types.IndirectRef, error) + func FontResources(xRefTable *model.XRefTable, fm model.FontMap) (types.Dict, error) + func IndRefsForUserfontUpdate(xRefTable *model.XRefTable, d types.Dict, lang string, ...) error + func Lang(xRefTable *model.XRefTable, d types.Dict) (*string, error) + func Name(xRefTable *model.XRefTable, fontDict types.Dict, objNumber int) (prefix, fontName string, err error) + func RTL(lang string) bool + func UpdateUserfont(xRefTable *model.XRefTable, fontName string, f model.FontResource) error + func Widths(xRefTable *model.XRefTable, ttf font.TTFLight, first, last int) (*types.IndirectRef, error)