From: SourceForge.net <no...@so...> - 2009-02-23 10:35:39
|
Support Requests item #2629598, was opened at 2009-02-23 09:50 Message generated for change (Comment added) made by jmaerki You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=615505&aid=2629598&group_id=96670 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None >Status: Closed Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: Option to embed font (or skip reference)for pdf/a generation Initial Comment: I cannot create PDF/A with FOP containing a barcode4j-barcode, because barcode4j creates a font-reference in the PDF. Fonts have to be embedded for pdf/a-standard. ---------------------------------------------------------------------- >Comment By: Jeremias Mrki (jmaerki) Date: 2009-02-23 11:35 Message: Please note that, by default, Barcode4J uses "Helvetica" as default font for the human-readable part. This is documented as such in the Barcode XML documentation. For PDF/A you must use font that are configured to be embedded. So with the default, you'd have to explicitely configure Helvetica as an embeddable font. But you can also just tell Barcode4J to use another font that you have already set up. For example, if you use "Verdana" in your document, you can do this: <bc:barcode xmlns:bc="http://barcode4j.krysalis.org/ns" message="4194586705506+07"> <bc:ean-13> <bc:human-readable> <bc:font-name>Verdana</bc:font-name> </bc:human-readable> </bc:ean-13> </bc:barcode> I've just verified that producing a valid PDF/A document is possible that way. HTH ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=615505&aid=2629598&group_id=96670 |