summaryrefslogtreecommitdiff
path: root/contrib/barcode/barcode_test.go
AgeCommit message (Collapse)Author
2019-05-22maintain precision of desired w & h of barcodesJustin Schlechte
This fixes an issue with barcode scaling that limited barcode sizes to integer multiples of the pdf's unit.
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
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-05-16Enhance documentation and add test for PDF417 barcodeKurt
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.