Hi dear John,

You always try to help me :-)

Well, when I run '$ locate  fop.jar' for example, I get the following
results:

/home/nancy/fop-0.94/build/fop.jar
/usr/bin/build/fop.jar
/usr/share/java/fop.jar

I've tried to use the files located in the 'lib' directory (those with
version number), but it did not change anything.
My best wishes,
Nancy


Alias John Brown wrote:
> 
> 
> Nancy Brandt wrote:
>> 
>> Hi guys,
>> 
>> I am working in Debian Linux.
>> 
>> I would like to change the default body font to Verdana. As Bob Stayton
>> writes in his book about Docbook XML, I should run the following command
>> after locating the needed font:
>> 
>> # java -cp /home/nancy/fop-0.94/build/fop.jar;
>> /usr/share/java/avalon-framework.jar;
>> /usr/share/java/commons-logging.jar;
>> /usr/share/java/commons-io.jar org.apache.fop.fonts.apps.TTFReader
>> /usr/share/fonts/truetype/verdana.ttf verdana_metric.xml
>> 
>> But the following error occurs:
>> Usage: gij [OPTION] ... CLASS [ARGS] ...
>>           to invoke CLASS.main, or
>>        gij -jar [OPTION] ... JARFILE [ARGS] ...
>>           to execute a jar file
>> Try `gij --help' for more information.
>> bash: /usr/share/java/avalon-framework.jar: Permission denied
>> bash: /usr/share/java/commons-logging.jar: Permission denied
>> bash: /usr/share/java/commons-io.jar: Permission denied
>> 
>> What do I do wrong? :-(
>> 
>> Thanks in advance!
>> Nancy
>> 
> 
> These are basic questions, but:
> 
> 1) Do you keep the FOP jar filesin /usr/share/java? They are
>     normally found in fop\build or fop\lib.
> 2) Are these the actual names of the files? My FOP jar files
>    usually have a version number suffix: 
>    avalon-framework-4.2.0.jar, commons-io-1.3.1.jar, ...
> 
> _________________________________________________________________
> Stay up to date on your PC, the Web, and your mobile phone with Windows
> Live.
> http://clk.atdmt.com/MRT/go/msnnkwxp1020093185mrt/direct/01/
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Adding-Verdana-font-in-Linux-and-registering-it-with-FOP-0.94-tp19711056p19711330.html
Sent from the FOP - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to