Hi, Please don’t send font files to the mailing list. They can be very big and upset some members who access their e-mail via a low-bandwith connection. And most of all, you may be breaching the font license as you are effectively giving it away to the public.
Thanks, Vincent On 08/11/10 08:42, SriKrishnan wrote: > Hi Mehdi, > > Here I have attached the font > > Thanks, > Srikrishnan > > -----Original Message----- > From: mehdi houshmand [mailto:med1...@gmail.com] > Sent: Monday, November 08, 2010 1:44 PM > To: fop-users@xmlgraphics.apache.org > Subject: Re: font configuration in fop > > Hi SriKrishnan, > > Could you send the font file? > > Thanks > > Mehdi > > On 8 November 2010 03:13, SriKrishnan <srikrish...@techset.co.uk> wrote: >> Hi Mehdi, >> >> Thanks for your guidance. I have changed the syntax errors I done as per > you >> mentioned, it moves the lines further. But still there are some errors >> occurs. Can You help me to identify these? >> >> FYR: >> C:\>java -cp >> > "C:\fop-1.0\build\fop.jar";"C:\fop-1.0\lib\avalon-framework-4.2.0.jar";"C:\f >> > op-1.0\lib\commons-logging-1.0.4.jar";"C:\fop-1.0\lib\commons-io-1.3.1.jar" >> org.apache.fop.fonts.apps.TTFReader -d >> "C:\Advent\3b2fonts\OpenTypeFonts\Goudy.otf" Goudy.xml >> TTF Reader for Apache FOP 1.0 >> >> Parsing font... >> Reading C:\Advent\3b2fonts\OpenTypeFonts\Goudy.otf... >> sfnt version: OpenType with CFF data >> Reading 10 dir tables >> dir tables: [post, CFF , name, cmap, OS/2, hmtx, head, GPOS, maxp, hhea] >> flags: 3 - 11 >> unit per em: 1000 >> font bbox: xMin=-168 yMin=-213 xMax=1001 yMax=967 >> Number of glyphs in font: 229 >> hhea.Ascender: 967 -> 967 internal units >> hhea.Descender: -213 -> -213 internal units >> Number of horizontal metrics: 229 >> Exception in thread "main" java.lang.NoClassDefFoundError: >> org/apache/xmlgraphics/fonts/Glyphs >> at >> org.apache.fop.fonts.truetype.TTFFile.initAnsiWidths(TTFFile.java:492) >> at org.apache.fop.fonts.truetype.TTFFile.readFont(TTFFile.java:541) >> at org.apache.fop.fonts.apps.TTFReader.loadTTF(TTFReader.java:209) >> at org.apache.fop.fonts.apps.TTFReader.main(TTFReader.java:164) >> Caused by: java.lang.ClassNotFoundException: >> org.apache.xmlgraphics.fonts.Glyphs >> at java.net.URLClassLoader$1.run(Unknown Source) >> at java.security.AccessController.doPrivileged(Native Method) >> at java.net.URLClassLoader.findClass(Unknown Source) >> at java.lang.ClassLoader.loadClass(Unknown Source) >> at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) >> at java.lang.ClassLoader.loadClass(Unknown Source) >> ... 4 more >> >> Thanks, >> Srikrishnan >> >> -----Original Message----- >> From: mehdi houshmand [mailto:med1...@gmail.com] >> Sent: Thursday, November 04, 2010 7:08 PM >> To: fop-users@xmlgraphics.apache.org >> Subject: Re: font configuration in fop >> >> Hi SriKrishnan, >> >> Just to add, I forgot to mention, you're also using the the wrong >> character to denote folders "/" is a Unix/Linux folder separator, in >> windows command line you have to use "\". So your final command should >> be: >> >> java -cp >> > "C:\fop-1.0\build\fop.jar";"C:\fop-1.0\lib\avalon-framework-4.2.0.jar";"C:\f >> > op-1.0\lib\commons-logging-1.0.4.jar";"C:\fop-1.0\lib\commons-io-1.3.1.jar" >> org.apache.fop.fonts.apps.TTFReader -d "C:\OpenTypeFonts\Goudy.otf" >> Goudy.xml >> >> That is of course presuming everything is in the correct directories >> as specified. >> >> Thanks >> >> Mehdi >> >> On 4 November 2010 12:29, Chen Yang <cy...@hrsg.ca> wrote: >>> Hi Srikrishnan, >>> >>> >>> >>> Here is the command I used for Chinese fonts in Linux >>> >>> >>> >>> # java –cp >>> >> > /root/Desktop/fop/build/fop.jar:/root/Desktop/fop/lib/avalon-framework-4.2.0 >> > .jar:/root/Desktop/fop/lib/commons-logging-1.0.4.jar:/root/Desktop/fop/lib/c >> ommons-io-1.3.1.jar:/root/Desktop/fop/lib/xmlgraphics-commons-1.4.jar >>> org.apache.fop.fonts.apps.TTFReader /usr/share/fonts/simhei/simhei.ttf >>> /usr/share/fonts/simhei/simhei.xml >>> >>> >>> >>> >>> >>> Chen >>> >>> >>> >>> From: SriKrishnan [mailto:srikrish...@techset.co.uk] >>> Sent: November-04-10 6:11 AM >>> To: fop-users@xmlgraphics.apache.org >>> Subject: font configuration in fop >>> >>> >>> >>> Hi All, >>> >>> >>> >>> I want to configure “Goudy” font in my fop. I tried something like below >> as >>> per mentioned in the Documentation: >>> >>> >>> >>> D:\xslfo>java -cp >>> >> > "C:/fop-1.0/build/fop.jar";"C:/fop-1.0/lib/avalon-framework-4.2.0.jar";"C:/f >> > op-1.0/lib/commans-logging-1.0.4.jar";"C:/fop-1.0/lib/commons-io-1.3.1.jar" >>> org.apache.fop.fonts.apps.TTFReader -d "C:/ OpenTypeFonts/Goudy.otf" >>> Goudy.xml >>> >>> >>> >>> But I encountered some error message as follows: >>> >>> >>> >>> Exception in thread "main" java.lang.NoClassDefFoundError: >>> org/apache/commons/logging/LogFactory >>> >>> at org.apache.fop.fonts.apps.TTFReader.main(TTFReader.java:119) >>> >>> Caused by: java.lang.ClassNotFoundException: >>> org.apache.commons.logging.LogFactory >>> >>> at java.net.URLClassLoader$1.run(Unknown Source) >>> >>> at java.security.AccessController.doPrivileged(Native Method) >>> >>> at java.net.URLClassLoader.findClass(Unknown Source) >>> >>> at java.lang.ClassLoader.loadClass(Unknown Source) >>> >>> at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) >>> >>> at java.lang.ClassLoader.loadClass(Unknown Source) >>> >>> ... 1 more >>> >>> >>> >>> Can anybody helpme to understand what about this? And how to solve this? >>> >>> >>> >>> Thanks in Advance, >>> >>> Srikrishnan >> >> --------------------------------------------------------------------- >> 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 >> >> > > --------------------------------------------------------------------- > 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 --------------------------------------------------------------------- To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org