summaryrefslogtreecommitdiff
path: root/fpdf.go
diff options
context:
space:
mode:
authorKurt Jung <kurt.w.jung@gmail.com>2015-10-12 10:34:43 -0400
committerKurt Jung <kurt.w.jung@gmail.com>2015-10-12 10:34:43 -0400
commit31c1da203bd00ff9e9ba602257bab2b4282ca945 (patch)
tree29e26e31cd7a0a8c2dbe198a77d89102faff8be1 /fpdf.go
parentd51e132c6432f2c1bbff5d9516f77375bb5252e6 (diff)
Add reference PDFs for comparison purposes. Document comparison of example documents.
Diffstat (limited to 'fpdf.go')
-rw-r--r--fpdf.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/fpdf.go b/fpdf.go
index 74489de..bc23674 100644
--- a/fpdf.go
+++ b/fpdf.go
@@ -3003,7 +3003,7 @@ func SetDefaultCatalogSort(flag bool) {
// SetCatalogSort sets a flag that will be used, if true, to consistently order
// the document's internal resource catalogs. This method is typically only
-// used for test purposes.
+// used for test purposes to facilitate PDF comparison.
func (f *Fpdf) SetCatalogSort(flag bool) {
f.catalogSort = flag
}
@@ -3017,8 +3017,8 @@ func SetDefaultCreationDate(tm time.Time) {
// SetCreationDate fixes the document's internal CreationDate value. By
// default, the time when the document is generated is used for this value.
-// This method is typically only used for testing purposes. Specify a
-// zero-value time to revert to the default behavior.
+// This method is typically only used for testing purposes to facilitate PDF
+// comparsion. Specify a zero-value time to revert to the default behavior.
func (f *Fpdf) SetCreationDate(tm time.Time) {
f.creationDate = tm
}