How can I generate/render an ISBN barcode using PDFTron library (Java) ?
ISBN barcodes have a specific structure and therefore using a regular barcode font is the wrong way to do it.
The iText library has this capability (BarcodeEAN class, Barcode.EAN13 code type). However, we are trying to replace iText with PDFTron, but generating ISBN barcodes is essential.
There are libraries/tools that help you generate ISBN (EAN-13) barcodes ( e.g. iText ) and many others. Since we are replacing iText with PDFNet, we need to replace ISBN generation as well with one that PDFNet provides, however I cannot find any documentation about this.
Could you please provide sample code (preferably in Java) on how PDFNet generates EAN-13 barcodes ?
An ISBN barcode has a particular structure:
- top text
- actual barcode, with bars of different heights
- bottom digits
- for an exact structure, check wikipedia (apparently I cannot add links here)
Libraries like iText can generate barcodes, including ISBN barcodes. Since we are trying to replace iText with PDFNet for PDF (book) processing we need to also generate ISBN barcodes. However, I cannot find any documentation about this. It is a showstopper.