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

Reply via email to