AW: FOP TrueType
Thanks it is working! Ok, all links that have been posted are part of the solution but not like they have been explained. some changes has to been done bfore it was working! But again thanks to Denis and Christian! -Ursprüngliche Nachricht- Von: Christian Geisert [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 15. November 2002 17:49 An: [EMAIL PROTECTED] Betreff: Re: FOP TrueType Scherler, Thorsten wrote: > How do I have to do it with cocoon? http://xml.apache.org/cocoon/userdocs/serializers/pdf-serializer.html BTW this is the first hit while searching with Google for "cocoon fop custom fonts" Christian
AW: AW: FOP TrueType
How do I have to do it with cocoon? -Ursprüngliche Nachricht- Von: Christian Geisert [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 15. November 2002 16:55 An: [EMAIL PROTECTED] Betreff: Re: AW: FOP TrueType Scherler, Thorsten wrote: > Hi Markus, > I found this page (combined with what u have written): > http://xml.apache.org/fop/fonts.html [..] > This font contains no embedding license restrictions > > Then I did: > Register the fonts within FOP > Edit conf/userconfig.xml and add entries for the font if the fonts section, > ie: > > > > > > BUT I am using FOP as servlet (Tomcat and cocoon). I now have to compile a > fop.jar with my userconfig.xml, or not? You don't need to compile FOP if you want to use other fonts. Registering means to tell FOP where to find the new fonts at runtime. For loading a configuration file within a servlet see http://xml.apache.org/fop/faq.html#faq-N1030C Christian
Re: AW: FOP TrueType
Scherler, Thorsten wrote: Hi Markus, I found this page (combined with what u have written): http://xml.apache.org/fop/fonts.html [..] This font contains no embedding license restrictions Then I did: Register the fonts within FOP Edit conf/userconfig.xml and add entries for the font if the fonts section, ie: BUT I am using FOP as servlet (Tomcat and cocoon). I now have to compile a fop.jar with my userconfig.xml, or not? You don't need to compile FOP if you want to use other fonts. Registering means to tell FOP where to find the new fonts at runtime. For loading a configuration file within a servlet see http://xml.apache.org/fop/faq.html#faq-N1030C Christian
AW: FOP TrueType
Hello, I am lost again. Ich downloaded the src. I did all what I 've written before. What command do I need to compile fop with arial? I mean I have to tell that in the fop.jar there should be look in my userconfig.xml and add Ariel to the font list? -Ursprüngliche Nachricht- Von: Scherler, Thorsten Gesendet: Freitag, 15. November 2002 13:42 An: [EMAIL PROTECTED] Betreff: AW: FOP TrueType Thank you very much! I will try! -Ursprüngliche Nachricht- Von: "Müller, Markus" [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 15. November 2002 13:41 An: [EMAIL PROTECTED] Betreff: AW: FOP TrueType Yes, ant is the tool you need. I think, it's described in the documentation. MM # -Ursprüngliche Nachricht- # Von: Scherler, Thorsten [mailto:[EMAIL PROTECTED] # Gesendet am: Freitag, 15. November 2002 13:37 # An: [EMAIL PROTECTED] # Betreff: AW: FOP TrueType # # How can I build my C:\fop-0.20.4\build\fop.jar with the new # Font? Using ant? # # I don't have a clue! # # -Ursprüngliche Nachricht- # Von: Scherler, Thorsten # Gesendet: Freitag, 15. November 2002 13:31 # An: [EMAIL PROTECTED] # Cc: Wyonacms-Users (E-Mail) # Betreff: AW: FOP TrueType # # # Hi Markus, # I found this page (combined with what u have written): # http://xml.apache.org/fop/fonts.html # # I did (there is a error if you use the original # [...C:\myfonts\arial.ttf C:\myfonts\arial.ttf arial.xml]): # java -cp # build\fop.jar;lib\xercesImpl-2.0.1.jar;lib\xml-apis.jar;lib\xa # lan-2.3.1.jar;lib\batik.jar # org.apache.fop.fonts.apps.TTFReader C:\myfonts\arial.ttf # C:\myfonts\arial.xml # # Now I have: # TTF Reader v1.1.1 # # Reading C:\myfonts\arial.ttf... # # Number of glyphs in font: 1296 # Creating xml font file... # # Creating CID encoded metrics # Writing xml font file C:\myfonts\arial.xml... # # This font contains no embedding license restrictions # # Then I did: # Register the fonts within FOP # Edit conf/userconfig.xml and add entries for the font if the # fonts section, ie: # # # # # # BUT I am using FOP as servlet (Tomcat and cocoon). I now have # to compile a fop.jar with my userconfig.xml, or not? # Then I have to replace the old fop.jar # @tomcat\webapps\cocoon\WEB-INF\lib. And then I have Arial # within fo, or not # # Thanks for the help # # -Ursprüngliche Nachricht- # Von: "Müller, Markus" [mailto:[EMAIL PROTECTED] # Gesendet: Freitag, 15. November 2002 12:55 # An: [EMAIL PROTECTED] # Betreff: AW: FOP TrueType # # # Hi, # # you have to specify the class-libaries needed by fop. You can # do this in # your commandline like this: # # java -cp [path and name of jar-file] # org.apache.fop.fonts.apps.TTFReader # c:\WINNT\Fonts\arial.ttf arial.xml # # The JAR files you need I don't know exactly, but fop.jar will # be one of # them. Take a look at fop.bat, from there you can copy the -cp # part. # # Hope, this will help you # # Markus # # # -Ursprüngliche Nachricht- # # Von: Scherler, Thorsten [mailto:[EMAIL PROTECTED] # # Gesendet am: Freitag, 15. November 2002 12:10 # # An: Fop-User (E-Mail); Wyonacms-Users (E-Mail) # # Betreff: FOP TrueType # # # # Hello group, # # # # I would like to do the following: # # http://www.infosys.tuwien.ac.at/Services/Docu/XML/Fop-0.20.1/d # # ocs/examples/advanced/cid-fonts.pdf # # # # I want to add Arial to my reports I do that: # # java org.apache.fop.fonts.apps.TTFReader # # c:\WINNT\Fonts\arial.ttf arial.xml # # # # I have that: # # Exception in thread "main" java.lang.NoClassDefFoundError: # # org/apache/fop/fonts/ # # apps/TTFReader # # # # I am the absolute newbie in java! # # # # Thanks for the help! # # # # > Mit freundlichem Gruss, # # > # # > Thorsten Scherler # # > Marketing / Telefonmarketing # # > # # > Weidmüller GmbH & Co. # # > P.O. Box 2807 # # > 33058 Paderborn # # > Tel.:+ 49 - 5252-960-350 # # > Fax:+ 49 - 5252-960-116 # # > eMail: [EMAIL PROTECTED] # # > http://www.weidmueller.de # # > # # > # # #
AW: FOP TrueType
Thank you very much! I will try! -Ursprüngliche Nachricht- Von: "Müller, Markus" [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 15. November 2002 13:41 An: [EMAIL PROTECTED] Betreff: AW: FOP TrueType Yes, ant is the tool you need. I think, it's described in the documentation. MM # -Ursprüngliche Nachricht- # Von: Scherler, Thorsten [mailto:[EMAIL PROTECTED] # Gesendet am: Freitag, 15. November 2002 13:37 # An: [EMAIL PROTECTED] # Betreff: AW: FOP TrueType # # How can I build my C:\fop-0.20.4\build\fop.jar with the new # Font? Using ant? # # I don't have a clue! # # -Ursprüngliche Nachricht- # Von: Scherler, Thorsten # Gesendet: Freitag, 15. November 2002 13:31 # An: [EMAIL PROTECTED] # Cc: Wyonacms-Users (E-Mail) # Betreff: AW: FOP TrueType # # # Hi Markus, # I found this page (combined with what u have written): # http://xml.apache.org/fop/fonts.html # # I did (there is a error if you use the original # [...C:\myfonts\arial.ttf C:\myfonts\arial.ttf arial.xml]): # java -cp # build\fop.jar;lib\xercesImpl-2.0.1.jar;lib\xml-apis.jar;lib\xa # lan-2.3.1.jar;lib\batik.jar # org.apache.fop.fonts.apps.TTFReader C:\myfonts\arial.ttf # C:\myfonts\arial.xml # # Now I have: # TTF Reader v1.1.1 # # Reading C:\myfonts\arial.ttf... # # Number of glyphs in font: 1296 # Creating xml font file... # # Creating CID encoded metrics # Writing xml font file C:\myfonts\arial.xml... # # This font contains no embedding license restrictions # # Then I did: # Register the fonts within FOP # Edit conf/userconfig.xml and add entries for the font if the # fonts section, ie: # # # # # # BUT I am using FOP as servlet (Tomcat and cocoon). I now have # to compile a fop.jar with my userconfig.xml, or not? # Then I have to replace the old fop.jar # @tomcat\webapps\cocoon\WEB-INF\lib. And then I have Arial # within fo, or not # # Thanks for the help # # -Ursprüngliche Nachricht- # Von: "Müller, Markus" [mailto:[EMAIL PROTECTED] # Gesendet: Freitag, 15. November 2002 12:55 # An: [EMAIL PROTECTED] # Betreff: AW: FOP TrueType # # # Hi, # # you have to specify the class-libaries needed by fop. You can # do this in # your commandline like this: # # java -cp [path and name of jar-file] # org.apache.fop.fonts.apps.TTFReader # c:\WINNT\Fonts\arial.ttf arial.xml # # The JAR files you need I don't know exactly, but fop.jar will # be one of # them. Take a look at fop.bat, from there you can copy the -cp # part. # # Hope, this will help you # # Markus # # # -Ursprüngliche Nachricht- # # Von: Scherler, Thorsten [mailto:[EMAIL PROTECTED] # # Gesendet am: Freitag, 15. November 2002 12:10 # # An: Fop-User (E-Mail); Wyonacms-Users (E-Mail) # # Betreff: FOP TrueType # # # # Hello group, # # # # I would like to do the following: # # http://www.infosys.tuwien.ac.at/Services/Docu/XML/Fop-0.20.1/d # # ocs/examples/advanced/cid-fonts.pdf # # # # I want to add Arial to my reports I do that: # # java org.apache.fop.fonts.apps.TTFReader # # c:\WINNT\Fonts\arial.ttf arial.xml # # # # I have that: # # Exception in thread "main" java.lang.NoClassDefFoundError: # # org/apache/fop/fonts/ # # apps/TTFReader # # # # I am the absolute newbie in java! # # # # Thanks for the help! # # # # > Mit freundlichem Gruss, # # > # # > Thorsten Scherler # # > Marketing / Telefonmarketing # # > # # > Weidmüller GmbH & Co. # # > P.O. Box 2807 # # > 33058 Paderborn # # > Tel.:+ 49 - 5252-960-350 # # > Fax:+ 49 - 5252-960-116 # # > eMail: [EMAIL PROTECTED] # # > http://www.weidmueller.de # # > # # > # # #
AW: FOP TrueType
Yes, ant is the tool you need. I think, it's described in the documentation. MM # -Ursprüngliche Nachricht- # Von: Scherler, Thorsten [mailto:[EMAIL PROTECTED] # Gesendet am: Freitag, 15. November 2002 13:37 # An: [EMAIL PROTECTED] # Betreff: AW: FOP TrueType # # How can I build my C:\fop-0.20.4\build\fop.jar with the new # Font? Using ant? # # I don't have a clue! # # -Ursprüngliche Nachricht- # Von: Scherler, Thorsten # Gesendet: Freitag, 15. November 2002 13:31 # An: [EMAIL PROTECTED] # Cc: Wyonacms-Users (E-Mail) # Betreff: AW: FOP TrueType # # # Hi Markus, # I found this page (combined with what u have written): # http://xml.apache.org/fop/fonts.html # # I did (there is a error if you use the original # [...C:\myfonts\arial.ttf C:\myfonts\arial.ttf arial.xml]): # java -cp # build\fop.jar;lib\xercesImpl-2.0.1.jar;lib\xml-apis.jar;lib\xa # lan-2.3.1.jar;lib\batik.jar # org.apache.fop.fonts.apps.TTFReader C:\myfonts\arial.ttf # C:\myfonts\arial.xml # # Now I have: # TTF Reader v1.1.1 # # Reading C:\myfonts\arial.ttf... # # Number of glyphs in font: 1296 # Creating xml font file... # # Creating CID encoded metrics # Writing xml font file C:\myfonts\arial.xml... # # This font contains no embedding license restrictions # # Then I did: # Register the fonts within FOP # Edit conf/userconfig.xml and add entries for the font if the # fonts section, ie: # # # # # # BUT I am using FOP as servlet (Tomcat and cocoon). I now have # to compile a fop.jar with my userconfig.xml, or not? # Then I have to replace the old fop.jar # @tomcat\webapps\cocoon\WEB-INF\lib. And then I have Arial # within fo, or not # # Thanks for the help # # -Ursprüngliche Nachricht- # Von: "Müller, Markus" [mailto:[EMAIL PROTECTED] # Gesendet: Freitag, 15. November 2002 12:55 # An: [EMAIL PROTECTED] # Betreff: AW: FOP TrueType # # # Hi, # # you have to specify the class-libaries needed by fop. You can # do this in # your commandline like this: # # java -cp [path and name of jar-file] # org.apache.fop.fonts.apps.TTFReader # c:\WINNT\Fonts\arial.ttf arial.xml # # The JAR files you need I don't know exactly, but fop.jar will # be one of # them. Take a look at fop.bat, from there you can copy the -cp # part. # # Hope, this will help you # # Markus # # # -Ursprüngliche Nachricht- # # Von: Scherler, Thorsten [mailto:[EMAIL PROTECTED] # # Gesendet am: Freitag, 15. November 2002 12:10 # # An: Fop-User (E-Mail); Wyonacms-Users (E-Mail) # # Betreff: FOP TrueType # # # # Hello group, # # # # I would like to do the following: # # http://www.infosys.tuwien.ac.at/Services/Docu/XML/Fop-0.20.1/d # # ocs/examples/advanced/cid-fonts.pdf # # # # I want to add Arial to my reports I do that: # # java org.apache.fop.fonts.apps.TTFReader # # c:\WINNT\Fonts\arial.ttf arial.xml # # # # I have that: # # Exception in thread "main" java.lang.NoClassDefFoundError: # # org/apache/fop/fonts/ # # apps/TTFReader # # # # I am the absolute newbie in java! # # # # Thanks for the help! # # # # > Mit freundlichem Gruss, # # > # # > Thorsten Scherler # # > Marketing / Telefonmarketing # # > # # > Weidmüller GmbH & Co. # # > P.O. Box 2807 # # > 33058 Paderborn # # > Tel.:+ 49 - 5252-960-350 # # > Fax:+ 49 - 5252-960-116 # # > eMail: [EMAIL PROTECTED] # # > http://www.weidmueller.de # # > # # > # # #
AW: FOP TrueType
Hi, the problem is, that you have to supply the name of your userconfig.xml to FOP. Using fop.bat this is no problem. I never used FOP in a servlet. So yo have to find a way to pass the userconfig.xml path (and name) via the webinf.xml (??) to your servlet, which provides this information to FOP. MM # -Ursprüngliche Nachricht- # Von: Scherler, Thorsten [mailto:[EMAIL PROTECTED] # Gesendet am: Freitag, 15. November 2002 13:31 # An: [EMAIL PROTECTED] # Cc: Wyonacms-Users (E-Mail) # Betreff: AW: FOP TrueType # # Hi Markus, # I found this page (combined with what u have written): # http://xml.apache.org/fop/fonts.html # # I did (there is a error if you use the original # [...C:\myfonts\arial.ttf C:\myfonts\arial.ttf arial.xml]): # java -cp # build\fop.jar;lib\xercesImpl-2.0.1.jar;lib\xml-apis.jar;lib\xa # lan-2.3.1.jar;lib\batik.jar # org.apache.fop.fonts.apps.TTFReader C:\myfonts\arial.ttf # C:\myfonts\arial.xml # # Now I have: # TTF Reader v1.1.1 # # Reading C:\myfonts\arial.ttf... # # Number of glyphs in font: 1296 # Creating xml font file... # # Creating CID encoded metrics # Writing xml font file C:\myfonts\arial.xml... # # This font contains no embedding license restrictions # # Then I did: # Register the fonts within FOP # Edit conf/userconfig.xml and add entries for the font if the # fonts section, ie: # # # # # # BUT I am using FOP as servlet (Tomcat and cocoon). I now have # to compile a fop.jar with my userconfig.xml, or not? # Then I have to replace the old fop.jar # @tomcat\webapps\cocoon\WEB-INF\lib. And then I have Arial # within fo, or not # # Thanks for the help # # -Ursprüngliche Nachricht- # Von: "Müller, Markus" [mailto:[EMAIL PROTECTED] # Gesendet: Freitag, 15. November 2002 12:55 # An: [EMAIL PROTECTED] # Betreff: AW: FOP TrueType # # # Hi, # # you have to specify the class-libaries needed by fop. You can # do this in # your commandline like this: # # java -cp [path and name of jar-file] # org.apache.fop.fonts.apps.TTFReader # c:\WINNT\Fonts\arial.ttf arial.xml # # The JAR files you need I don't know exactly, but fop.jar will # be one of # them. Take a look at fop.bat, from there you can copy the -cp # part. # # Hope, this will help you # # Markus # # # -Ursprüngliche Nachricht- # # Von: Scherler, Thorsten [mailto:[EMAIL PROTECTED] # # Gesendet am: Freitag, 15. November 2002 12:10 # # An: Fop-User (E-Mail); Wyonacms-Users (E-Mail) # # Betreff: FOP TrueType # # # # Hello group, # # # # I would like to do the following: # # http://www.infosys.tuwien.ac.at/Services/Docu/XML/Fop-0.20.1/d # # ocs/examples/advanced/cid-fonts.pdf # # # # I want to add Arial to my reports I do that: # # java org.apache.fop.fonts.apps.TTFReader # # c:\WINNT\Fonts\arial.ttf arial.xml # # # # I have that: # # Exception in thread "main" java.lang.NoClassDefFoundError: # # org/apache/fop/fonts/ # # apps/TTFReader # # # # I am the absolute newbie in java! # # # # Thanks for the help! # # # # > Mit freundlichem Gruss, # # > # # > Thorsten Scherler # # > Marketing / Telefonmarketing # # > # # > Weidmüller GmbH & Co. # # > P.O. Box 2807 # # > 33058 Paderborn # # > Tel.:+ 49 - 5252-960-350 # # > Fax:+ 49 - 5252-960-116 # # > eMail: [EMAIL PROTECTED] # # > http://www.weidmueller.de # # > # # > # # #
AW: FOP TrueType
How can I build my C:\fop-0.20.4\build\fop.jar with the new Font? Using ant? I don't have a clue! -Ursprüngliche Nachricht- Von: Scherler, Thorsten Gesendet: Freitag, 15. November 2002 13:31 An: [EMAIL PROTECTED] Cc: Wyonacms-Users (E-Mail) Betreff: AW: FOP TrueType Hi Markus, I found this page (combined with what u have written): http://xml.apache.org/fop/fonts.html I did (there is a error if you use the original [...C:\myfonts\arial.ttf C:\myfonts\arial.ttf arial.xml]): java -cp build\fop.jar;lib\xercesImpl-2.0.1.jar;lib\xml-apis.jar;lib\xalan-2.3.1.jar;lib\batik.jar org.apache.fop.fonts.apps.TTFReader C:\myfonts\arial.ttf C:\myfonts\arial.xml Now I have: TTF Reader v1.1.1 Reading C:\myfonts\arial.ttf... Number of glyphs in font: 1296 Creating xml font file... Creating CID encoded metrics Writing xml font file C:\myfonts\arial.xml... This font contains no embedding license restrictions Then I did: Register the fonts within FOP Edit conf/userconfig.xml and add entries for the font if the fonts section, ie: BUT I am using FOP as servlet (Tomcat and cocoon). I now have to compile a fop.jar with my userconfig.xml, or not? Then I have to replace the old fop.jar @tomcat\webapps\cocoon\WEB-INF\lib. And then I have Arial within fo, or not Thanks for the help -Ursprüngliche Nachricht- Von: "Müller, Markus" [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 15. November 2002 12:55 An: [EMAIL PROTECTED] Betreff: AW: FOP TrueType Hi, you have to specify the class-libaries needed by fop. You can do this in your commandline like this: java -cp [path and name of jar-file] org.apache.fop.fonts.apps.TTFReader c:\WINNT\Fonts\arial.ttf arial.xml The JAR files you need I don't know exactly, but fop.jar will be one of them. Take a look at fop.bat, from there you can copy the -cp part. Hope, this will help you Markus # -Ursprüngliche Nachricht- # Von: Scherler, Thorsten [mailto:[EMAIL PROTECTED] # Gesendet am: Freitag, 15. November 2002 12:10 # An: Fop-User (E-Mail); Wyonacms-Users (E-Mail) # Betreff: FOP TrueType # # Hello group, # # I would like to do the following: # http://www.infosys.tuwien.ac.at/Services/Docu/XML/Fop-0.20.1/d # ocs/examples/advanced/cid-fonts.pdf # # I want to add Arial to my reports I do that: # java org.apache.fop.fonts.apps.TTFReader # c:\WINNT\Fonts\arial.ttf arial.xml # # I have that: # Exception in thread "main" java.lang.NoClassDefFoundError: # org/apache/fop/fonts/ # apps/TTFReader # # I am the absolute newbie in java! # # Thanks for the help! # # > Mit freundlichem Gruss, # > # > Thorsten Scherler # > Marketing / Telefonmarketing # > # > Weidmüller GmbH & Co. # > P.O. Box 2807 # > 33058 Paderborn # > Tel.:+ 49 - 5252-960-350 # > Fax:+ 49 - 5252-960-116 # > eMail: [EMAIL PROTECTED] # > http://www.weidmueller.de # > # > #
AW: FOP TrueType
Hi Markus, I found this page (combined with what u have written): http://xml.apache.org/fop/fonts.html I did (there is a error if you use the original [...C:\myfonts\arial.ttf C:\myfonts\arial.ttf arial.xml]): java -cp build\fop.jar;lib\xercesImpl-2.0.1.jar;lib\xml-apis.jar;lib\xalan-2.3.1.jar;lib\batik.jar org.apache.fop.fonts.apps.TTFReader C:\myfonts\arial.ttf C:\myfonts\arial.xml Now I have: TTF Reader v1.1.1 Reading C:\myfonts\arial.ttf... Number of glyphs in font: 1296 Creating xml font file... Creating CID encoded metrics Writing xml font file C:\myfonts\arial.xml... This font contains no embedding license restrictions Then I did: Register the fonts within FOP Edit conf/userconfig.xml and add entries for the font if the fonts section, ie: BUT I am using FOP as servlet (Tomcat and cocoon). I now have to compile a fop.jar with my userconfig.xml, or not? Then I have to replace the old fop.jar @tomcat\webapps\cocoon\WEB-INF\lib. And then I have Arial within fo, or not Thanks for the help -Ursprüngliche Nachricht- Von: "Müller, Markus" [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 15. November 2002 12:55 An: [EMAIL PROTECTED] Betreff: AW: FOP TrueType Hi, you have to specify the class-libaries needed by fop. You can do this in your commandline like this: java -cp [path and name of jar-file] org.apache.fop.fonts.apps.TTFReader c:\WINNT\Fonts\arial.ttf arial.xml The JAR files you need I don't know exactly, but fop.jar will be one of them. Take a look at fop.bat, from there you can copy the -cp part. Hope, this will help you Markus # -Ursprüngliche Nachricht- # Von: Scherler, Thorsten [mailto:[EMAIL PROTECTED] # Gesendet am: Freitag, 15. November 2002 12:10 # An: Fop-User (E-Mail); Wyonacms-Users (E-Mail) # Betreff: FOP TrueType # # Hello group, # # I would like to do the following: # http://www.infosys.tuwien.ac.at/Services/Docu/XML/Fop-0.20.1/d # ocs/examples/advanced/cid-fonts.pdf # # I want to add Arial to my reports I do that: # java org.apache.fop.fonts.apps.TTFReader # c:\WINNT\Fonts\arial.ttf arial.xml # # I have that: # Exception in thread "main" java.lang.NoClassDefFoundError: # org/apache/fop/fonts/ # apps/TTFReader # # I am the absolute newbie in java! # # Thanks for the help! # # > Mit freundlichem Gruss, # > # > Thorsten Scherler # > Marketing / Telefonmarketing # > # > Weidmüller GmbH & Co. # > P.O. Box 2807 # > 33058 Paderborn # > Tel.:+ 49 - 5252-960-350 # > Fax:+ 49 - 5252-960-116 # > eMail: [EMAIL PROTECTED] # > http://www.weidmueller.de # > # > #
AW: FOP TrueType
Hi, you have to specify the class-libaries needed by fop. You can do this in your commandline like this: java -cp [path and name of jar-file] org.apache.fop.fonts.apps.TTFReader c:\WINNT\Fonts\arial.ttf arial.xml The JAR files you need I don't know exactly, but fop.jar will be one of them. Take a look at fop.bat, from there you can copy the -cp part. Hope, this will help you Markus # -Ursprüngliche Nachricht- # Von: Scherler, Thorsten [mailto:[EMAIL PROTECTED] # Gesendet am: Freitag, 15. November 2002 12:10 # An: Fop-User (E-Mail); Wyonacms-Users (E-Mail) # Betreff: FOP TrueType # # Hello group, # # I would like to do the following: # http://www.infosys.tuwien.ac.at/Services/Docu/XML/Fop-0.20.1/d # ocs/examples/advanced/cid-fonts.pdf # # I want to add Arial to my reports I do that: # java org.apache.fop.fonts.apps.TTFReader # c:\WINNT\Fonts\arial.ttf arial.xml # # I have that: # Exception in thread "main" java.lang.NoClassDefFoundError: # org/apache/fop/fonts/ # apps/TTFReader # # I am the absolute newbie in java! # # Thanks for the help! # # > Mit freundlichem Gruss, # > # > Thorsten Scherler # > Marketing / Telefonmarketing # > # > Weidmüller GmbH & Co. # > P.O. Box 2807 # > 33058 Paderborn # > Tel.:+ 49 - 5252-960-350 # > Fax:+ 49 - 5252-960-116 # > eMail: [EMAIL PROTECTED] # > http://www.weidmueller.de # > # > #