When I generate an FO file and pass it to FOP in java, my PDF output doesn't have special characters rendered properly (like bullets, & copyright [©] symbols for example). However when I run FOP from the command line with the same identical FO file as input, the special symbols are rendered correctly in the PDF output. It seems as though the command line FOP is encoding the text, thus allowing special chars to be handled properly. Can you tell me how to set the proper FOP options in java so that this encoding takes place the the special chars can be handled correctly? Thanks, Zip
You should ask this kind of question on the fop-user mailing list. Bugzilla is for reporting bugs, posting requests for enhancement and patches. It's difficult to tell what you're doing wrong without seeing your code. Have a look at the embedding examples in the examples/embedding directory. The class ExampleFO2PDF.java should work with special characters. Compare that code to yours. In case you have special fonts you register with the -c argument on the command line make sure you initialize the Options class. See the Embedding page on the FOP site on how to do this. If you have any more questions please post them on the fop-user mailing list. This way, more people will also profit from answers.
batch transition to closed remaining pre-FOP1.0 resolved bugs