summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-10-11Include catalog sort and creation date assignment so that tests of ↵Kurt Jung
contributed packages can be run
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-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
2015-08-26HttpImg: use `Register` method.Jelmer Snoeck
By changing the name, we can use a uniform name across several packages.
2015-08-26Httpimg: rename package.Jelmer Snoeck
2015-08-24Use RegisterHttpImage instead of RegisterRemoteImage.Jelmer Snoeck
Remote can mean several things, HTTP is more specific and matches the actual implementation.
2015-08-24Use `GetImageInfo` to see if the image is already registered.Jelmer Snoeck
2015-08-24Merge branch 'master' into contribution-packageJelmer Snoeck
* master: Clarify restrictions on OpenType fonts, namely that they must be derived from TrueType outlines, not PostScript Change GetImageInfo to return pointer
2015-08-22Clarify restrictions on OpenType fonts, namely that they must be derived ↵Kurt Jung
from TrueType outlines, not PostScript
2015-08-21Change GetImageInfo to return pointerKurt Jung
2015-08-19Fhttp: add RegisterRemoteImage functionality.Jelmer Snoeck
This is a wrapper around manually having to download the image and registering it. It registers an image based on it's URL, it will download that image and add it to the PDF. It will however not add it immediately to the page. This is done by calling `Image()` with the same URL.
2015-08-19Add image information retrieval method and testKurt Jung
2015-08-17Add method to clear current errorKurt Jung
2015-08-12Merge pull request #34 from marcusatbang/test-windowsKurt Jung
Allow the tests to work on Windows
2015-08-12Allow the tests to work on WindowsMarcus Downing
2015-08-12Acknowledge Marcus Downing for templating moduleKurt Jung
2015-08-12Merge branch 'marcusatbang-templating'Kurt Jung
2015-08-12Merge branch 'templating' of https://github.com/marcusatbang/gofpdf into ↵Kurt Jung
marcusatbang-templating
2015-08-12Badge graphics in raster form to accommodate github's questionable practice ↵Kurt Jung
of prohibiting local svg files from being displayed in README
2015-08-12License and attributionMarcus Downing
2015-08-04Templating fixesMarcus Downing