This commit is contained in:
Peter Williams 2018-07-15 17:58:00 +10:00
parent e5783d58fb
commit a3d2907d23
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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`.