I am generating ean-128 code for a Project, below is the code. Attached is the image.
the bar code is getting generated correctly, however the code displayed is having multiple brackets, I used different combinations of pattern and template but didn't help.
can you please help? let us know if we can have a call to walk through the issue.
<fo:instream-foreign-object>
<barcode:barcode
xmlns:barcode="http://barcode4j.krysalis.org/ns"
message="{$message}" orientation="0">
<barcode:ean-128>
<barcode:height>18mm</barcode:height>
<barcode:module-width>0.43mm</barcode:module-width>
<human-readable>
<pattern font-size="20pt">(__) _______ __________ ___
</pattern>
<placement>none</placement>
<template>(00)n20+cd0</template>
</human-readable>
</barcode:ean-128>
</barcode:barcode>
</fo:instream-foreign-object>
I've done some testing of this on my fork: https://github.com/singingBush/barcode4j
The EAN128LogicImpl.java will add brackets itself by default unless you use <barcode:omit-brackets>true</barcode:omit-brackets> so perhaps what's needed here is:
I tested locally and I was able to get an expected result