Hi,
 
Thanks a lot.it worked.
 
I have one more question , this is not related to Barcode4J.
 
I downloaded the latest FOP version which is 0.20.5 for Barcode4j, The latest
version is not able to read my fontmetrics files defined in my configuration file.
The old version of FOP  works fine.
 
I read that the new version supports URLs , Does it mean that the latest version doesnt support Paths??
 
 
I dont intend to use the basedir or fontBaseDir elements
 
The following is the code snippet from my configuration file:
 
 
<fonts>
 <font metrics-file="../ear/configuration/upceanm.xml" kerning="yes" embed-file="../ear/configuration/upceanm.ttf">
    <font-triplet name="upceanm" style="normal" weight="normal"/>
 </font>
 <font metrics-file="../ear/configuration/arial.xml" kerning="yes" embed-file="../ear/configuration/arial.ttf">
    <font-triplet name="arial" style="normal" weight="normal"/>
 </font>
 <font metrics-file="../ear/configuration/arialbd.xml" kerning="yes" embed-file="../ear/configuration/arialbd.ttf">
    <font-triplet name="arial" style="normal" weight="bold"/>
 </font>
</fonts>
 
The warning i get from the FOP API
-----------------------------------------------------

FOP:Failed to read a font metrics file: Invalid font metrics file: ../ear/configuration/upceanm.xml (Invalid baseDir specified:   (no protocol:  ))

 
Any suggestions pls
 
Thanks

Jeremias Maerki <[EMAIL PROTECTED]> wrote:

On 15.12.2004 12:11:39 kumar Bandaru wrote:
> Wow Wow Wow! I got the barcodes rendered.Thanks for your suggestions.I
> started all over again .it worked.

Good to hear. :-)

> As Barcode4J doesn't need Fonts to render the barcode, The only way to
> increase the barcode size is using the and
> barcode:module-width> ? Iam i right abt this??

Yes.

> What are the defaults barcode4j uses for height and width ??

That depends on the symbology in use. Have a look at the following link
where you can see the defaults for EAN-8 barcodes:
http://barcode4j.krysalis.org/barcode-xml.html#EAN-8

> How can i align the barcode within the cell? I tried with text-align
> property it didnt work.

Hmm, technically an instream-foreign-object behaves much like a
character and therefore you can use text-align for this use case, too.
The following worked fine here (whether this is on the block or on the
table-cell doesn't really matter):







Maybe you are confused because of the quiet zone that is on by default.
The quiet zone is necessary so barcode readers can distiguish the
barcode from nearby stuff. You can switch it off like this, if
necessary:

[..]

[..]


Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Do you Yahoo!?
Read only the mail you want - Yahoo! Mail SpamGuard.

Reply via email to