summaryrefslogtreecommitdiff
path: root/internal
AgeCommit message (Collapse)Author
2016-08-18Allow default compression mode to be set. Go 1.7 introduces a new ↵Kurt
compression/flate routine that results in different compressed streams than before. Consequently, PDFs generated with go 1.7 are not generally binary-equivalent with those generated with previous versions. Turning off compression for test files removes this variability. However, it does not help with PDFs that contain images. For now, those reference PDFs have been removed to allow tests to proceed.
2016-07-30Change example test function name to comply with go vetKurt
2016-07-30Check for error in ghostscript exampleKurt
2016-07-30Correct example function nameKurt
2016-07-30Fix some glitches reported by goreportcard.comKurt
2016-07-30Makefile for generating embedded calligra font fileKurt
2016-07-30Isolate embedded font dataKurt
2015-10-11Move default assignments to init function of example file from various test ↵Kurt Jung
files. Now any package that imports the example package will generate PDFs with sorted catalogs and a fixed creation timestamp.
2015-10-09Remove some development commentsKurt Jung
2015-10-09Implement PDF comparison with rudimentary byte-difference display. If a ↵Kurt Jung
reference file exists, it will be compared with its associated example file. If the reference file is missing, the associated example file is considered to be without differences. PDF files in any subdirectory named reference are not deleted when the test begins. This commit is broken -- it illustrates how the use of maps for fonts, images and other resources lead to different dictionary tables in the PDF document.
2015-10-08Omit type in declaration assignmentKurt Jung
2015-10-08Clarify a commentKurt Jung
2015-10-08Compare bytes of PDFs generated as examples with reference copies. ↵Kurt Jung
Differences in the CreationDate values are effectively ignored in the comparison.
2015-08-27Delint documentation for example packageKurt Jung
2015-08-27Simplified exampleKurt Jung
2015-08-26Factor various test example helper routines into their own internal packageKurt Jung