summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-03-09Register project with Travis CIKurt
2016-03-09Add some badges to the READMEKurt
2016-03-09Merge branch 'dpi'Kurt
2016-03-09Acknowledge Kent Quirk's image resolution supportKurt
2016-03-07Satisfy golint with small changes to documentation. Remove diagnostic print ↵Kurt
statement to allow tests to succeed.
2016-03-07Support reading and/or setting image dpikentquirk
Adds the ability to support reading dpi from PNG images, and setting dpi on any image directly; this allows images to be displayed at the designed size.
2016-02-18Factor example filenamesKurt
2016-02-18Comment about commandKurt
2016-02-18Demonstration of PDF size reduction with ghostscriptKurt
2015-11-08Merge pull request #58 from jelmersnoeck/export-compare-bytesKurt Jung
Compare: make `CompareBytes` exported.
2015-11-08Compare: make `CompareBytes` exported.Jelmer Snoeck
All the "magic" of reference comparison happens within the `CompareBytes` function. Reading a file (with `ioutil.ReadFile`) gives you an array of bytes and gofpdf supports writing to a byte buffer, where we can easily get the bytes from. Exporting `CompareBytes` would make it possible to use this core functionality instead of having to convert the data into `io.Reader`.
2015-10-29Merge pull request #55 from hypertornado/masterKurt Jung
Add cp1250 map to embeddedMapList
2015-10-29Add cp1250 map to embeddedMapListOndrej Odchazel
2015-10-20Merge pull request #49 from jung-kurt/compare-reference-pdfKurt Jung
Compare example PDFs with reference copies
2015-10-20Remove listing of reference PDFs in READMEKurt Jung
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