Displaying Arabic font in FO

2002-12-13 Thread VipinJ

Hello,

We have an issue regarding the display of arabic font in FO.
We have the UNICODE for the arabic font with us.

Is there a way of displaying the unicode??
Please help...

Thanks and Warm Regards,
Vipin.


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



page-sequence master-name ?

2002-12-13 Thread Fabrizio Tringali
I see everywhere in the examples the tag fo:page-sequence
master-name=someName
but my XMLSpy doesn't validate this
tag according to
http://zvon.org/xxl/xslfoReference/Output/el_page-sequence.html
Which is the right way? If the above tag is correct why the validator throws
exception?
Tkx



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



Re: Scaling external SVG graphics

2002-12-13 Thread Timo Haberkern
Mhmm, it doesn't work here, even if i put the external-graphic in a 
table-cell that has i.e. the size 4cm the SVG is scaled to the full body 
width. But i found out something interesting:

The height of the table cell (with the svg image) is calculated 
correctly. The height of the cell is the expected height of the svg 
image. So fop seems to calculate the width and height of the image 
correctly, only the svg has the wrong size...

BTW: There is no difference between 0.20.5rc and 0.20.4...
Is it possible that the problem is the SVG image itself???
Timo
J.Pietschmann wrote:
Timo Haberkern wrote:
i try to embedd an external svg graphic to my pdf file.I used the 
following lines in my stylesheet:

fo:external-graphic space-before=0.1cm width=5cm
   xsl:attribute name=src
  xsl:value-of select=eo_256/  !-- file name of the svg 
image --
   /xsl:attribute
   xsl:attribute name=width5cm/xsl:attribute
  /fo:external-graphic

The result is not as expected. It seems FOP ignores the width 
attribute. The embedded SVG image is scaled to the maximum width 
(xsl-region-body-width). Any solutions for scaling an external svg 
graphic?? What did i wrong?

Code like the above works for me. THere are however some issues
with SVG image scaling. the easiest way to control them is to
use both the same height and width in an absolute measurement
on both the fo:external-graphics aand the svg:svg element:
 fo:external-graphic width=5cm height=2cm src=foo.svg/
and
 svg:svg width=5cm height=2cm xmlns:svg=...
J.Pietschmann
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
.
--
Grüsse
Timo Haberkern
EMEDIA OFFICE GmbH
Wingertstr. 4
74850 Schefflenz-Kl.
http://www.emedia-office.com
[EMAIL PROTECTED]
Tel.: 06293/921121
Fax:  06293/921129

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


Help CVS HEAD and Maintenance

2002-12-13 Thread marco scotoni



Hi,
i'm trying to install CVS Head but i got ever some 
servlet exception,

i dunno the exact way to install CVS...and 
compiling from maintenance branch...

plz help 

Marco


multiple sequence how-to??

2002-12-13 Thread Fabrizio Tringali
According to http://xml.apache.org/fop/faq.html#faq-N1011A Use multiple
page sequences I have to span across multiple sequences my flow.

Can anyone show me a simple example to include in a xsl file to implement
multiple sequences ??

Tnx

///   this is my XML input file
/
?xml version=1.0 encoding=iso-8859-1?
RootXML
  HEADER
DATA13/12/2002/DATA
DESCRIZIONESDA/DESCRIZIONE
FILIALEROMA 1/FILIALE
  /HEADER
  BODY
DATA
  VALORE_DATA_ARRIVO01-02-2002/VALORE_DATA_ARRIVO
  LDV
DATA2002-02-01/DATA
LETTERA_DI_VETTURAK0/LETTERA_DI_VETTURA
CO_MITTENTEMI/CO_MITTENTE
NUMERO_COLLI1/NUMERO_COLLI
LDV_MADREK0/LDV_MADRE
INDICE1/INDICE
  /LDV
  LDV
DATA2002-02-01/DATA
LETTERA_DI_VETTURAK1/LETTERA_DI_VETTURA
CO_MITTENTEMI/CO_MITTENTE
NUMERO_COLLI1/NUMERO_COLLI
LDV_MADREK1/LDV_MADRE
INDICE2/INDICE
  /LDV
  LDV
DATA2002-02-01/DATA
LETTERA_DI_VETTURAK2/LETTERA_DI_VETTURA
CO_MITTENTEMI/CO_MITTENTE
NUMERO_COLLI1/NUMERO_COLLI
LDV_MADREK2/LDV_MADRE
INDICE3/INDICE
  /LDV
  LDV
DATA2002-02-01/DATA
LETTERA_DI_VETTURAK5/LETTERA_DI_VETTURA
CO_MITTENTEMI/CO_MITTENTE
NUMERO_COLLI1/NUMERO_COLLI
LDV_MADREK5/LDV_MADRE
INDICE6/INDICE
  /LDV
  LDV
DATA2002-02-01/DATA
LETTERA_DI_VETTURAK6/LETTERA_DI_VETTURA
CO_MITTENTEMI/CO_MITTENTE
NUMERO_COLLI1/NUMERO_COLLI
LDV_MADREK6/LDV_MADRE
INDICE7/INDICE
  /LDV
  LDV
DATA2002-02-01/DATA
LETTERA_DI_VETTURAK7/LETTERA_DI_VETTURA
CO_MITTENTEMI/CO_MITTENTE
NUMERO_COLLI1/NUMERO_COLLI
LDV_MADREK7/LDV_MADRE
INDICE8/INDICE
  /LDV
/DATA
  /BODY
  FOOTER
VALORE_TOTALE_LDV0/VALORE_TOTALE_LDV
  /FOOTER
/RootXML
///   end of XML input file
/





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



Re: JPG to SVG

2002-12-13 Thread Harm Kok
Hi,
You can also look at this page:
http://www.w3.org/Graphics/SVG/SVG-Implementations.htm8#convert
I used CR2V (http://www.celinea.com/) and this works for me.
Harm
Lucian Opris wrote:
Hi,
Is there a way (tool) to convert the jpg, tif or gif file into svg file?
Lucian Opris

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



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


Re: Help CVS HEAD and Maintenance

2002-12-13 Thread Peter B. West
marco scotoni wrote:
Hi,
i'm trying to install CVS Head but i got ever some servlet exception,
 
i dunno the exact way to install CVS...and compiling from maintenance 
branch...
 
plz help 
 
Marco
Marco,
What *exactly* have you done so far?  And can you please fix the date 
and time on your computer?

Peter
--
Peter B. West  [EMAIL PROTECTED]  http://www.powerup.com.au/~pbwest/
Lord, to whom shall we go?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Creating Class using MS J++ 1.1

2002-12-13 Thread Matthew Lancashire
I am trying to create the following class using MS J++ 1.1 (I know it's 
ancient) on a WIN2k SP3 machine
//
//
// Fop
//
//
import org.apache.fop.apps.Driver;
import org.apache.fop.apps.FOPException;
import org.apache.fop.apps.Version;
import org.apache.fop.apps.InputHandler;
import org.apache.fop.apps.XSLTInputHandler;
import org.apache.fop.layout.Page;
import org.apache.fop.messaging.MessageHandler;
import javax.xml.transform.*;
import org.xml.sax.*;
import java.io.*;
public class fop
{

public void xms2PDF(File xmlFile, File xslFile, String outFile) throws 
TransformerConfigurationException, TransformerException,
FileNotFoundException, FOPException, IOException
{
Driver driver = new Driver();
Driver.setRenderer(Driver.RENDER_PDF);
InputHandler inputHandler = new XSLTInputHandler(xmlFile, 
xslFile);
XMLReader parser = inputHandler.getParser();
Driver.setOutputStream(new FileOutputStream(outFile));
Driver.render(parser, inputHandler.getInputSource());
}

}

classpath of 
C:\fop-0.20.4\build\fop.jar;C:\fop-0.20.4\LIB\avalon-framework-cvs-20020315.jar;C:\fop-0.20.4\LIB\xml-apis.jar

But get the following errors

C:\Program Files\DevStudio\MyProjects\Fop\Fop.java(6,8) : error J0049: 
Undefined name 'org.apache.fop.apps.Driver'
C:\Program Files\DevStudio\MyProjects\Fop\Fop.java(7,8) : error J0049: 
Undefined name 'org.apache.fop.apps.FOPException'
C:\Program Files\DevStudio\MyProjects\Fop\Fop.java(8,8) : error J0049: 
Undefined name 'org.apache.fop.apps.Version'
C:\Program Files\DevStudio\MyProjects\Fop\Fop.java(9,8) : error J0049: 
Undefined name 'org.apache.fop.apps.InputHandler'
C:\Program Files\DevStudio\MyProjects\Fop\Fop.java(10,8) : error J0049: 
Undefined name 'org.apache.fop.apps.XSLTInputHandler'
C:\Program Files\DevStudio\MyProjects\Fop\Fop.java(11,8) : error J0049: 
Undefined name 'org.apache.fop.layout.Page'
C:\Program Files\DevStudio\MyProjects\Fop\Fop.java(12,8) : error J0049: 
Undefined name 'org.apache.fop.messaging.MessageHandler'
Error executing jvc.exe.

Fop - 7 error(s), 0 warning(s)

Heeelp

Matthew Lancashire
IT Project Manager
Initial Electronic Security Ltd
Tel.:   01254 688555
FAX:01254 267552



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



How to produce a pdf 1.2 kompatible pdf with fop

2002-12-13 Thread Sam Prokop
Hi Fop-User,

we´re having trouble producing a pdf, which is kompatible to pdf version 1.2 
(Acrobat 3).

we need this because some guys are using os2-boxes, they have no newer version 
of acrobat.

so, has anyone done something like this with fop?

we have problems with the fonts and cmap, and with the Colorspace (Management).

thanks in anticipation

Sam 

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