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: # <font metrics-file="arial.xml" kerning="yes" embed-file="arial.ttf"> # <font-triplet name="Arial" style="normal" weight="normal"/> # <font-triplet name="ArialMT" style="normal" weight="normal"/> # </font> # # 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 # # > # # > # # #