After very long search we got this solution from this site. Thanks you very much....
<font metrics-file="IntroRegular.xml" kerning="yes" embed- file="IntroRegular.ttf"> <font-triplet name="Intro" style="normal" weight="normal"/> <font-triplet name="Intro" style="normal" weight="bold"/> </font> <font metrics-file="IntroBold.xml" kerning="yes" embed- file="IntroBold.ttf"> <font-triplet name="IntroBold" style="normal" weight="bold"/> </font> code snniipet: Driver driver = new Driver(); Options options = new Options(); options.loadUserconfiguration(this.getClass().getResourceAsStream("/fo nt/userconfig.xml")); URL url = this.getClass().getResource("/font/userconfig.xml"); String extForm = url.toExternalForm(); Configuration.put("baseDir",extForm); Configuration.put("fontBaseDir",extForm); --------------------------------------------------------------------- To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org