From a3d2907d235ddb7d0d1fae30d98fd90660ed65f0 Mon Sep 17 00:00:00 2001 From: Peter Williams Date: Sun, 15 Jul 2018 17:58:00 +1000 Subject: [PATCH] . --- pdf/model/font_simple.go | 2 +- pdf/model/fontfile.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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`.