Re: page height and width

2001-12-18 Thread Keiron Liddle


 From my reading of the spec the indefinite value is only in the block 
progression dimension and only applies to continuous media.
FOP is concentrating on paged media at the moment and I don't see this 
being implemented any time soon.

On 2001.12.18 00:17 [EMAIL PROTECTED] wrote:
 The option indefinite for page-height and width is ignored by fop , and 
 any value passes to these
 attributes that is'nt a numeric value ends up a A4. according to xsl fo 
 reference i could set either
 page-height or width to measurement and the other to indefinite to have 
 the formater generate 1 page with
 w or h adapted to the content.
 
 Is this a feature one could expect to show up in fop at some point ?
 
 Thanks
 
 /Nicklas

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




RE: Basic aspects (big fat list vs. live test documents)

2001-12-18 Thread Matthias Fischer

Right now, I have a pice of code I would contribute. It would be useful, if
there were an alternative e-mail address to that of the list, to collect the
submitted code segments. Users could put this docu adress on CC, and you
could filter the stuff to heap it up somewhere until it gets used.

Matthias Fischer


-Original Message-
From: Bertrand Delacretaz [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 17, 2001 9:49 AM
To: Matthias Fischer; [EMAIL PROTECTED]
Subject: Re: Basic aspects (big fat list vs. live test documents)


[...]

In the meantime, I'd encourage users that find a bug or problem to send to
this list the smallest possible XSL-FO document that demonstrates the
problem. We could start collecting these in the hope of setting up a
user-friendly demo/test suite when someone finds time to do it.

- Bertrand

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


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




RE: special characters - Unicode

2001-12-18 Thread Matthias Fischer

An alternative would be to format the item label as Symbol and to assign
it the value #183; :

fo:list-item
fo:list-item-label 
fo:block start-indent=0.0mm
fo:inline font-family=Symbol#183;/fo:inline
/fo:block
/fo:list-item-label
fo:list-item-body
fo:block start-indent=7.5mm
fo:inline
xsl:apply-templates/
/fo:inline
/fo:block
/fo:list-item-body
/fo:list-item

Q u e s t i o n :   I tried Vladimir's solution and, of course, it works. I
tried other Unicode value, but I got always # as a result. Does anybody know
of any restrictions to Unicode in FOP?

Matthias


-Original Message-
From: Vladimir Sneblic [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 17, 2001 8:37 PM
To: '[EMAIL PROTECTED]'
Cc: '[EMAIL PROTECTED]'
Subject: RE: special characters


Hi Matt,

Here's how I usually use bullet points:

fo:list-block
provisional-distance-between-starts=12pt
fo:list-itemfo:list-item-label
end-indent=label-end()fo:block#x2022;/fo:block/fo:list-item-label
fo:list-item-body
start-indent=body-start()fo:blockSOME BULLET POINT TEXT IN
HERE/fo:block/fo:list-item-body
/fo:list-item
/fo:list-block

As you can see from the example all you need to do to create a bullet point
is to use #x2022; in the place where you want it to appear. Hope this
helps,

Vlad



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




Re: Basic aspects (big fat list vs. live test documents)

2001-12-18 Thread Bertrand Delacretaz

On Tuesday 18 December 2001 09:59, Matthias Fischer wrote:
 Right now, I have a pice of code I would contribute. It would be useful, if
 there were an alternative e-mail address to that of the list, to collect
 the submitted code segments. 

ok, right now we don't have an alternative address available. 
I suggest that you post your code to the list, inline (not as an attachment) 
with [TESTDOC] in the subject line (I hope I'm not breaking an existing 
convention here).

We can then find it easily in the mailing list archives.

- Bertrand




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




Re: special characters

2001-12-18 Thread Jens Eckert

You need to take the decimal unicode encoding. Try #149;  for a bullet. Check
http://www.hclrss.demon.co.uk/unicode/basic_latin.html for other codes.

Jens

Matt Laywell schrieb:

 I need to insert a bullet into my fo doc. can this be done or do i need to
 use an inline graphic? using sans serif default font
 also i tried to use the crlf;

 [ERROR]: The entity crlf was referenced, but not declared.

 i do not understand this at all.

 please help.

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


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




RE: Basic aspects (big fat list vs. live test documents)

2001-12-18 Thread Matthias Fischer

I'd prefer a more systematic approach: let's wait until the e-mail address
exists. I fear a prefix, as you proposed, is not user-friendly enough.
Before starting, we should also devise the smallest possible document into
which users could then insert their functionning examples. This would make
sure that everybody builds upon the same basis. It would make the samples
more easily comparable.

Matthias


-Original Message-
From: Bertrand Delacretaz [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 18, 2001 10:20 AM
To: Matthias Fischer; [EMAIL PROTECTED]
Subject: Re: Basic aspects (big fat list vs. live test documents)


ok, right now we don't have an alternative address available.
I suggest that you post your code to the list, inline (not as an attachment)
with [TESTDOC] in the subject line (I hope I'm not breaking an existing
convention here).

We can then find it easily in the mailing list archives.

- Bertrand




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




selected checkbox

2001-12-18 Thread Henrik Holle
Title: Nachricht



i also 
need an selected checkbox

on http://www.w3.org/Style/XSL/TestSuite/contrib/FOP/fonts.pdf 
i found no char that looks like a selected checkbox

any 
idea how i can print a checkbox?

when i 
try something like this:
 fo:inline font-family="Symbol" #108; 
/fo:inline

only a 
control sign is displayed in the AWT preview, in the PDF the sign is display 
correct.



  
  -Ursprüngliche Nachricht-Von: Suhail Rashid 
  [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 18. Dezember 
  2001 08:18An: [EMAIL PROTECTED]Betreff: RE: 
  checkbox
  something like;
  
  fo:inline 
  font-family="ZapfDingbats" #113; /fo:inline
  
  will 
  give u a check-box. 
  
  suhail
  
  
-Original Message-From: Henrik Holle 
[mailto:[EMAIL PROTECTED]]Sent: Tuesday, December 18, 2001 
12:43 PMTo: [EMAIL PROTECTED]Subject: 
checkbox
hi,

i nee to insert 
some checkboxes in my fo document. can this be done or do i need 
graphics for that?


mfg

holle


Re: selected checkbox

2001-12-18 Thread Keiron Liddle


The place to find a character is
http://www.unicode.org/
this specifies all the unicode character.

for a check box, empty, with tick and with cross you can find it here 
(actually called ballot box):
http://www.unicode.org/charts/PDF/U2600.pdf

This will only work if you have a font that supports these characters. So 
you will need to find the right font.


On 2001.12.18 11:20 Henrik Holle wrote:
 i also need an selected checkbox
 
 on http://www.w3.org/Style/XSL/TestSuite/contrib/FOP/fonts.pdf  i found
 no char that looks like a selected checkbox
 
 any idea how i can print a checkbox?
 
 when i try something like this:
 fo:inline font-family=Symbol #108; /fo:inline
 
 only a control sign is displayed in the AWT preview, in the PDF the sign
 is display correct.

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




Problems with the FopServlet w XML/XSL

2001-12-18 Thread Anders Gunnare

Hello World,

I've installed FopServlet in a TomCat Server. 
When I run the servlet with fo parameter (example, FopServlet?fo=my.fo),
I get the pdf.
BUT
when I run it with xsl and xml parms (FopServlet?xsl=my.xslxml=my.xml),

I get a blank screen.

I have downloaded the example code from the CVS, I think there is some
problem in the renderXML-method.

Any advise?

Best regards
Anders Gunnare
Frontec
Sweden


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




Is fo:table supported when used into a fo:list-item-body ?

2001-12-18 Thread Etienne Baert \(SPSInfoquest nv\)

Hi,

is the following code supported by fop ?

fo:list-block
fo:list-item
fo:list-item-label end-indent=label-end()
fo:block1)/fo:block
/fo:list-item-label
fo:list-item-body start-indent=body-start()
fo:blockSome text/fo:block
fo:blockSome more text/fo:block
fo:block
fo:table
fo:table-column width=10mm/
fo:table-column width=10mm/
fo:table-body
fo:table-row
fo:table-cell number-rows-spanned=2
fo:block
fo:external-graphic height=auto
width=auto src=images/note.jpg/
/fo:block
/fo:table-cell
fo:table-cell
fo:blockNOTE/fo:block
/fo:table-cell
/fo:table-row
fo:table-row
fo:table-cell number-columns-spanned=2
fo:blockText for current note/fo:block
/fo:table-cell
/fo:table-row
/fo:table-body
/fo:table
/fo:block
/fo:list-item-body
/fo:list-item
/fo:list-block

When trying to render this to pdf, fop seems to enter a infinite loop and
send me back this error message (not very explicit) :
ERROR   10086   [fop ] (): 

Many thanks,
EB


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




About MathML

2001-12-18 Thread GULA Pascal

Hi there,

Will there be an extension to support the rendering of MathML expression
?

Thanks in advance,

=
GULA Pascal 
Ingénieur d'études chez AXLOG Ingénierie

19-21 rue du 8 mai 1945
94110 ARCUEIL

Tel : 01.41.24.31.00 (Demander GULA Pascal)
  06.80.91.40.42
=

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




Re: Problems with the FopServlet w XML/XSL

2001-12-18 Thread Keiron Liddle

Hi,

I have checked the servlet example and it works fine for me.
Once I got the right classpath and the right value for the files it 
correctly worked for the fo option and for the xml+xsl option.
/fop/servlet/FopServlet?fo=extensive.fodummy=.pdf
and
/fop/servlet/FopServlet?xml=glossary.xmlxsl=glossary.xsldummy=.pdf

I did notice that after a few failings it sent error meesages to the 
browser, if the correct pdf was then sent the pdf was loaded as text, the 
next time I loaded the pdf it was a blank browser window. Then after 
addiing a dummy .pdf to the end it worked. So if you have troubles blame 
the browser (I'm sure you can all guess which one I was using).

So the example servlet does work properly when setup correctly. It is 
mainly meant for demo purposes you may want to change it for your own use.

On 2001.12.18 11:34 Anders Gunnare wrote:
 Hello World,
 
 I've installed FopServlet in a TomCat Server.
 When I run the servlet with fo parameter (example, FopServlet?fo=my.fo),
 I get the pdf.
 BUT
 when I run it with xsl and xml parms (FopServlet?xsl=my.xslxml=my.xml),
 
 I get a blank screen.
 
 I have downloaded the example code from the CVS, I think there is some
 problem in the renderXML-method.
 
 Any advise?
 
 Best regards
 Anders Gunnare
 Frontec
 Sweden

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




Re: About MathML

2001-12-18 Thread Keiron Liddle

On 2001.12.18 12:54 GULA Pascal wrote:
 Hi there,
 
 Will there be an extension to support the rendering of MathML expression?

Adding such an extension to FOP would be trivial.
All that is needed is a MathML to SVG converter and to add a few support 
classes.

The problem is to get a MathML to SVG converter.
I don't know of any freely available MathML converters.

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




Re: selected checkbox

2001-12-18 Thread Jozef Chocholacek

Keiron Liddle wrote:

 The place to find a character is
 http://www.unicode.org/
 this specifies all the unicode character.
 for a check box, empty, with tick and with cross you can find it here 
 (actually called ballot box):
 http://www.unicode.org/charts/PDF/U2600.pdf
 This will only work if you have a font that supports these characters. 
 So you will need to find the right font.


   To evade problems with fonts supporting checkboxes etc. I use 
external images. I know it is not the pure, clean and scientific 
solution but it always works .

   Regards,

J.Ch.
-- 
Ing. Jozef Chocholacek  Qbizm Technologies, Inc.
Chief Project Analyst   ... the art of internet.

Kralovopolska 139  tel: +420 5 4124 2414
601 12 Brno, CZ  http://www.qbizm.com  fax: +420 5 4121 2696


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




cvs commit: xml-fop/src/org/apache/fop/tools/anttasks Xslt.java

2001-12-18 Thread keiron

keiron  01/12/18 03:57:03

  Modified:.build.xml
  Removed: src/org/apache/fop/tools/anttasks Xslt.java
  Log:
  updated to use style task and removed xslt task
  
  Revision  ChangesPath
  1.50  +32 -55xml-fop/build.xml
  
  Index: build.xml
  ===
  RCS file: /home/cvs/xml-fop/build.xml,v
  retrieving revision 1.49
  retrieving revision 1.50
  diff -u -r1.49 -r1.50
  --- build.xml 2001/12/14 07:40:50 1.49
  +++ build.xml 2001/12/18 11:57:03 1.50
  @@ -15,7 +15,7 @@
   
   
   FOP is the world's first print formatter driven by XSL formatting objects. It 
  -is a Java 1.1 application that reads a formatting object tree and then turns 
  +is a Java 1.2 application that reads a formatting object tree and then turns 
   it into a PDF document. The formatting object tree, can be in the form of an 
   XML document (output by an XSLT engine like Xalan) or can be passed in 
   memory as a DOM Document or SAX events.
  @@ -70,7 +70,6 @@
   tools (i.e. make or shell scripts) where a new JVM is started for each task.
   
   
  -
   Build targets
   =
   
  @@ -104,7 +103,6 @@
   2) I see a lot of warnings starting like this: Warning: file modified in the 
future:
   Sometimes ant gives out this warnings, but the build is finished without any 
problems
   
  -
    --
   
   project default=package basedir=.
  @@ -273,7 +271,6 @@
   --
   
   taskdef name=serHyph 
classname=org.apache.fop.tools.anttasks.SerializeHyphPattern/ 
  -taskdef name=xslt classname=org.apache.fop.tools.anttasks.Xslt/
   taskdef name=runTest classname=org.apache.fop.tools.anttasks.RunTest/
   
   property name=main.class value=org.apache.fop.apps.Fop/
  @@ -405,62 +402,42 @@
   
   !-- generate the java files from xml resources --
   echo message=Generating the java files from xml resources/
  -xslt infile=${allprops.xml} xsltfile=${genconst.xsl}
  -dependent=${foproperties.xml},${colorkw.xml}
  -outfile=${build.src}/${replacestring}/fo/properties/Constants.java 
smart=yes/
  -
  -xslt infile=${foproperties.xml} xsltfile=${properties.xsl}
  -dependent=${propinc.xsl},${colorkw.xml}
  -outfile=${build.src}/${replacestring}/fo/properties/fo_${ignore_this} 
smart=yes/
  -xslt infile=${foproperties.xml} xsltfile=${propmap.xsl}
  -dependent=${propinc.xsl}
  -
outfile=${build.src}/${replacestring}/fo/properties/FOPropertyMapping.java 
smart=yes/
  -xslt infile=${foproperties.xml} xsltfile=${enumgen.xsl}
  -dependent=${propinc.xsl}
  -
outfile=${build.src}/${replacestring}/fo/properties/foenums_${ignore_this} 
smart=yes/
  -
  -xslt infile=${charlist.xml} xsltfile=${charlist.xsl} 
  -outfile=${build.src}/${replacestring}/render/pdf/CodePointMapping.java 
smart=yes/
  -xslt infile=${Courier.xml} xsltfile=${fontfile.xsl}
  -outfile=${build.src}/${replacestring}/render/pdf/fonts/Courier.java 
smart=yes/
  -xslt infile=${Courier-Oblique.xml} xsltfile=${fontfile.xsl}
  -
outfile=${build.src}/${replacestring}/render/pdf/fonts/CourierOblique.java 
smart=yes/
  -xslt infile=${Courier-Bold.xml} xsltfile=${fontfile.xsl}
  -outfile=${build.src}/${replacestring}/render/pdf/fonts/CourierBold.java 
smart=yes/
  -xslt infile=${Courier-BoldOblique.xml} xsltfile=${fontfile.xsl}
  -
outfile=${build.src}/${replacestring}/render/pdf/fonts/CourierBoldOblique.java 
smart=yes/
  -xslt infile=${Helvetica.xml} xsltfile=${fontfile.xsl}
  -outfile=${build.src}/${replacestring}/render/pdf/fonts/Helvetica.java 
smart=yes/
  -xslt infile=${Helvetica-Oblique.xml} xsltfile=${fontfile.xsl}
  -
outfile=${build.src}/${replacestring}/render/pdf/fonts/HelveticaOblique.java 
smart=yes/
  -xslt infile=${Helvetica-Bold.xml} xsltfile=${fontfile.xsl}
  -outfile=${build.src}/${replacestring}/render/pdf/fonts/HelveticaBold.java 
smart=yes/
  -xslt infile=${Helvetica-BoldOblique.xml} xsltfile=${fontfile.xsl}
  -
outfile=${build.src}/${replacestring}/render/pdf/fonts/HelveticaBoldOblique.java 
smart=yes/
  -xslt infile=${Times-Roman.xml} xsltfile=${fontfile.xsl}
  -outfile=${build.src}/${replacestring}/render/pdf/fonts/TimesRoman.java 
smart=yes/
  -xslt infile=${Times-Italic.xml} xsltfile=${fontfile.xsl}
  -outfile=${build.src}/${replacestring}/render/pdf/fonts/TimesItalic.java 
smart=yes/
  -xslt infile=${Times-Bold.xml} xsltfile=${fontfile.xsl}
  -outfile=${build.src}/${replacestring}/render/pdf/fonts/TimesBold.java 
smart=yes/
  -xslt infile=${Times-BoldItalic.xml} xsltfile=${fontfile.xsl}
  -
outfile=${build.src}/${replacestring}/render/pdf/fonts/TimesBoldItalic.java 
smart=yes/
  -xslt infile=${ZapfDingbats.xml} 

SV: Problems with the FopServlet w XML/XSL

2001-12-18 Thread Anders Gunnare

Hello,

It works when I add 
dummy=.pdf
in the end of the URL.

A small but important thing, by some reason in the example-code
(=FopServlet.java) made by Keiron it is two example call to the servelt,
one to a .fo file and one to a .xml/.xsl file, it doesn't say anything
about dummy=.pdf

I don't know if this is the problem.

I run MSIE5.5.

Best regards
Anders Gunnare
Frontec 
Sweden


 
 Hi,
 
 I have checked the servlet example and it works fine for me. 
 Once I got the right classpath and the right value for the files it 
 correctly worked for the fo option and for the xml+xsl 
 option. /fop/servlet/FopServlet?fo=extensive.fodummy=.pdf
 and 
 /fop/servlet/FopServlet?xml=glossary.xmlxsl=glossary.xsldummy=.pdf
 
 I did notice that after a few failings it sent error meesages to the 
 browser, if the correct pdf was then sent the pdf was loaded 
 as text, the 
 next time I loaded the pdf it was a blank browser window. Then after 
 addiing a dummy .pdf to the end it worked. So if you have 
 troubles blame 
 the browser (I'm sure you can all guess which one I was using).
 
 So the example servlet does work properly when setup correctly. It is 
 mainly meant for demo purposes you may want to change it for 
 your own use.
 
 On 2001.12.18 11:34 Anders Gunnare wrote:
  Hello World,
  
  I've installed FopServlet in a TomCat Server.
  When I run the servlet with fo parameter (example, 
  FopServlet?fo=my.fo), I get the pdf. BUT
  when I run it with xsl and xml parms 
 (FopServlet?xsl=my.xslxml=my.xml),
  
  I get a blank screen.
  
  I have downloaded the example code from the CVS, I think 
 there is some 
  problem in the renderXML-method.
  
  Any advise?
  
  Best regards
  Anders Gunnare
  Frontec
  Sweden
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]
 
 


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




Performance difference between Unix and PC

2001-12-18 Thread GUILBERT Nicolas SIReS

Who can explain the huge performance difference we experience between
using FOP on a NT server or a PC on one side, or on a unix platform on
the other side.

Is it normal ? Is FOP built to run on PC or NT ? As it is a java
library, it is supposed to work on all platform ?

Thanks.
Nicolas

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




Re: Performance difference between Unix and PC

2001-12-18 Thread Jens Eckert

Hi Guilbert,

very  interesting. If you're experiencing that FOP runs faster on a
NT-machine than on a UNIX machine then we are experiencing the same here.
The same page on my NT machine takes 1 sec whereas on the UNIX machine it
takes 10 seconds.

So far I assumed it's just a load problem of this UNIX machineas it has to
handle the load of 30 developers, everybody with own processes of our
backend system which is very performance consuming.

But would be interesting to know wether this is the case or if FOP is
really slower on UNIX. Does anybody know?

Jens

GUILBERT Nicolas SIReS schrieb:

 Who can explain the huge performance difference we experience between
 using FOP on a NT server or a PC on one side, or on a unix platform on
 the other side.

 Is it normal ? Is FOP built to run on PC or NT ? As it is a java
 library, it is supposed to work on all platform ?

 Thanks.
 Nicolas

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


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




RE: Performance difference between Unix and PC

2001-12-18 Thread Venu Reddy

I got much better performance on a PC running NT as compared to
Linux running on a much better machine. I was able to
get better performance on Linux using IBM's java engine
as opposed to Sun's engine.

Hope this helps.

Venu Reddy.

-Original Message-
From: GUILBERT Nicolas SIReS [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 18, 2001 7:16 AM
To: [EMAIL PROTECTED]
Subject: Performance difference between Unix and PC


Who can explain the huge performance difference we experience between
using FOP on a NT server or a PC on one side, or on a unix platform on
the other side.

Is it normal ? Is FOP built to run on PC or NT ? As it is a java
library, it is supposed to work on all platform ?

Thanks.
Nicolas

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


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




Re: Performance difference between Unix and PC

2001-12-18 Thread Cyril Rognon

Java performance has never been the same on Unix or NT. It depends on the 
JVM you are using.

There have been several comparison of JVM on various OS. I don't remember 
where it was nor who did it but IBM was a good choice under UNIX systems.

Hope it helps

Cyril

At 18:02 18/12/2001 +0100, you wrote:
Hi Guilbert,

very  interesting. If you're experiencing that FOP runs faster on a
NT-machine than on a UNIX machine then we are experiencing the same here.
The same page on my NT machine takes 1 sec whereas on the UNIX machine it
takes 10 seconds.

So far I assumed it's just a load problem of this UNIX machineas it has to
handle the load of 30 developers, everybody with own processes of our
backend system which is very performance consuming.

But would be interesting to know wether this is the case or if FOP is
really slower on UNIX. Does anybody know?

Jens

GUILBERT Nicolas SIReS schrieb:

  Who can explain the huge performance difference we experience between
  using FOP on a NT server or a PC on one side, or on a unix platform on
  the other side.
 
  Is it normal ? Is FOP built to run on PC or NT ? As it is a java
  library, it is supposed to work on all platform ?
 
  Thanks.
  Nicolas
 


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




RE: Performance difference between Unix and PC

2001-12-18 Thread Savino, Matt C

Below I've pasted an excerpt from a post to this board a few months back. I
also posted a variation of the same question on the Weblogic.performance
newsgroup. The answer I got back was that basically that performance
difference didn't sound surprising considering the processor speed. Which
came a as a big surprise to a lot of our IT guys here who were convinced
that RISC was supposed to smoke Pentium at any speed. I have a theory that
the speed difference is because Java (and the hotspot implementation in
particular) is much better tuned for Windows than HP-UX. 

I never got an explanation as to why Weblogic degraded so much more running
two large reports on the UNIX box. So we know run one Weblogic instance per
CPU, basically because of FOP. 



 original email  subj:benchmarking question 

To benchmark I used FOP to render a 200 page PDF document from an XSLT
transform on a static XML-file (no database connection is involved). The
XSLT transform takes very little time compared to the FOP renderer. I've
attached a smaller, but otherwise identical version of the PDF doc I'm using
to benchmark. I've tried a DomSource for input, a SaxSource, and the
XSLTInputHandler. The results are almost exactly the same in each case.

Below are the results I see. Initial heap size=max heap size in each case.
Each server is running the latest JDK 131 (w/Hotspot). (I have set all the
HP system variables (max_thread_proc, etc.) to Sun recommendations.)

Nt dev box (NT4-Worksatation, PIII-933mhz, 512MB ram):
Heap Size=64M, 1 report   =  251ms/page 
Heap Size=64M, 2 reports  =  750ms/page 
Heap Size=256M, 1 report  =  245ms/page
Heap Size=256M, 2 reports =  500/page

HP server (HP-Unix, 2x550 mhz, 2GB ram):
Heap Size=64M, 1 report =  545ms/page (frequent out of memory errors)
Heap Size=64M, 2 reports  =  didn't try
Heap Size=256M, 1 report  =  372ms/page
Heap Size=256M, 2 reports =  1700ms/page
Heap Size=512M, 1 report  =  350ms/page
Heap Size=512M, 2 reports =  1675ms/page

The only difference I can see for sure between the two boxes is that the NT
machine performs at least 10 times as much garbage collection. (Sometimes
several times per page, as opposed to once every 8-10 pages on the Unix
box.)
Garbage collection occurs a little more frequenly on the HP box when I lower
the heap size, but still not nearly as often as on the NT--at any heap size.
Also the HP box runs out of memory if I lower the heap size. I was hoping
this was due to some HP setting, but I'm starting to come to the conclusion
that it's just some difference in the hotspot implementations.

Matt Savino
Quest Diagnostics




 -Original Message-
 From: Jens Eckert [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, December 18, 2001 9:03 AM
 To: [EMAIL PROTECTED]
 Subject: Re: Performance difference between Unix and PC
 
 
 Hi Guilbert,
 
 very  interesting. If you're experiencing that FOP runs faster on a
 NT-machine than on a UNIX machine then we are experiencing 
 the same here.
 The same page on my NT machine takes 1 sec whereas on the 
 UNIX machine it
 takes 10 seconds.
 
 So far I assumed it's just a load problem of this UNIX 
 machineas it has to
 handle the load of 30 developers, everybody with own processes of our
 backend system which is very performance consuming.
 
 But would be interesting to know wether this is the case or if FOP is
 really slower on UNIX. Does anybody know?
 
 Jens
 
 GUILBERT Nicolas SIReS schrieb:
 
  Who can explain the huge performance difference we 
 experience between
  using FOP on a NT server or a PC on one side, or on a unix 
 platform on
  the other side.
 
  Is it normal ? Is FOP built to run on PC or NT ? As it is a java
  library, it is supposed to work on all platform ?
 
  Thanks.
  Nicolas
 
  
 -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, email: [EMAIL PROTECTED]
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]
 
 


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




RE: special characters - Unicode

2001-12-18 Thread Vladimir Sneblic

I had the same problem until I figured out what I was doing wrong. I'm
guessing that you're looking up the Unicode values of special characters and
then displaying them. The problem (that I had at least) was that if you're
not careful you might use the wrong expression. As you might already know
you can use either #; or #x; the difference being that in the
second expression ??? is a hexadecimal value as opposed to the decimal value
used by the first expression. When I started playing around with the special
characters I tried using the second expression with decimal Unicode values
for characters and not surprisingly I always got a # back. I'm not sure if
this is the same problem that you have.

Vlad

 -Original Message-
From:   Matthias Fischer [mailto:[EMAIL PROTECTED]] 
Sent:   Tuesday, 18 December 2001 10:03 p.m.
To: [EMAIL PROTECTED]
Subject:RE: special characters - Unicode

An alternative would be to format the item label as Symbol and to assign
it the value #183; :

fo:list-item
fo:list-item-label 
fo:block start-indent=0.0mm
fo:inline font-family=Symbol#183;/fo:inline
/fo:block
/fo:list-item-label
fo:list-item-body
fo:block start-indent=7.5mm
fo:inline
xsl:apply-templates/
/fo:inline
/fo:block
/fo:list-item-body
/fo:list-item

Q u e s t i o n :   I tried Vladimir's solution and, of course, it works. I
tried other Unicode value, but I got always # as a result. Does anybody know
of any restrictions to Unicode in FOP?

Matthias


-Original Message-
From: Vladimir Sneblic [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 17, 2001 8:37 PM
To: '[EMAIL PROTECTED]'
Cc: '[EMAIL PROTECTED]'
Subject: RE: special characters


Hi Matt,

Here's how I usually use bullet points:

fo:list-block
provisional-distance-between-starts=12pt
fo:list-itemfo:list-item-label
end-indent=label-end()fo:block#x2022;/fo:block/fo:list-item-label
fo:list-item-body
start-indent=body-start()fo:blockSOME BULLET POINT TEXT IN
HERE/fo:block/fo:list-item-body
/fo:list-item
/fo:list-block

As you can see from the example all you need to do to create a bullet point
is to use #x2022; in the place where you want it to appear. Hope this
helps,

Vlad



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

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




RE: selected checkbox

2001-12-18 Thread Conal Tuohy

-Original Message-
From: Henrik Holle [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, 18 December 2001 23:20
To: [EMAIL PROTECTED]
Subject: selected checkbox
i also need an selected checkbox

on http://www.w3.org/Style/XSL/TestSuite/contrib/FOP/fonts.pdf  i found no
char that looks like
a selected checkbox

any idea how i can print a checkbox?

I would recommend using an svg drawing of a checkbox. You can put the svg
inline as a foreign-object.




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




RE: selected checkbox

2001-12-18 Thread Joshua.Kuswadi

Jozef wrote:
To evade problems with fonts supporting checkboxes etc. I use 
 external images. I know it is not the pure, clean and scientific 
 solution but it always works .
 
We tried this also, but came across a problem if the fo:external-graphic file was 
being referenced too frequently, then it wouldn't get rendered. It appeared that the 
image itself was cached, but FOP would still open a URL connection which would 
sometimes return a 403 error.

Thanks,
Joshua

--
This message and any attachment is confidential and may be privileged or otherwise 
protected from disclosure.  If you have received it by mistake please let us know by 
reply and then delete it from your system; you should not copy the message or disclose 
its contents to anyone.





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




DO NOT REPLY [Bug 5495] New: - Problem with FopServlet - missing package from Fop-0.20.1-src.tar.gz

2001-12-18 Thread bugzilla

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5495.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5495

Problem with FopServlet - missing package from Fop-0.20.1-src.tar.gz

   Summary: Problem with FopServlet - missing package from Fop-
0.20.1-src.tar.gz
   Product: Fop
   Version: 0.15
  Platform: PC
OS/Version: Windows NT/2K
Status: NEW
  Severity: Normal
  Priority: Other
 Component: general
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


I have down loaded Fop-0.20.1-src.tar.gz and tried to run the sample 
FopServlet and the stack trace below was generated after passing in the 
following parameters http://localhost:9090/servlet/FopServlet?fo=simple.fo;.

I dived into the Fop.jar file and found that within the 
org.apache.fop.extensions.ExtensionElementMapping class the import statement is 
to org.apache.fop.fo.properties.ExtensionPropertyMapping class. This whole 
package ie.org.apache.fop.fo.properties is not include in the Fop.jar file.

Can the missing code be forwarded/avail. for download/inc in the jar in the 
future, etc.

I have successfully created the simple.pdf from simple.fo from the commandline, 
classpath appear to be correct otherwise I wouldnt get this far.
===
Exception in invoker: null

java.lang.NullPointerException
at org.apache.fop.svg.SVGElementMapping.addToBuilder
(SVGElementMapping.java, Compiled Code)
at org.apache.fop.apps.Driver.addElementMapping(Driver.java:373)
at org.apache.fop.apps.Driver.addElementMapping(Driver.java:384)
at org.apache.fop.apps.Driver.setupDefaultMappings(Driver.java, 
Compiled Code)
at org.apache.fop.apps.Driver.(Driver.java:189)
at org.apache.fop.apps.Driver.(Driver.java:193)
at FopServlet.renderFO(FopServlet.java:71)
at FopServlet.doGet(FopServlet.java:45)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:868)
at com.gefionsoftware.server.ServletContextImpl$ServletHandler.call
(ServletContextImpl.java)
at com.gefionsoftware.server.ServletContextImpl.executeServlet
(ServletContextImpl.java)
at com.gefionsoftware.server.NamedDispatcherImpl.forward
(NamedDispatcherImpl.java)
at com.gefionsoftware.server.servlets.InvokerServlet.service
(InvokerServlet.java)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:868)
at com.gefionsoftware.server.ServletContextImpl$ServletHandler.call
(ServletContextImpl.java)
at com.gefionsoftware.server.ServletContextImpl.executeServlet
(ServletContextImpl.java)
at com.gefionsoftware.server.ServletContextImpl.execute
(ServletContextImpl.java)
at com.gefionsoftware.server.GenericServer.execute(GenericServer.java)
at com.gefionsoftware.server.lws.LiteWebServer$RequestHandler.run
(LiteWebServer.java)
at se.pureit.util.ThreadPool$WorkThread.startRunnable(ThreadPool.java)
at se.pureit.util.ThreadPool$WorkThread.run(ThreadPool.java, Compiled 
Code)
===

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




DO NOT REPLY [Bug 5495] - Problem with FopServlet - missing package from Fop-0.20.1-src.tar.gz

2001-12-18 Thread bugzilla

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5495.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5495

Problem with FopServlet - missing package from Fop-0.20.1-src.tar.gz

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||INVALID

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




SVG Text. Character spacing problems. Help!

2001-12-18 Thread Trevor_Campbell


I'm trying to print some rotated text in a document (PDF), and in the
absence of 'reference-orientation' am trying to use
in-line SVG.

Problem is the characters come out  v e r y  w i d e l y  spaced.  The code
renders 'correctly' if I try it directly in Batik.

!-- Column 2  --
!-- This will be the rotated page center for mailing address  --
fo:block break-before=column
 fo:instream-foreign-object width=90mm height=190mm
   svg:svg xmlns:svg=http://www.w3.org/2000/svg; width=90mm height
=190mm viewBox=0 0 360 760
 svg:g transform=rotate(-90, 213, 600)
   svg:text x=213 y=600 style
=font-family:sans-serif;font-size:9Mr Zmaryalay Razaqi/svg:text
   svg:text x=213 y=612 style
=font-family:sans-serif;font-size:98/7 Coombs Ave/svg:text
   svg:text x=213 y=624 style
=font-family:sans-serif;font-size:9OAKLIEGH SOUTH VIC 3167/svg:text
 /svg:g
   /svg:svg
 /fo:instream-foreign-object
/fo:block

I have tried various fonts, but they all seem to have the same effect.

Trev


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




RE: special characters - Unicode

2001-12-18 Thread Matthias Fischer

Jetzt habe ich ihn verstanden: Es könnte sein, wir lesen aus einer Tabelle
dezimale Unicode-Werte aus und stellen sie in FO als hexadezimale Werte dar.
Kann das sein?


Mit freundlichen Grüßen

Dott. Matthias Fischer
abc.Mediaservice GmbH

Nebelhornstraße 8
86807 Buchloe
Tel. (08241) 9686-38
Fax  (08241) 9686-26
http://www.abc-media.de
e-mail: [EMAIL PROTECTED]

ein Unternehmen der abc.Mediengruppe



-Original Message-
From: Vladimir Sneblic [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 18, 2001 7:56 PM
To: '[EMAIL PROTECTED]'
Subject: RE: special characters - Unicode


I had the same problem until I figured out what I was doing wrong. I'm
guessing that you're looking up the Unicode values of special characters and
then displaying them. The problem (that I had at least) was that if you're
not careful you might use the wrong expression. As you might already know
you can use either #; or #x; the difference being that in the
second expression ??? is a hexadecimal value as opposed to the decimal value
used by the first expression. When I started playing around with the special
characters I tried using the second expression with decimal Unicode values
for characters and not surprisingly I always got a # back. I'm not sure if
this is the same problem that you have.

Vlad

 -Original Message-
From:   Matthias Fischer [mailto:[EMAIL PROTECTED]]
Sent:   Tuesday, 18 December 2001 10:03 p.m.
To: [EMAIL PROTECTED]
Subject:RE: special characters - Unicode

An alternative would be to format the item label as Symbol and to assign
it the value #183; :

fo:list-item
fo:list-item-label 
fo:block start-indent=0.0mm
fo:inline font-family=Symbol#183;/fo:inline
/fo:block
/fo:list-item-label
fo:list-item-body
fo:block start-indent=7.5mm
fo:inline
xsl:apply-templates/
/fo:inline
/fo:block
/fo:list-item-body
/fo:list-item

Q u e s t i o n :   I tried Vladimir's solution and, of course, it works. I
tried other Unicode value, but I got always # as a result. Does anybody know
of any restrictions to Unicode in FOP?

Matthias


-Original Message-
From: Vladimir Sneblic [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 17, 2001 8:37 PM
To: '[EMAIL PROTECTED]'
Cc: '[EMAIL PROTECTED]'
Subject: RE: special characters


Hi Matt,

Here's how I usually use bullet points:

fo:list-block
provisional-distance-between-starts=12pt
fo:list-itemfo:list-item-label
end-indent=label-end()fo:block#x2022;/fo:block/fo:list-item-label
fo:list-item-body
start-indent=body-start()fo:blockSOME BULLET POINT TEXT IN
HERE/fo:block/fo:list-item-body
/fo:list-item
/fo:list-block

As you can see from the example all you need to do to create a bullet point
is to use #x2022; in the place where you want it to appear. Hope this
helps,

Vlad



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

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


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