Example embedding Font This example shows how to use an embedded font and uses a free barcode font as an example. The barcode font is from http://www.geocities.com/keith_dimmock/ and is free. To generate the PDF from this example, set the following build parameters (for example in build-local.properties) and run "build examples" from the top-level FOP source code directory. fo.examples.dir = ./examples/fo/advanced fo.examples.include = **/barcode.fo fo.examples.userconfig = examples/fo/advanced/bar.conf.xml fo.examples.force = true If the character encoding is correct in the generated PDF (bugzilla 5335), searching for "123456" should find the first barcode, and "234567" the second. First barcode: *ID123456* *ID123456* normal text, follows first barcode. Second barcode: *ID234567* and some text *ID234567* and some text normal text, follows second barcode.