The url above gives an overview over fop's capabilities regarding graphics. As jai and jimi are good candidates to improve fop's handling in this area, I suggest that we add two new local use-flags, i.e. jai and jimi, so that users easily can emerge fop with support for one or both of these. Both jai and jimi are already in portage, the needed adjustments to dev-java/fop-0.20.5.ebuild is attached. It would probably be nice if anyone find a better way to let ant, the build-system used to build fop, know about the desired libraries. Nevertheless I believe this method will work quite well ;) - As for now I have used portage to optionally depend on jai and jimi based on provided use-flags, and java-config to find the path (in case the user somehow can have emerged it to an alternative path) and finally I symlinked the necessarry .jar-files into the lib directory in ${S}.
Created attachment 41637 [details, diff] fop-0.20.5.ebuild.diff Adding optional support for jai and jimi
updated