Barcodes : Left Justify Human Readable Part

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Barcodes : Left Justify Human Readable Part

James McGill-5
I can't find the syntax to justify the human-readable part of a Barcode4J
barcode.
Supposedly it's supported; this is in the changelog:

· add Added support for left, right, center and justify alignment of the
human-readable part. Committed by jmaerki.

But there's no example and nothing in the documentation to indicate how this
is done.  I searched the Barcode4J
mailing lists and the source, and sent a message to the developer.

Does anyone in the OFBiz community know how to do this?

--
James McGill
Phoenix AZ
Reply | Threaded
Open this post in threaded view
|

Re: Barcodes : Left Justify Human Readable Part

JohnHays
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: Barcodes : Left Justify Human Readable Part

James McGill-5
On Fri, Dec 18, 2009 at 1:06 PM, John D. Hays <[hidden email]>wrote:

>
> http://barcode4j.sourceforge.net/2.0/javadocs/org/krysalis/barcode4j/TextAlignment.html
>

Thanks for that, but I'm not sure how it relates to this, for example...

                    <barcode:barcode xmlns:barcode="
http://barcode4j.krysalis.org/ns" message="${partyId}">
                        <barcode:code128>
                            <barcode:height>10mm</barcode:height>

<barcode:module-width>0.375mm</barcode:module-width>
                            <barcode:human-readable>
                                <barcode:placement>top</barcode:placement>
<!-- -->
<!-- I think something goes here for left-justify -->
<!-- -->
                                      <font-name>Helvetica</font-name>
                                       <font-size>14pt</font-size>

<display-start-stop>false</display-start-stop>

<display-checksum>false</display-checksum>
                               </barcode:human-readable>
                        </barcode:code128>
                    </barcode:barcode>


--
James McGill
Phoenix AZ