Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-03-07 | Satisfy golint with small changes to documentation. Remove diagnostic print ↵ | Kurt | |
statement to allow tests to succeed. | |||
2016-03-07 | Support reading and/or setting image dpi | kentquirk | |
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-18 | Factor example filenames | Kurt | |
2016-02-18 | Comment about command | Kurt | |
2016-02-18 | Demonstration of PDF size reduction with ghostscript | Kurt | |
2015-11-08 | Merge pull request #58 from jelmersnoeck/export-compare-bytes | Kurt Jung | |
Compare: make `CompareBytes` exported. | |||
2015-11-08 | Compare: 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-29 | Merge pull request #55 from hypertornado/master | Kurt Jung | |
Add cp1250 map to embeddedMapList | |||
2015-10-29 | Add cp1250 map to embeddedMapList | Ondrej Odchazel | |
2015-10-20 | Merge pull request #49 from jung-kurt/compare-reference-pdf | Kurt Jung | |
Compare example PDFs with reference copies | |||
2015-10-20 | Remove listing of reference PDFs in README | Kurt Jung | |
2015-10-20 | Correct typo | Kurt Jung | |
2015-10-13 | Include links to reference PDFs in README | Kurt Jung | |
2015-10-13 | Merge branch 'compare-reference-pdf' of https://github.com/jung-kurt/gofpdf ↵ | Kurt Jung | |
into compare-reference-pdf | |||
2015-10-13 | Use %f rather than %F since earlier versions of Go did not support the ↵ | Kurt Jung | |
latter. Thanks, Marcus. | |||
2015-10-12 | Reference PDFs generated by contributed packages | Kurt Jung | |
2015-10-12 | Saving files before refreshing line endings | Kurt Jung | |
2015-10-12 | New reference files that changed as a result of the updated WriteAligned method. | Kurt Jung | |
2015-10-12 | Merge branch 'master' into compare-reference-pdf | Kurt Jung | |
2015-10-12 | Use basic write rather than aligned write for left-aligned HTML. Corrected ↵ | Kurt Jung | |
by Jelmer Snoeck. | |||
2015-10-12 | Allow SVG example to be compressed | Kurt Jung | |
2015-10-12 | Add reference PDFs for comparison purposes. Document comparison of example ↵ | Kurt Jung | |
documents. | |||
2015-10-11 | Conditionally order another map iteration. Fix 'go vet' problem with unkeyed ↵ | Kurt Jung | |
field in composite literal. | |||
2015-10-11 | Conditionally sort two map iterations in template code; more to come. | Kurt Jung | |
2015-10-11 | Investigate missing spaces between words | Kurt Jung | |
2015-10-11 | Move 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-11 | Merge branch 'master' into compare-reference-pdf | Kurt Jung | |
2015-10-11 | Include catalog sort and creation date assignment so that tests of ↵ | Kurt Jung | |
contributed packages can be run | |||
2015-10-10 | Grammar tweak in documentation | Kurt Jung | |
2015-10-10 | Conditionally sort image catalog. Correct small typos. | Kurt Jung | |
2015-10-10 | Introduce 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-10 | Implement conditional catalog sort feature | Kurt Jung | |
2015-10-10 | Add method to fix document creation date | Kurt Jung | |
2015-10-09 | Remove some development comments | Kurt Jung | |
2015-10-09 | Implement 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-08 | Omit type in declaration assignment | Kurt Jung | |
2015-10-08 | Clarify a comment | Kurt Jung | |
2015-10-08 | Ignore pdf/reference directory | Kurt Jung | |
2015-10-08 | Compare bytes of PDFs generated as examples with reference copies. ↵ | Kurt Jung | |
Differences in the CreationDate values are effectively ignored in the comparison. | |||
2015-09-25 | Jelmer Snoeck's support for aligned HTML text | Kurt Jung | |
2015-09-25 | Merge pull request #45 from jelmersnoeck/html-center | Kurt Jung | |
Fpdf: add WriteAligned. | |||
2015-09-25 | Fpdf: 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-10 | Merge pull request #44 from jelmersnoeck/contribution-specific-interfaces | Kurt Jung | |
Contribution packages specific interfaces. | |||
2015-09-10 | HttpImg: 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-05 | Merge pull request #43 from marcusatbang/test-windows2 | Kurt Jung | |
Windows testing 2 | |||
2015-09-05 | Windows testing 2 | Marcus Downing | |
2015-09-02 | Acknowledge Jelmer Snoeck's barcode contribution | Kurt Jung | |
2015-09-02 | Merge branch 'jelmersnoeck-barcode-package' | Kurt Jung | |
2015-08-31 | Add 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-27 | Delint documentation for example package | Kurt Jung | |