Hello Zint-team,
This is not a bug but a suggestion for an extension.
The regular text for EAN-13 barcodes (without using the --smalltext option) looks thin and uses only the half of the available width. I think this can be improved by providing an additional option for bold text. The existing font information can be used to print two pixel for one horizontally to make the font look bold. Together with an extra pixel for the distance between two characters, the bold feature is ready to use.
A related patch is attached. The solution is not prefect and can be improved but it works.
zint -b 13 --boldtext -o ~/zint.png -d 123456789012
I don't know what the GS1 standard says about the font but for me the result looks fine.
Kind regards
Christoph
I added an image of an EAN13 barcode rendered with bold text.
Hi Christoph,
This patch has now been applied. Can you please confirm that it works as expected. Thank you for your time adding this feature.
Robin.
Hi Robin,
Yes it works! Thank you for applying the patch.
Christoph