mirror of
https://github.com/unidoc/unipdf.git
synced 2025-04-30 13:48:51 +08:00
.
This commit is contained in:
parent
e5783d58fb
commit
a3d2907d23
@ -105,7 +105,7 @@ func newSimpleFontFromPdfObject(skeleton *fontSkeleton, std14 bool) (*pdfFontSim
|
|||||||
if !std14 {
|
if !std14 {
|
||||||
obj := d.Get("FirstChar")
|
obj := d.Get("FirstChar")
|
||||||
if obj == nil {
|
if obj == nil {
|
||||||
// See /Users/pcadmin/testdata/shamirturing.pdf
|
// See ~/testdata/shamirturing.pdf
|
||||||
// if skeleton.subtype == "TrueType" {
|
// if skeleton.subtype == "TrueType" {
|
||||||
// common.Log.Debug("ERROR: FirstChar attribute missing. font=%s d=%s", skeleton, d)
|
// common.Log.Debug("ERROR: FirstChar attribute missing. font=%s d=%s", skeleton, d)
|
||||||
// return nil, ErrRequiredAttributeMissing
|
// return nil, ErrRequiredAttributeMissing
|
||||||
|
@ -219,7 +219,7 @@ func getAsciiSections(data []byte) (keySection, encodingSection string, err erro
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
// /Users/pcadmin/testdata/invoice61781040.pdf has \r line endings
|
// ~/testdata/invoice61781040.pdf has \r line endings
|
||||||
var reEndline = regexp.MustCompile(`[\n\r]+`)
|
var reEndline = regexp.MustCompile(`[\n\r]+`)
|
||||||
|
|
||||||
// getKeyValues returns the map encoded in `data`.
|
// getKeyValues returns the map encoded in `data`.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user