[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] Generating font metrics requires Jakarta CommonsLogging
Hi, Hint for people using Unicode fonts: the -enc asci limits the font. http://lists.oasis-open.org/archives/docbook-apps/200609/msg00272.html The copy paste bug in fop is solved. T.G. Mutato wrote: > On a Win32 system, I've found with FOP 0.93 that the "Generate a FOP > font metrics file" instructions for FOP 0.20.5 in "DocBook XSL: The > Complete Guide" don't work "as is": > > java -cp "../fop-0.20.5/build/fop.jar;\ > ../fop-0.20.5/lib/xercesImpl.jar;../fop-0.20.5/lib/xalan.jar" \ > org.apache.fop.fonts.apps.TTFReader \ > -enc ansi \ > /WINDOWS/FONTS/GARA.TTF lib/garamond.xml > > Even when updating the directory names this produces the error: > > Exception in thread "main" java.lang.NoClassDefFoundError: > org/apache/commons/logging/LogFactory > > Adding the Commons Logging library, Commons IO library, and Serializer > library seems to resolve this. So updating the directory names and > version numbers and adding the new jar files gives us: > > java -cp "../fop-0.93/build/fop.jar;\ > ../fop-0.93/lib/xercesImpl-2.7.1.jar;\ > ../fop-0.93/lib/xalan-2.7.0.jar;\ > ../fop-0.93/lib/commons-logging-1.0.4.jar" \ > ../fop-0.93/lib/commons-io-1.1.jar; > ../fop-0.93/lib/serializer-2.7.0.jar > org.apache.fop.fonts.apps.TTFReader > -enc ansi \ > /WINDOWS/FONTS/GARA.TTF lib/garamond.xml > > Just in case someone else finds this useful... > > TGM > > --------------------------------------------------------------------- > To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org > For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]