Re: SVG text not displaying in PDF
Hi Szaek, I tried changing the template to and in both the cases I got a empty PDF . If I try to write anything in the PDF using that content gets displayed in my PDF. So the xsl:template is definately not the issue . I was able to generate another PDF using and fo:containers but just with the svg tags my PDF is getting generated without any content . Regards, Sachin. -- View this message in context: http://apache-fop.1065347.n5.nabble.com/SVG-text-not-displaying-in-PDF-tp43881p45253.html Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: Error when building FOP svn 1800269 - cannot find symbol symbol getNameForGID(int)
On Thursday, June 29, 2017 8:49 AM, Simon Stener wrote: > > Hi, > > Maybe you have an old fontbox jar on your classpath? Yes, that was it. I had fontbox-1.3.1.jar in fop-svn\fop\lib as well as fontbox-2.0.4. Regards, John Brown. - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
RE: Error when building FOP svn 1800269 - cannot find symbol symbol getNameForGID(int)
Hi, Maybe you have an old fontbox jar on your classpath? Thanks -Original Message- From: John Brown [mailto:johnbrown...@hotmail.com] Sent: 29 June 2017 13:38 To: fop-users@xmlgraphics.apache.org Subject: Error when building FOP svn 1800269 - cannot find symbol symbol getNameForGID(int) john@john-pc /c/downloads/fop-svn/fop $ ant Buildfile: c:\downloads\fop-svn\fop\build.xml Trying to override old definition of task javac Trying to override old definition of task junit init-avail: [echo] --- Apache FOP 2.3.0-SNAPSHOT [1999-2017] [echo] See build.properties and build-local.properties for additional build settings [echo] Apache Ant(TM) version 1.9.6 compiled on June 29 2015 [echo] VM: 25.112-b15, Oracle Corporation [echo] JAVA_HOME: c:/progra~1/java/jdk1.8.0_112 [echo] JAI Support NOT Present [echo] JCE Support PRESENT [echo] JUnit Support NOT Present - Committers are required to have JUnit working [echo] XMLUnit Support NOT Present - you can get it from http://xmlunit.sourceforge.net init: codegen: [echo] Generating the java files from xml resources [xslt] Transforming into c:\downloads\fop-svn\fop\build\gensrc\org\apache\fop\fonts\base14 compile-java: [javac] Compiling 211 source files to c:\downloads\fop-svn\fop\build\classes [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6 [javac] c:\downloads\fop-svn\fop-core\src\main\java\org\apache\fop\render\ps\Type1Fo ntFormatter.java:115: error: cannot find symbol [javac] String name = font.getCharset().getNameForGID(gid.getKey()); [javac]^ [javac] symbol: method getNameForGID(Integer) [javac] location: class CFFCharset [javac] c:\downloads\fop-svn\fop-core\src\main\java\org\apache\fop\render\ps\Type1Fo ntFormatter.java:160: error: cannot find symbol [javac] String mapping = font.getCharset().getNameForGID(gid); [javac] ^ [javac] symbol: method getNameForGID(int) [javac] location: class CFFCharset [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [javac] 2 errors [javac] 1 warning BUILD FAILED c:\downloads\fop-svn\fop\build.xml:351: Compile failed; see the compiler error output for details. Total time: 11 seconds john@john-pc /c/downloads/fop-svn/fop - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Error when building FOP svn 1800269 - cannot find symbol symbol getNameForGID(int)
john@john-pc /c/downloads/fop-svn/fop $ ant Buildfile: c:\downloads\fop-svn\fop\build.xml Trying to override old definition of task javac Trying to override old definition of task junit init-avail: [echo] --- Apache FOP 2.3.0-SNAPSHOT [1999-2017] [echo] See build.properties and build-local.properties for additional build settings [echo] Apache Ant(TM) version 1.9.6 compiled on June 29 2015 [echo] VM: 25.112-b15, Oracle Corporation [echo] JAVA_HOME: c:/progra~1/java/jdk1.8.0_112 [echo] JAI Support NOT Present [echo] JCE Support PRESENT [echo] JUnit Support NOT Present - Committers are required to have JUnit working [echo] XMLUnit Support NOT Present - you can get it from http://xmlunit.sourceforge.net init: codegen: [echo] Generating the java files from xml resources [xslt] Transforming into c:\downloads\fop-svn\fop\build\gensrc\org\apache\fop\fonts\base14 compile-java: [javac] Compiling 211 source files to c:\downloads\fop-svn\fop\build\classes [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6 [javac] c:\downloads\fop-svn\fop-core\src\main\java\org\apache\fop\render\ps\Type1FontFormatter.java:115: error: cannot find symbol [javac] String name = font.getCharset().getNameForGID(gid.getKey()); [javac]^ [javac] symbol: method getNameForGID(Integer) [javac] location: class CFFCharset [javac] c:\downloads\fop-svn\fop-core\src\main\java\org\apache\fop\render\ps\Type1FontFormatter.java:160: error: cannot find symbol [javac] String mapping = font.getCharset().getNameForGID(gid); [javac] ^ [javac] symbol: method getNameForGID(int) [javac] location: class CFFCharset [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [javac] 2 errors [javac] 1 warning BUILD FAILED c:\downloads\fop-svn\fop\build.xml:351: Compile failed; see the compiler error output for details. Total time: 11 seconds john@john-pc /c/downloads/fop-svn/fop - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: SVG text not displaying in PDF
Hi Sachin, I modified one piece of your XSL template to get the result with any XML file. FROM: TO: Maybe your XML input does not have a Policy_Summary_Reports named top level node. If this node stands lower level, you may need to modify the matching ie.: Best regards, Szeak 2017-06-29 06:23 keltezéssel, sachinparadkar írta: Hi Szaek, Am I missing any jar files required to display SVG tags related table in my PDF ? I updated my fop jar from version 2.0 to 2.1 and still got a empty PDF without the complex table which rendered for you when you ran my code from command line !! Thanks, Sachin. -- View this message in context: http://apache-fop.1065347.n5.nabble.com/SVG-text-not-displaying-in-PDF-tp43881p45248.html Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org