Re: Looking for the best location for a barcode library
Victor Mote wrote: I agree. There are some other parts of FOP that would seem to be similar -- fonts and hyphenation come to mind. I was always under the impression there is some overlap with Batik, programs producing charts or organigrams (drawing boxes around text) and the like. Now, who's going to coordinate this stuff? J.Pietschmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: Looking for the best location for a barcode library
On 21.02.2003 00:17:51 J.Pietschmann wrote: Victor Mote wrote: I agree. There are some other parts of FOP that would seem to be similar -- fonts and hyphenation come to mind. I was always under the impression there is some overlap with Batik, programs producing charts or organigrams (drawing boxes around text) and the like. Now, who's going to coordinate this stuff? Well, for Apache-local stuff this is the Apache community. Maybe small packages that are of use in more than one place one of the many Commons projects may be the right place. We could at least try to compile a list of those known to us and put it on the FOP site. For packages that exist outside of Apache we can only have some links to them. Don't know how this can be coordinated at all. At least, having pointers to such projects on the FOP website helps these projects to gain publicity. Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: Looking for the best location for a barcode library
Jeremias Maerki wrote: Currently, the project's a one-man show, so I think it doesn't qualify as a candiate for an Apache (sub-)project. But who knows. That's why I ask around first. Being a FOP committer I could also add it to FOP but I think the project isn't exclusively useful in that context. I agree. There are some other parts of FOP that would seem to be similar -- fonts and hyphenation come to mind. Victor Mote - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Looking for the best location for a barcode library
Hi there Before I open a SourceForge project I wanted to ask if there might be interest in a barcode library/framework here at Apache. I started to develop the library two years ago and it has already seen real-life use in two projects with my last employer. I'm in the process of doing a major refactoring cycle with the goal of making the whole package opensource. Features: - written in Java - Implementations of the following 1D-barcodes: - Interleaved 2 of 5 - Code39 - Codabar - Code128 - EAN13 and UPC-A (only partially impl.) - Output formats: - SVG (as W3C DOM and JDOM) - AWT (planned, first experiments) - Bitmaps (planned) - Integration - Xalan extension (generating SVG) - Servlet (generating SVG) - FOP extension (in progress) - Other planned features: - support for 2D-barcodes (ex. DataMatrix) Currently, the project's a one-man show, so I think it doesn't qualify as a candiate for an Apache (sub-)project. But who knows. That's why I ask around first. Being a FOP committer I could also add it to FOP but I think the project isn't exclusively useful in that context. Thanks in advance for any feedback! Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
DO NOT REPLY [Bug 4002] - TTFReader unable to handle 3 of 9 Barcode font
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4002. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4002 TTFReader unable to handle 3 of 9 Barcode font [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||INVALID --- Additional Comments From [EMAIL PROTECTED] 2002-11-24 16:57 --- The problem apparently is in your font. So either fix it by third-party font editor or try different one. For instanse this free bar code font works fine: http://www.squaregear.net/fonts/free3of9.shtml. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
AW: BARCODE
Why not a fast, flexible and reliable solution? 3 things are needed: o Java routines to calculate barcode rectangles and label areas depending from barcode type and its parameters. Possibly such routines are freely available. Otherwise: give me the specs, I will write the code (the nowadays popular datamatrix will be harder) and somebody has to run scan tests. o Java code to render the rectangles: very easy in PDF o Handy XSL:FO Input. My experimental hack below is functionally OK allowing barcode type selection with appropriate parameters. The renderer extensions is quite easy and elegant. Hansuli Anderegg __ Barcode Input fo:block width=0pt height=0pt fo:instream-foreign-object width=0pt height=0pt svg:svg width=0 height=0 svg:desccontent: bar3of9, D014679, 60.0, 600.0, 18.0, 1.44, 2.25/svg:desc ||| | | | | ||| | | | + ration narrow/wide ||| | | + module width ||| | + height ||| + y position ||+ x position |+ barcode data + barcode type /svg:svg /fo:instream-foreign-object /fo:block - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
DO NOT REPLY [Bug 4002] - TTFReader unable to handle 3 of 9 Barcode font
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4002. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4002 TTFReader unable to handle 3 of 9 Barcode font --- Additional Comments From [EMAIL PROTECTED] 2002-10-09 15:18 --- Hi there, I'm having the same problem. Someone is disussing this problem in the following newsgroup: http://marc.theaimsgroup.com/?l=fop-devm=103098230522738w=2 It seems that one way to solve this problem for several .ttf files is to convert it in a .ttx file and then back again to .ttf through FootTools (Open Source software that you can download from http://sourceforge.net/projects/fonttools/ ). They say that by these transformations, some .ttf that previuosly had trouble to be used with TTFReader, has begun to work. I tried the same with the 3of9.ttf file, but the process to re-convert the .ttx file in .ttf file does NOT work. It stops giving out this message: C:\Programmi\TTXttx -s C:\Programmi\TTX\MieiFiles\3OF9Gio.ttx C:\Programmi\TTX\ MieiFiles\3OF9Gio.ttf Compiling C:\Programmi\TTX\MieiFiles\3OF9.ttx to C:\Programmi\TTX\MieiFile s\3OF9.ttf... Parsing 'GlyphOrder' table... Parsing 'OS/2' table... Parsing 'PCLT' table... Parsing 'cmap' table... Parsing 'cvt ' table... Parsing 'fpgm' table... Parsing 'glyf' table... Parsing 'head' table... Traceback (most recent call last): File fontTools\ttx.pyc, line 243, in main File fontTools\ttx.pyc, line 228, in process File fontTools\ttx.pyc, line 163, in ttCompile File fontTools\ttLib\__init__.pyc, line 272, in importXML File fontTools\ttLib\xmlImport.pyc, line 134, in importXML File fontTools\ttLib\xmlImport.pyc, line 24, in parse File fontTools\ttLib\xmlImport.pyc, line 44, in parseFile File fontTools\ttLib\xmlImport.pyc, line 107, in endElementHandler File fontTools\ttLib\tables\_h_e_a_d.pyc, line 77, in fromXML File fontTools\ttLib\tables\_h_e_a_d.pyc, line 121, in parse_date OverflowError: mktime argument out of range (Hit any key to exit) Let me know for any news!!! Cheers! Ale - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
BARCODE
Title: BARCODE Hi! Is it possible to embed barcodes into PDF using FOP? Thanks in advance, Maxim Surov
RE: BARCODE
Title: BARCODE If you made the barcode a graphic, you could embed it. -Original Message-From: Surov Maxim [mailto:[EMAIL PROTECTED]]Sent: Tuesday, October 08, 2002 10:34 AMTo: [EMAIL PROTECTED]Subject: BARCODE Hi! Is it possible to embed barcodes into PDF using FOP? Thanks in advance, Maxim Surov
RE: BARCODE
Title: BARCODE Thanks! Could you suggest me some free packages which support barcodes simpliciter? (Something like http://big.faceless.org/but free) If you made the barcode a graphic, you could embed it. -Original Message-From: Surov Maxim [mailto:[EMAIL PROTECTED]]Sent: Tuesday, October 08, 2002 10:34 AMTo: [EMAIL PROTECTED]Subject: BARCODE Hi! Is it possible to embed barcodes into PDF using FOP? Thanks in advance, Maxim Surov
RE: BARCODE
Title: BARCODE There are some threads in the archives which describe using Barcode fonts. I'm sure if you search in the archives for "barcode" you'd come up with something relevant to your needs. -Original Message-From: Surov Maxim [mailto:[EMAIL PROTECTED]]Sent: Tuesday, October 08, 2002 10:34 AMTo: [EMAIL PROTECTED]Subject: BARCODE Hi! Is it possible to embed barcodes into PDF using FOP? Thanks in advance, Maxim Surov
RE: BARCODE
Two ways I know of. Using barcode fonts. Using SVG to draw barcode. We have used a stylesheet to draw the SVG works really well. Rhett Aultman [EMAIL PROTECTED] on 08/10/2002 15:34:55 Please respond to [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc: Subject: RE: BARCODE If you made the barcode a graphic, you could embed it. -Original Message- From: Surov Maxim [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 08, 2002 10:34 AM To: [EMAIL PROTECTED] Subject: BARCODE Hi! Is it possible to embed barcodes into PDF using FOP? Thanks in advance, Maxim Surov - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: BARCODE
Surov Maxim wrote: Thanks! Could you suggest me some free packages which support barcodes simpliciter? (Something like http://big.faceless.org/ but free) There is a generator written in XSLT available at http://www.renderx.com/barcodes.html J.Pietschmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: Barcode-line on a page....
Hi, Maybe you should have a look at iText java library. I use it myself to add some static content on every page of a document after fop processing. Dref. --- [EMAIL PROTECTED] a écrit : thanks... but one solution shows me many more problems... :( My margins must be set to 0 now (leftmargin) and that screws up my whote document. anyway... thank you Jochen Maes EDP departement Programmeur KBC-Securities Havenlaan 16 1080 Brussel Tel : 02/429.96.81 Fax : 02/429.17.48 E-mail : [EMAIL PROTECTED] ** This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. KBC Securities reserves the right to monitor all e-mail communications through its networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorised to state them to be the views of any such entity. ** Edmond Pugnale edmond.pugnale@fluTo: [EMAIL PROTECTED] xmedia.fr cc: Sent by: Subject: Re: Barcode-line on a page [EMAIL PROTECTED] pes.fr 29-01-02 09:00 PM Please respond to fop-dev [EMAIL PROTECTED] wrote: Now i need to be able to say (but then in FOP language) print a line here: 14.2(x from), 220(y from), 51(x to), 220(y to) the line must be 1 pt thick or 2 points whatever... If you want to draw horizontal or vertical lines, you can add flat block-containers inside appropriate static-content element : fo:static-content flow-name=first-before ... fo:block-container left=(x from) top=(y from) width=(y width) height=0 position=absolute border-after-width=2pt border-after-style=solid/ ... /fo:static-content Ed - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] ___ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.fr - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: Barcode-line on a page....
iTextJava hmm if it reads/writes PDF it can be interesting thanks... Jochen Maes EDP departement Programmeur KBC-Securities Havenlaan 16 1080 Brussel Tel : 02/429.96.81 Fax : 02/429.17.48 E-mail : [EMAIL PROTECTED] ** This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. KBC Securities reserves the right to monitor all e-mail communications through its networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorised to state them to be the views of any such entity. ** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: Barcode-line on a page....
iText does not allow you to decompile a pdf but you can copy the whole content of one page of a preexisting pdf to another then add your static content. Dref. --- [EMAIL PROTECTED] a écrit : iTextJava hmm if it reads/writes PDF it can be interesting thanks... Jochen Maes EDP departement Programmeur KBC-Securities Havenlaan 16 1080 Brussel Tel : 02/429.96.81 Fax : 02/429.17.48 E-mail : [EMAIL PROTECTED] ** This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. KBC Securities reserves the right to monitor all e-mail communications through its networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorised to state them to be the views of any such entity. ** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] ___ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.fr - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: Barcode-line on a page....
[EMAIL PROTECTED] wrote: but one solution shows me many more problems... :( My margins must be set to 0 now (leftmargin) and that screws up my whote document. You can define margins on the body region, where the text flow goes. Define a region-start appropriately, where the static-content is placed. If you need marks alternatively on the left and right margin (for books), use repeatable-page-master-alternatives. There is more about this in the spec, for example at http://www.w3.org/TR/xsl/slice6.html#fo_simple-page-master Note: Reading and understanding specs is the price to pay for becoming a guru... HTH J.Pietschmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Barcode-line on a page....
i render a pdf with FOP. and i'm extremely happy with it. But, i need to draw a line in the leftmargin off the page (for a machine how puts the letters in a envelope). But it's a fixed location and a fixed length. Now i need to be able to say (but then in FOP language) print a line here: 14.2(x from), 220(y from), 51(x to), 220(y to) the line must be 1 pt thick or 2 points whatever... now how do i do that? Please (or we can do that or the whole FOP project goes down the drain.) thank you very much for your help... Jochen Maes EDP departement Programmeur KBC-Securities Havenlaan 16 1080 Brussel Tel : 02/429.96.81 Fax : 02/429.17.48 E-mail : [EMAIL PROTECTED] ** This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. KBC Securities reserves the right to monitor all e-mail communications through its networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorised to state them to be the views of any such entity. ** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: Barcode-line on a page....
[EMAIL PROTECTED] wrote: Now i need to be able to say (but then in FOP language) print a line here: 14.2(x from), 220(y from), 51(x to), 220(y to) the line must be 1 pt thick or 2 points whatever... If you want to draw horizontal or vertical lines, you can add flat block-containers inside appropriate static-content element : fo:static-content flow-name=first-before ... fo:block-container left=(x from) top=(y from) width=(y width) height=0 position=absolute border-after-width=2pt border-after-style=solid/ ... /fo:static-content Ed - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
DO NOT REPLY [Bug 4002] - TTFReader unable to handle 3 of 9 Barcode font
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4002. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4002 TTFReader unable to handle 3 of 9 Barcode font --- Additional Comments From [EMAIL PROTECTED] 2001-11-27 01:36 --- I have tried with a lot of different commercial and shareware Code 39 (3 of 9) Barcode fonts but they all have this problem. In some cases there is a EOF exception instead of Unicode cmap table not present and then No Such Element exception. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
DO NOT REPLY [Bug 4002] New: - TTFReader unable to handle 3 of 9 Barcode font
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4002. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4002 TTFReader unable to handle 3 of 9 Barcode font Summary: TTFReader unable to handle 3 of 9 Barcode font Product: Fop Version: all Platform: PC OS/Version: Windows NT/2K Status: NEW Severity: Normal Priority: Other Component: general AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] I am trying to create the metrics file for the 3 of 9 Barcode font and when I run TTFReader I get the following output: TTF Reader v1.1.1 Reading 3of9.ttf... Number of glyphs in font: 218 Unicode cmap table not present java.util.NoSuchElementException: Vector Enumeration at java.util.Vector$1.nextElement(Unknown Source) at org.apache.fop.fonts.TTFFile.createCMaps(TTFFile.java:415) at org.apache.fop.fonts.TTFFile.readFont(TTFFile.java:404) at org.apache.fop.fonts.apps.TTFReader.loadTTF(TTFReader.java:181) at org.apache.fop.fonts.apps.TTFReader.main(TTFReader.java:143) I am using the fop-0_20_1-dev version of fop. Could somebody please look into allowing the TTFReader to create the metrics for this font, as I am trying to use fop for reporting purposes and I require the report to have barcodes. Thanks PS - You can get a free copy of this font from http://www.netlabels.com/faq2/barcode.html - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Embedded Barcode - no errors - but not visible in resulting PDF
Fop-0.19.0-CVS My servlet is generating a PDF with embedded Barcode 3of9 font. I'm having problems on 3 different machines. I'm using Type 1 font. I get no errors during the generation process (command-line or servlet) and no errors from Acrobat when loading/displaying the file. I simply get no display of the barcode font. My test file is docs/examples/fonts.fo I changed the first 2 blocks to display my barcode fonts... fo:block font-family=Helvetica font-size=14pt SAdHC39a Type1 Barecode 3 of 9 follows... /fo:block fo:block space-after.optimum=16pt font-family=SAdHC39a !ABC123! /fo:block fo:block font-family=Helvetica font-size=14pt SAdHC39b Type1 Barecode 3 of 9 follows... /fo:block fo:block space-after.optimum=16pt font-family=SAdHC39b !ABC123! /fo:block I took a look at the resulting PDF and it confirms that the font is being embedded into the file. I don't understand why it is not displayed in Acrobat Reader. Any ideas? /jhd = excerpt from resulting PDF file = 13 0 obj /Type /FontDescriptor /FontName /SAdHC39a /FontBBox [-100 -398 810 752] /Flags 6 /CapHeight 747 /Ascent 747 /Descent -393 /ItalicAngle 210 /StemV 0 /FontFile 14 0 R endobj 14 0 obj /Length 28113 /Filter [ /ASCII85Decode /FlateDecode ] /Length1 5863 /Length2 19933 /Length3 545 stream GatS snip @~ endstream endobj 15 0 obj /Type /Font /Subtype /Type1 /Name /F15 /BaseFont /SAdHC39a /Encoding /WinAnsiEncoding /FirstChar 0 /LastChar 255 /Widths 16 0 R /FontDescriptor 13 0 R endobj 16 0 obj [ 500 snip 500 0] endobj - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]