Rotating Barcodes..
[email protected] Tue, 11 Nov 2003 17:08:21 +1000
| Newsgroups | gmane.comp.krysalis.user |
|---|---|
| Message-ID | <OFACC8FDB9.43458EE2-ON4A256DDB.00243E25-4A256DDB.00273778@budgetdirect.com.au> |
Hi,
I'm in the process of integrating krysalis into our existing FOP system,
and having a few problems (I'm using the "SVG" way, not the "Fop-
I need to rotate the barcode either 90, 180 or 270 degrees.
Does anyone have a working example/is there some easy way to do it?
The "orientation-reference" property hasn't been implemented in FOP yet, so
I was hoping to tweak the SVG result by passing a value in the xml. (see
mock up below)
I need to generate the barcode inline.
I'm not too familiar with SVG so I'm not sure where to even start.
Any pointers would be very gratefully appreciated.
<fo:instream-foreign-object>
<barcode:barcode xmlns:barcode="http://www.krysalis.org/barcode/ns"
msg="12345">
<barcode:code39>
<barcode:height>4.7mm</barcode:height>
<barcode:module-width>0.315mm</barcode:module-width>
<barcode:wide-factor>2.5</barcode:wide-factor>
<barcode:interchar-gap-width>1mm
</barcode:interchar-gap-width>
<barcode:quiet-zone enabled="true">10mw
</barcode:quiet-zone>
<barcode:checksum>ignore</barcode:checksum>
<barcode:human-readable>none</barcode:human-readable>
<barcode:reference-orientation>90deg
</barcode:reference-orientation>
</barcode:code39>
</barcode:barcode>
</fo:instream-foreign-object>
Kind Regards..
Alex.
-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/