Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | |
2015-08-27 | Acknowledge Jelmer Snoeck's contribution | Kurt Jung | |
2015-08-27 | Merge branch 'jelmersnoeck-contribution-package' | Kurt Jung | |
2015-08-27 | Maintain aspect ratio of registered image | Kurt Jung | |
2015-08-27 | Merge branch 'contribution-package' of ↵ | Kurt Jung | |
https://github.com/jelmersnoeck/gofpdf into jelmersnoeck-contribution-package | |||
2015-08-27 | Simplified example | Kurt Jung | |
2015-08-27 | Httpimg: remove pdf folder. | Jelmer Snoeck | |
This will now be generated in the main pdf folder (`gofpdf/pdf`). |