Fop in UNIX or Linux

2002-04-26 Thread Carlos Daniel Schafer
Hi, all

I have generated a file XML with descritpions by the fonts specials
(barcode, arial, etc.), but I have put into S.O. UNIX or Linux.
In a the file xml, I have declarated into a file  the next sentences.

 font metrics-file=./webapps/site/fop/xml/i2of5NT.xml kerning=yes
embed-file=c:\winnt\fonts\I2OF5NT.ttf
font-triplet name=Interleaved2of5NT style=normal weight=normal /
 /font


But, I have the problem with embed-file=c:\winnt\fonts\I2OF5NT.ttf,  
I don't understand with the sentences embed-file when I used in S.O. Unix. 
Where I put this file (.ttf) into Unix or Linux.




problem with path relative - HELP ME

2002-04-19 Thread Carlos Daniel Schafer
Hi

I look distinct examples on Fop configuration.
I have a problem with path relative by image.

My code in servlet embeded is 

String baseDirPath =
http://localhost:8080/portalrentas/;;

 
org.apache.fop.configuration.Configuration.put(baseDir, baseDirPath);

but, I have a problem 
This, show me the next error:

[ERROR]: Error while creating area : Error while recovering Image
Informations 
(http://localhost:8080/portalrentas/fop/xslfo/escudo-200.jpg) :
http://localhost:8080/portalrentas/fop/xslfo/escudo-200.jpg

I don't understand.

What's the error?
Why's ocurrs this errors?

My code into xslfo is

  fo:external-graphic src=fop/xslfo/escudo-200.jpg/


RV: problem with path relative - HELP ME

2002-04-19 Thread Carlos Daniel Schafer


 -Mensaje original-
 De:   Carlos Daniel Schafer 
 Enviado el:   viernes, 19 de abril de 2002 11:14
 Para: Fop-Dev (Correo electrónico); Fop-User (Correo electrónico)
 Asunto:   problem with path relative - HELP ME
 Importancia:  Alta
 
 Hi
 
 I look distinct examples on Fop configuration.
 I have a problem with path relative by image.
 
 My code in servlet embeded is 
 
 String baseDirPath =
 http://localhost:8080/portalrentas/;;
 
  
 org.apache.fop.configuration.Configuration.put(baseDir, baseDirPath);
 
 but, I have a problem 
 This, show me the next error:
 
 [ERROR]: Error while creating area : Error while recovering Image
 Informations 
 (http://localhost:8080/portalrentas/fop/xslfo/escudo-200.jpg) :
 http://localhost:8080/portalrentas/fop/xslfo/escudo-200.jpg
 
 I don't understand.
 
 What's the error?
 Why's ocurrs this errors?
 
 My code into xslfo is
 
 fo:external-graphic src=fop/xslfo/escudo-200.jpg/
 


Again!! org.apache.fop.configuration.Configuration?

2002-04-17 Thread Carlos Daniel Schafer
Hi, 

I need know how configure this is.
By the relative paths

 org.apache.fop.configuration.Configuration.put(strokeSVGText, new
 Boolean(false));

Please, help me.