diff --git a/pdf/model/font_simple.go b/pdf/model/font_simple.go index 79e84f6d..2015c465 100644 --- a/pdf/model/font_simple.go +++ b/pdf/model/font_simple.go @@ -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 diff --git a/pdf/model/fontfile.go b/pdf/model/fontfile.go index be3d92e1..6c895997 100644 --- a/pdf/model/fontfile.go +++ b/pdf/model/fontfile.go @@ -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`.