summaryrefslogtreecommitdiff
path: root/contrib/barcode
AgeCommit message (Collapse)Author
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-11Include catalog sort and creation date assignment so that tests of ↵Kurt Jung
contributed packages can be run
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-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.