[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Cannot create font metrics when building docs

From: Simon Large <simon.tortoisesvn_at_gmail.com>
Date: Sat, 22 Oct 2011 22:41:22 +0100

Hi Stefan,

I can no longer build the docs without disabling the build of font
metrics. I think I have set up my config.bat correctly

set LOCAL_FOP_HOME=%~dp0\..\..\..\..\DocTools\fop\
set LIBDIR=%LOCAL_FOP_HOME%lib
set CMD="java"
set FONT_DIR=C:\Windows\Fonts

but I just get a pile of errors which look like this:

     [exec] Parsing font...
     [exec] Reading C:\Windows\Fonts\arial.ttf...
     [exec] Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/xmlgraphics/fonts/Glyphs
     [exec] at
org.apache.fop.fonts.truetype.TTFFile.initAnsiWidths(TTFFile.java:444)
     [exec] at org.apache.fop.fonts.truetype.TTFFile.readFont(TTFFile.java:493)

     [exec] at org.apache.fop.fonts.apps.TTFReader.loadTTF(TTFReader.java:209)
     [exec] at org.apache.fop.fonts.apps.TTFReader.main(TTFReader.java:164)
     [exec] Caused by: java.lang.ClassNotFoundException:
org.apache.xmlgraphics.fonts.Glyphs
     [exec] at java.net.URLClassLoader$1.run(Unknown Source)
     [exec] at java.security.AccessController.doPrivileged(Native Method)
     [exec] at java.net.URLClassLoader.findClass(Unknown Source)
     [exec] at java.lang.ClassLoader.loadClass(Unknown Source)
     [exec] at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
     [exec] at java.lang.ClassLoader.loadClass(Unknown Source)
     [exec] ... 4 more
     [exec] TTF Reader for Apache FOP 0.95beta

To be honest I'm not sure how the build process even finds java as it
is not in my path, but as I know nothing at all about java I don't
know where to start looking.

Simon

-- 
:       ___
:  oo  // \\      "De Chelonian Mobile"
: (_,\/ \_/ \     TortoiseSVN
:   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
:   /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=2860854
To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2011-10-22 23:41:29 CEST

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.