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