[prev in list] [next in list] [prev in thread] [next in thread] 

List:       fop-user
Subject:    Re: RE : Trying to use TTFReader
From:       Teus Benschop <teus () teusbenschop ! nl>
Date:       2005-12-23 0:53:58
Message-ID: 43AB4AA6.1070303 () teusbenschop ! nl
[Download RAW message or body]

Thank you, Yoann, that solved everything, and it's working well.

Tartu Yoann wrote:
> If your are in a unix like environment, you should use : 
>  - '/' separator instead of '\' in the directory definition
>  - ':' separator instead of ';' in the classpath definition
>
>
> I think you should have :
>
> /home/joe/jre1.5.0_04/bin/java -cp 
> "./build/fop.jar:./lib/avalon-framework.jar:./lib/xml-apis.jar:./lib/xercesImpl.jar:./lib/xalan.jar" 
> org.apache.fop.fonts.apps.TTFReader /usr/share/fonts/bitstream-vera/Vera.ttf metrics.xml
>
> Be sure to have the jars in the directories you specify
>
>
>
> Let's try.
>
>
> Yoann.
>
>
>
>
> -----Message d'origine-----
> De : Teus Benschop [mailto:teus@teusbenschop.nl] 
> Envoyé : jeudi 22 décembre 2005 17:23
> À : fop-users@xmlgraphics.apache.org
> Objet : Re: Trying to use TTFReader
>
>
> I've got the same problem, using fop 0.20.5.
>
>  From within the fop root directory, I issue this command:
>
> /home/joe/jre1.5.0_04/bin/java -cp 
> "build\fop.jar;lib\avalon-framework.jar;lib\xml-apis.jar;lib\xercesImpl.jar;lib\xalan.jar" 
> org.apache.fop.fonts.apps.TTFReader 
> /usr/share/fonts/bitstream-vera/Vera.ttf metrics.xml
>
> It gives this error:
>
> Exception in thread "main" java.lang.NoClassDefFoundError: 
> org/apache/fop/fonts/apps/TTFReader
>
> Is there any solution to this problem?
>
> Thank you,
>
> Teus.
>
>
> J.Pietschmann wrote:
>   
>> Manuel Strehl wrote:
>>     
>>> I was trying to use the TTFReader to render a TTF font to a metric
>>> file. I used the command provided in the documentary (Win XP, 
>>> Java1.5.0, FOP 0.20 and 0.90, command: "
>>>
>>> java -cp build\fop.jar;lib\avalon-framework.jar;lib\xml-apis.jar;
>>>         lib\xercesImpl.jar;lib\xalan.jar
>>>           org.apache.fop.fonts.apps.TTFReader [options]
>>>             C:\myfonts\cmr10.ttf ttfcm.xml
>>>       
>> It seems the command line is missing a class path entry for the 
>> commons logging jar. You should find the jar in the lib directory.
>>
>> J.Pietschmann
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
>> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>>
>>
>>
>>     
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>
>
>
>
>   

[Attachment #3 (text/html)]

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Thank you, Yoann, that solved everything, and it's working well.<br>
<br>
Tartu Yoann wrote:
<blockquote
 cite="midA270DECD96105344BC020E61C6004709164401@WEXCHBE01-VS.ptx.fr.sopra"
 type="cite">
  <pre wrap="">If your are in a unix like environment, you should use : 
 - '/' separator instead of '\' in the directory definition
 - ':' separator instead of ';' in the classpath definition


I think you should have :

/home/joe/jre1.5.0_04/bin/java -cp 
"./build/fop.jar:./lib/avalon-framework.jar:./lib/xml-apis.jar:./lib/xercesImpl.jar:./lib/xalan.jar" \
 org.apache.fop.fonts.apps.TTFReader /usr/share/fonts/bitstream-vera/Vera.ttf \
metrics.xml

Be sure to have the jars in the directories you specify



Let's try.


Yoann.




-----Message d'origine-----
De : Teus Benschop [<a class="moz-txt-link-freetext" \
href="mailto:teus@teusbenschop.nl">mailto:teus@teusbenschop.nl</a>]  Envoy&eacute; : \
jeudi 22 d&eacute;cembre 2005 17:23 &Agrave; : <a class="moz-txt-link-abbreviated" \
href="mailto:fop-users@xmlgraphics.apache.org">fop-users@xmlgraphics.apache.org</a> \
Objet : Re: Trying to use TTFReader


I've got the same problem, using fop 0.20.5.

 From within the fop root directory, I issue this command:

/home/joe/jre1.5.0_04/bin/java -cp 
"build\fop.jar;lib\avalon-framework.jar;lib\xml-apis.jar;lib\xercesImpl.jar;lib\xalan.jar" \
 org.apache.fop.fonts.apps.TTFReader 
/usr/share/fonts/bitstream-vera/Vera.ttf metrics.xml

It gives this error:

Exception in thread "main" java.lang.NoClassDefFoundError: 
org/apache/fop/fonts/apps/TTFReader

Is there any solution to this problem?

Thank you,

Teus.


J.Pietschmann wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">Manuel Strehl wrote:
    </pre>
    <blockquote type="cite">
      <pre wrap="">I was trying to use the TTFReader to render a TTF font to a metric
file. I used the command provided in the documentary (Win XP, 
Java1.5.0, FOP 0.20 and 0.90, command: "

java -cp build\fop.jar;lib\avalon-framework.jar;lib\xml-apis.jar;
        lib\xercesImpl.jar;lib\xalan.jar
          org.apache.fop.fonts.apps.TTFReader [options]
            C:\myfonts\cmr10.ttf ttfcm.xml
      </pre>
    </blockquote>
    <pre wrap="">It seems the command line is missing a class path entry for the 
commons logging jar. You should find the jar in the lib directory.

J.Pietschmann

---------------------------------------------------------------------
To unsubscribe, e-mail: <a class="moz-txt-link-abbreviated" \
href="mailto:fop-users-unsubscribe@xmlgraphics.apache.org">fop-users-unsubscribe@xmlgraphics.apache.org</a>
 For additional commands, e-mail: <a class="moz-txt-link-abbreviated" \
href="mailto:fop-users-help@xmlgraphics.apache.org">fop-users-help@xmlgraphics.apache.org</a>




    </pre>
  </blockquote>
  <pre wrap=""><!---->
---------------------------------------------------------------------
To unsubscribe, e-mail: <a class="moz-txt-link-abbreviated" \
href="mailto:fop-users-unsubscribe@xmlgraphics.apache.org">fop-users-unsubscribe@xmlgraphics.apache.org</a>
 For additional commands, e-mail: <a class="moz-txt-link-abbreviated" \
href="mailto:fop-users-help@xmlgraphics.apache.org">fop-users-help@xmlgraphics.apache.org</a>



---------------------------------------------------------------------
To unsubscribe, e-mail: <a class="moz-txt-link-abbreviated" \
href="mailto:fop-users-unsubscribe@xmlgraphics.apache.org">fop-users-unsubscribe@xmlgraphics.apache.org</a>
 For additional commands, e-mail: <a class="moz-txt-link-abbreviated" \
href="mailto:fop-users-help@xmlgraphics.apache.org">fop-users-help@xmlgraphics.apache.org</a>





  </pre>
</blockquote>
</body>
</html>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic