summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-10-20Correct typoKurt Jung
2015-10-13Include links to reference PDFs in READMEKurt Jung
2015-10-13Merge branch 'compare-reference-pdf' of https://github.com/jung-kurt/gofpdf ↵Kurt Jung
into compare-reference-pdf
2015-10-13Use %f rather than %F since earlier versions of Go did not support the ↵Kurt Jung
latter. Thanks, Marcus.
2015-10-12Reference PDFs generated by contributed packagesKurt Jung
2015-10-12Saving files before refreshing line endingsKurt Jung
2015-10-12New reference files that changed as a result of the updated WriteAligned method.Kurt Jung
2015-10-12Merge branch 'master' into compare-reference-pdfKurt Jung
2015-10-12Use basic write rather than aligned write for left-aligned HTML. Corrected ↵Kurt Jung
by Jelmer Snoeck.
2015-10-12Allow SVG example to be compressedKurt Jung
2015-10-12Add reference PDFs for comparison purposes. Document comparison of example ↵Kurt Jung
documents.
2015-10-11Conditionally order another map iteration. Fix 'go vet' problem with unkeyed ↵Kurt Jung
field in composite literal.
2015-10-11Conditionally sort two map iterations in template code; more to come.Kurt Jung
2015-10-11Investigate missing spaces between wordsKurt Jung
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-11Merge branch 'master' into compare-reference-pdfKurt Jung
2015-10-11Include catalog sort and creation date assignment so that tests of ↵Kurt Jung
contributed packages can be run
2015-10-10Grammar tweak in documentationKurt Jung
2015-10-10Conditionally sort image catalog. Correct small typos.Kurt Jung
2015-10-10Introduce helper functions to set default catalog sort flag and creation ↵Kurt Jung
date value. Remove regular expression scheme that effectively ignored the embedded creation date when comparing PDFs.
2015-10-10Implement conditional catalog sort featureKurt Jung
2015-10-10Add method to fix document creation dateKurt Jung
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-08Ignore pdf/reference directoryKurt 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-09-25Jelmer Snoeck's support for aligned HTML textKurt Jung
2015-09-25Merge pull request #45 from jelmersnoeck/html-centerKurt Jung
Fpdf: add WriteAligned.
2015-09-25Fpdf: add WriteAligned.Jelmer Snoeck
WriteAligned allows a user to write a single string and align it. Previously, Write() would only write with Left alignment. Sometimes, you want to align a specific text string to the center or the right. HTMLBasic: add <center> tag. This allows a user to center text within the HTML block. This way they do not have to split up their input. A new line will be created automatically before and after the centered text.
2015-09-10Merge pull request #44 from jelmersnoeck/contribution-specific-interfacesKurt Jung
Contribution packages specific interfaces.
2015-09-10HttpImg: make Http specific PDF interface.Jelmer Snoeck
Instead of forcing the type to be of gofpdf.Fpdf, we now use an interface which could be whatever structure we want. This is useful for third party libraries where they can define their own interface for the PDF generator but still use these contribution packages. HttpImg: add interface comment. Barcode: implement specific PDF interface.
2015-09-05Merge pull request #43 from marcusatbang/test-windows2Kurt Jung
Windows testing 2
2015-09-05Windows testing 2Marcus Downing
2015-09-02Acknowledge Jelmer Snoeck's barcode contributionKurt Jung
2015-09-02Merge branch 'jelmersnoeck-barcode-package'Kurt Jung
2015-08-31Add Barcode contribution package.Jelmer Snoeck
This package adds the ability to easily add a barcode to the PDF. This barcode is generated with the github.com/boombuler/barcode package. It adds wrappers for all the available barcode types through the `Register()` and `Register<Type>()` methods. These register methods put the barcode on the PDF, but not on the page. They will return a unique key that should be used later on with the `Barcode()` method scale the barcode and put it on the page.
2015-08-27Delint documentation for example packageKurt Jung
2015-08-27Acknowledge Jelmer Snoeck's contributionKurt Jung
2015-08-27Merge branch 'jelmersnoeck-contribution-package'Kurt Jung
2015-08-27Maintain aspect ratio of registered imageKurt Jung
2015-08-27Merge branch 'contribution-package' of ↵Kurt Jung
https://github.com/jelmersnoeck/gofpdf into jelmersnoeck-contribution-package
2015-08-27Simplified exampleKurt Jung
2015-08-27Httpimg: remove pdf folder.Jelmer Snoeck
This will now be generated in the main pdf folder (`gofpdf/pdf`).
2015-08-27Use internal example package for testing.Jelmer Snoeck
2015-08-27Merge branch 'master' of github.com:jung-kurt/gofpdf into contribution-packageJelmer Snoeck
* 'master' of github.com:jung-kurt/gofpdf: Factor various test example helper routines into their own internal package
2015-08-26Factor various test example helper routines into their own internal packageKurt Jung
2015-08-26Httpimg: cleanup pdf path on with tests.Jelmer Snoeck
2015-08-26Examples: rename function/file for clarification.Jelmer Snoeck