summaryrefslogtreecommitdiff
path: root/contrib
AgeCommit message (Collapse)Author
2019-05-15Clean up code based on jung-kurt's feedback.Dave Barnes
2019-05-15Add support for imported objects and templates to version 1 of gofpdf.Dave Barnes
2018-12-11Fix comments according to best practices by effective go (#217)CodeLingo Bot
* Fix comments according to best practices by effective go * Update font.go * Update fpdf_test.go * Update fpdf.go * Update example.go * Update util.go
2018-08-01barcode: Scale via the PDF rather than the barcode libraryAndre Renaud
This allows arbitrary barcode scaling, rather than whole multiple as required by github.com/boombuler/barcode
2017-12-20make barcode scaling optional, provide a method to get unscaled barcode ↵Dan Meyers
dimensions
2017-06-10prevent panic when registering barcode fails (#118)Dan Meyers
2016-12-27Add support for Aztec barcodes (#101)Ruud Kamphuis
* Add RegisterAztec * Add test for RegisterAztec
2016-11-12Document the TIFF image functions. Correct related documentation.Kurt
2016-11-11Adjust some names of test functions to conform with Go's naming conventionsKurt
2016-11-10Add package descriptionKurt
2016-11-10Support standard tiff imagesKurt
2016-10-12added mutex to barcode cache (#85)Ruben
to prevent race condition
2016-07-30Check for error in ghostscript exampleKurt
2016-05-16Enhance documentation and add test for PDF417 barcodeKurt
2016-05-16Pass columns and security level to Encode methodRuud Kamphuis
2016-05-15Add support for Pdf417 barcodesRuud Kamphuis
2016-02-18Factor example filenamesKurt
2016-02-18Comment about commandKurt
2016-02-18Demonstration of PDF size reduction with ghostscriptKurt
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.
2015-08-27Maintain aspect ratio of registered imageKurt 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-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-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.