I followed the instructions how to download and compile sfntly, but unfortunately the latest revision (237) did not compile on my machines, please see error report below.
For the record – I've tried this under OSX 10.6.8, as well as under 10.8.5. Both machines produced the same error report.
However, revision 236 compiled without any problems. So for the moment I will be sticking to that, but I’m interested to know how to solve this issue.
Buildfile: /code/sfntly/java/build.xml
compile:
[mkdir] Created dir: /code/sfntly/java/build/classes
[javac] Compiling 201 source files to /code/sfntly/java/build/classes
[javac] /code/sfntly/java/src/com/google/typography/font/sfntly/table/opentype/component/VisibleBuilder.java:8: com.google.typography.font.sfntly.table.SubTable.Builder has protected access in com.google.typography.font.sfntly.table.SubTable
[javac] class VisibleBuilder<T extends SubTable> extends SubTable.Builder<T> {
[javac] ^
[javac] /code/sfntly/java/src/com/google/typography/font/sfntly/table/opentype/component/VisibleBuilder.java:8: a generic class may not extend java.lang.Throwable
[javac] class VisibleBuilder<T extends SubTable> extends SubTable.Builder<T> {
[javac] ^
[javac] /code/sfntly/java/src/com/google/typography/font/sfntly/sample/sfview/OtTableTagger.java:128: cannot find symbol
[javac] symbol : class SafeVarargs
[javac] location: class com.google.typography.font.sfntly.sample.sfview.OtTableTagger
[javac] @SafeVarargs
[javac] ^
[javac] /code/sfntly/java/src/com/google/typography/font/sfntly/sample/sfview/RuleDump.java:26: charGlyphClosure(com.google.typography.font.sfntly.Font,java.lang.String) in com.google.typography.font.sfntly.table.opentype.component.Rule cannot be applied to (java.lang.String,com.google.typography.font.sfntly.Font)
[javac] GlyphGroup ruleClosure = Rule.charGlyphClosure(txt, font);
[javac] ^
[javac] /code/sfntly/java/src/com/google/typography/font/sfntly/table/opentype/component/VisibleBuilder.java:20: method does not override or implement a method from a supertype
[javac] @Override
[javac] ^
[javac] /code/sfntly/java/src/com/google/typography/font/sfntly/table/opentype/component/VisibleBuilder.java:23: method does not override or implement a method from a supertype
[javac] @Override
[javac] ^
[javac] /code/sfntly/java/src/com/google/typography/font/sfntly/table/opentype/component/VisibleBuilder.java:26: method does not override or implement a method from a supertype
[javac] @Override
[javac] ^
[javac] /code/sfntly/java/src/com/google/typography/font/sfntly/table/opentype/component/VisibleBuilder.java:29: method does not override or implement a method from a supertype
[javac] @Override
[javac] ^
[javac] Note: /code/sfntly/java/src/com/google/typography/font/sfntly/sample/sfview/OtTableTagger.java uses unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 8 errors
BUILD FAILED
/code/sfntly/java/common.xml:21: Compile failed; see the compiler error output for details.
Total time: 3 seconds