Re: ZapfDingbats font

2002-01-31 Thread Jochen . Maes


you must implement the fonts in your userconfigfile... after you made a
xmlfile off it (read the docs it's explained in there)

then you can add fonts in your xsl-fo

Jochen



Jochen Maes
EDP departement
Programmeur

KBC-Securities
Havenlaan 16
1080 Brussel

Tel : 02/429.96.81
Fax : 02/429.17.48
E-mail : [EMAIL PROTECTED]

**

This message is for the named person's use only. It may contain
confidential, proprietary or legally privileged information. You must not,
directly or indirectly, use, disclose, distribute, print, or copy any part
of this message if you are not the intended recipient. KBC Securities
reserves the right to monitor all e-mail communications through its
networks. Any views expressed in this message are those of the individual
sender, except where the message states otherwise and the sender is
authorised to state them to be the views of any such entity.
**


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




center image in a fo:block ?

2002-01-31 Thread Nick Winger

hi !

how can i center a table horizontally on a page
and how can i center an image in a fo:block horizontally and vertically ?


thanks

Nick Winger

(Software-Developer)


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




Re: Please help, even if it's just a reply that it can't be done

2002-01-31 Thread Joerg Pietschmann

Scott Moore [EMAIL PROTECTED] wrote:
 I cross-posted this several days ago and didn't get a single reply.

Before i get to the meat, a net.cop note: Use meaningful subjects,
don't mention crossposting (even if it is justified in the first place),
don't bother the gurus in the dev lists, there are user lists.

 Is the problem in my XSL-FO?
 Is the problem in my SVG?
 Is the problem with Batik?
 Is the problem with FOP?

Well, ultimately the problem is caused by a somewhat unlucky choice
of the SVG standards group...

 An I/O error occured while processing the URI
 'file:D:/Projects/Dev/#PurpleToWhite' specified on the element circle

The url(#PurpleToWhite) in your circle element is a relative URL
which was resolved to the absolute URL in the error message above,
which, as it apparently represents a directory, is not a good source
for SVG gradients.
The reason why you got the absolute URL above depends on how you
invoked FOP and perhaps a few other circumstances. In any case it has
to point to a valid SVG file (or at least XML). This may be somewhat
problematic as you probably generate the SVG inline in the FO tree.

You could try
1. Have a separate SVG file and use it with fo:external-graphics
2. Have a separate SVG which contains only the gradient (and perhaps
   other SVG stuff you want to reference) and point an absolute URL
   to it:
 fill=url(file:///c:/refstuff/grad.svg#PurpleToWhite)
3. Same as above but use a relative URL
 fill=url(grad.svg#PurpleToWhite)
   This may be easier to deploy. Put the file in D:/Projects/Dev.
4. Let the URL refer to some location where the gradient could be
   retrieved, for example if the SVG code is embedded in your XSL,
   try fill=url(my.xsl#PurpleToWhite). Don't know whether this
   works, or whether this is even supposed to work.
Expect a performance hit in all cases.

Ultimately, both FOP and especially Batik should be fixed to make
your code work as expected, but this will not only take some time
but also some efford by a standard committee in order to make the
semantics of this kind of references in embedded SVG clearer.

HTH
J.Pietschmann

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




DO NOT REPLY [Bug 6147] New: - TTFReader can't handle TradeGothic fonts

2002-01-31 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=6147.
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=6147

TTFReader can't handle TradeGothic fonts

   Summary: TTFReader can't handle TradeGothic fonts
   Product: Fop
   Version: 0.15
  Platform: PC
OS/Version: Windows NT/2K
Status: NEW
  Severity: Major
  Priority: Other
 Component: general
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


TTFReader fails to create font metric file for TradeGothic font.  Errors = 

Number of glyphs in font: 232
java.io.EOFException: Reached EOF, file size=38540 offset=99044
at org.apache.fop.fonts.FontFileReader.seek_setFontFileReader.java:78
at org.apache.fop.fonts.TTFFile.readCMAPTTFFile.java.217
at org.apache.fop.fonts.TTFFile.readFontTTFile.java.403
at org.apache.fop.fonts.apps.TTFReader.loadTTFttFReader.java.181
at org.apache.fop.fonts.apps.TTFReader.mainTTFReader.java.143

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




RE: pdf filename

2002-01-31 Thread Alistair Hopkins

You should be able to specify various filenames in headers but IE5 doesn't
play.
response.setHeader(Content-Disposition,attachment;
filename=\myFile.pdf\); //This doesn't seem to work!

Add a bogus bit of xtra path info - the filename - on the end of the calling
URL, and that does work
Replace
http://www.myServer.com/myServlet?file=myFile.pdf
With
http://www.myServer.com/myServlet/myFile.pdf?file=myFile.pdf

-Original Message-
From: Mitchell, Scott(LIT) [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 31, 2002 10:56 AM
To: [EMAIL PROTECTED]
Subject: pdf filename


Does anyone know how I can specify a filename to come up on the Save As
dialog when running FOP from a Servlet.

I have the following code, and when the pdf is created, the resultant action
is inserted as the filename.  Is there any way I can change this?

// Create a new driver
Driver driver = new Driver();
driver.setRenderer(new org.apache.fop.render.pdf.PDFRenderer());

driver.addElementMapping(org.apache.fop.fo.StandardElementMapping);

// Carry out SVG element mapping

driver.addElementMapping(org.apache.fop.svg.SVGElementMapping);

driver.addPropertyList(org.apache.fop.fo.StandardPropertyListMapping);

driver.addPropertyList(org.apache.fop.svg.SVGPropertyListMapping);

// Send output
driver.setOutputStream(new BufferedOutputStream(baos));

// Build the FO tree
driver.buildFOTree(xmlReader, new InputSource(formReader));

// Format the driver
driver.format();

// Render PDF
driver.render();

// Remove temoporary xml file if it exists
File xml = new File(xmlFile);
if (xml != null)
{
mLogger.logDebug(Deleting temporary XML File);
xml.delete();
}
// Clean up
baos.close();
stylesheet.close();

Thanks.

Scott Mitchell
Experienced Software Developer

Liberty Information Technology  Direct Line: ++44 (0) 28 9044 5582
Clarendon House   Fax:   ++44 (0) 28 9044 5511
9-21 Adelaide StreetSwitchboard:   ++44 (0) 28 9044 5500
Belfast, Northern Ireland BT2 8DJ  Email:
[EMAIL PROTECTED]

Disclaimer: The contents of this e-mail and attached files in no way reflect
any policies of Liberty Information Technology Ltd.


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


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




How can I add Custom Font ?

2002-01-31 Thread Anshuman



Hi ! 

 I want to add my 
.ttf files to provide the custom fonts. Can any one tell meas to how can I 
add a new font in the user.config and add the same in the fop.jar ?

with 
regards,ASM


Re: AW: keep-with-next?

2002-01-31 Thread Bertrand Delacretaz

(by the way your message was crossposted to fop-user, please avoid this as it 
makes it very hard to follow discussions)

On Wednesday 30 January 2002 20:21, David Wood wrote:
 I am a Java coder and know my way around the standard. I volunteer to try
 to fix this, if someone who is more familiar with FOP's internals can
 tell me where to look...

I cannot help you much, but here's at least a reply to your offer ;-)

AFAIK getting keep-with... stuff to work requires serious redesign, which is 
currently going on (Keiron and Karen?), but apparently fairly slowly.

Keiron would probably be the one to answer you, but in his last message 
(Jan.14th I think) he indicated that he'd be away for some time. I have no 
idea when he will be back, maybe someone knows more?

-- 
 -- Bertrand Delacrétaz, www.codeconsult.ch
 -- web technologies consultant - OO, Java, XML, C++






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




Re: How can I add Custom Font ?

2002-01-31 Thread Jochen . Maes


first make a xml file from your ttf (read the document in docs) then add it
to your userconfig like mentioned...

make sure you dan embedd the file (ttf us listed in the userconfig).

and if your stuck here is a link where you can find more info on it...

http://marc.theaimsgroup.com/
search the mailing list

success,



Jochen Maes
EDP departement
Programmeur

KBC-Securities
Havenlaan 16
1080 Brussel

Tel : 02/429.96.81
Fax : 02/429.17.48
E-mail : [EMAIL PROTECTED]

**

This message is for the named person's use only. It may contain
confidential, proprietary or legally privileged information. You must not,
directly or indirectly, use, disclose, distribute, print, or copy any part
of this message if you are not the intended recipient. KBC Securities
reserves the right to monitor all e-mail communications through its
networks. Any views expressed in this message are those of the individual
sender, except where the message states otherwise and the sender is
authorised to state them to be the views of any such entity.
**


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




[GUMP] Build Failure - Fop

2002-01-31 Thread Sam Ruby


This email is autogenerated from the output from:
http://jakarta.apache.org/builds/gump/2002-01-31/xml-fop.html


Buildfile: build.xml

init-avail:

init-filters-xalan2:
 [copy] Copying 1 file to /home/rubys/jakarta/xml-fop/build/src/codegen

init:
 [echo] --- Fop 1.0dev [1999-2001] 

prepare:
 [echo] Preparing the build directories
[mkdir] Created dir: 
/home/rubys/jakarta/xml-fop/build/src/org/apache/fop/fo/properties
[mkdir] Created dir: 
/home/rubys/jakarta/xml-fop/build/src/org/apache/fop/render/pdf/fonts
[mkdir] Created dir: /home/rubys/jakarta/xml-fop/build/src/org/apache/fop/svg
[mkdir] Created dir: /home/rubys/jakarta/xml-fop/build/classes/conf
[mkdir] Created dir: /home/rubys/jakarta/xml-fop/build/classes/hyph
 [copy] Copying 3 files to /home/rubys/jakarta/xml-fop/build/classes/conf

codegen:
 [echo] Resetting codegen directory
 [copy] Copying 31 files to /home/rubys/jakarta/xml-fop/build/src/codegen
 [echo] Generating the java files from xml resources
[style] Processing /home/rubys/jakarta/xml-fop/build/src/codegen/allprops.xml to 
/home/rubys/jakarta/xml-fop/build/src/org/apache/fop/fo/properties/Constants.java
[style] Loading stylesheet 
/home/rubys/jakarta/xml-fop/build/src/codegen/genconst.xsl
[style] Processing /home/rubys/jakarta/xml-fop/build/src/codegen/foproperties.xml 
to 
/home/rubys/jakarta/xml-fop/build/src/org/apache/fop/fo/properties/fo_ignore_this.java
[style] Loading stylesheet 
/home/rubys/jakarta/xml-fop/build/src/codegen/properties.xsl
[style] : Fatal Error! java.lang.NullPointerException Cause: 
java.lang.NullPointerException
[style] Processing /home/rubys/jakarta/xml-fop/build/src/codegen/foproperties.xml 
to 
/home/rubys/jakarta/xml-fop/build/src/org/apache/fop/fo/properties/FOPropertyMapping.java
[style] Loading stylesheet 
/home/rubys/jakarta/xml-fop/build/src/codegen/propmap.xsl
[style] Processing /home/rubys/jakarta/xml-fop/build/src/codegen/foproperties.xml 
to 
/home/rubys/jakarta/xml-fop/build/src/org/apache/fop/fo/properties/foenums_ignore_this.java
[style] Loading stylesheet 
/home/rubys/jakarta/xml-fop/build/src/codegen/enumgen.xsl
[style] Processing /home/rubys/jakarta/xml-fop/build/src/codegen/charlist.xml to 
/home/rubys/jakarta/xml-fop/build/src/org/apache/fop/render/pdf/CodePointMapping.java
[style] Loading stylesheet 
/home/rubys/jakarta/xml-fop/build/src/codegen/code-point-mapping.xsl
[style] Transforming into 
/home/rubys/jakarta/xml-fop/build/src/org/apache/fop/render/pdf/fonts
[style] Processing /home/rubys/jakarta/xml-fop/src/codegen/CourierBold.xml to 
/home/rubys/jakarta/xml-fop/build/src/org/apache/fop/render/pdf/fonts/CourierBold.java
[style] Loading stylesheet 
/home/rubys/jakarta/xml-fop/build/src/codegen/font-file.xsl
[style] Processing /home/rubys/jakarta/xml-fop/src/codegen/Courier.xml to 
/home/rubys/jakarta/xml-fop/build/src/org/apache/fop/render/pdf/fonts/Courier.java
[style] Processing /home/rubys/jakarta/xml-fop/src/codegen/CourierBoldOblique.xml 
to 
/home/rubys/jakarta/xml-fop/build/src/org/apache/fop/render/pdf/fonts/CourierBoldOblique.java
[style] Processing /home/rubys/jakarta/xml-fop/src/codegen/CourierOblique.xml to 
/home/rubys/jakarta/xml-fop/build/src/org/apache/fop/render/pdf/fonts/CourierOblique.java
[style] Processing /home/rubys/jakarta/xml-fop/src/codegen/Helvetica.xml to 
/home/rubys/jakarta/xml-fop/build/src/org/apache/fop/render/pdf/fonts/Helvetica.java
[style] Processing /home/rubys/jakarta/xml-fop/src/codegen/HelveticaBold.xml to 
/home/rubys/jakarta/xml-fop/build/src/org/apache/fop/render/pdf/fonts/HelveticaBold.java
[style] Processing 
/home/rubys/jakarta/xml-fop/src/codegen/HelveticaBoldOblique.xml to 
/home/rubys/jakarta/xml-fop/build/src/org/apache/fop/render/pdf/fonts/HelveticaBoldOblique.java
[style] Processing /home/rubys/jakarta/xml-fop/src/codegen/HelveticaOblique.xml to 
/home/rubys/jakarta/xml-fop/build/src/org/apache/fop/render/pdf/fonts/HelveticaOblique.java
[style] Processing /home/rubys/jakarta/xml-fop/src/codegen/Symbol.xml to 
/home/rubys/jakarta/xml-fop/build/src/org/apache/fop/render/pdf/fonts/Symbol.java
[style] Processing /home/rubys/jakarta/xml-fop/src/codegen/TimesBold.xml to 
/home/rubys/jakarta/xml-fop/build/src/org/apache/fop/render/pdf/fonts/TimesBold.java
[style] Processing /home/rubys/jakarta/xml-fop/src/codegen/TimesBoldItalic.xml to 
/home/rubys/jakarta/xml-fop/build/src/org/apache/fop/render/pdf/fonts/TimesBoldItalic.java
[style] Processing /home/rubys/jakarta/xml-fop/src/codegen/TimesItalic.xml to 
/home/rubys/jakarta/xml-fop/build/src/org/apache/fop/render/pdf/fonts/TimesItalic.java
[style] Processing /home/rubys/jakarta/xml-fop/src/codegen/TimesRoman.xml to 

white-space

2002-01-31 Thread Gus Delgado

 I need white space between fields, how do I do that?

 fo:block font-size=10pt font-weight=bold font-family=sans-serif 
 text-indent=10pt
 xsl:value-of select=city /, !--I NEED A WHITE SPACE HERE--
 xsl:value-of select=state / !--I NEED WHITE SPACE 
 HERE--   xsl:value-of select=zipcode /!--I NEED WHITE 
 SPACE HERE--
 /fo:block

 So that the address will look like this

 Austin, TX 78758

 instead of,
 Austin,TX78758

 Thanks in advance for your help!


 -Gus





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




RE: white-space

2002-01-31 Thread Henk Gootjes

You can use the concat function, just to put a space after a value.
Just like this:
xsl:value-of select=concat(city,', ')/
xsl:value-of select=concat(state,' ')/
xsl:value-of select=zipcode/



-Oorspronkelijk bericht-
Van: Gus Delgado [mailto:[EMAIL PROTECTED]]
Verzonden: donderdag 31 januari 2002 15:11
Aan: [EMAIL PROTECTED]
Onderwerp: white-space


 I need white space between fields, how do I do that?

 fo:block font-size=10pt font-weight=bold font-family=sans-serif 
 text-indent=10pt
 xsl:value-of select=city /, !--I NEED A WHITE SPACE HERE--
 xsl:value-of select=state / !--I NEED WHITE SPACE 
 HERE--   xsl:value-of select=zipcode /!--I NEED WHITE 
 SPACE HERE--
 /fo:block

 So that the address will look like this

 Austin, TX 78758

 instead of,
 Austin,TX78758

 Thanks in advance for your help!


 -Gus





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



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




ANN: FOA Open-Source

2002-01-31 Thread Giannetti, Fabio

Hi,
there is a new release of FOA (0.2.0) and now it is Open-Source !!!.
The new features are:
- table support (columns definition, cells and rows bricks)
- interactive preview
  - see a document preview and browse across pages, zoom in/out
  - brick highlight, select a brick from the logic tree and see the
formatting appearence in the preview
  - brick and/or attribute modifications could be seen on the preview using
the re-generate option
  - the preview XML input is made using a customized FOP version based on
0.20.1

It's possible to download it from:
http://foa.sourceforge.net (download page)

I'm also searching interested people to develop and/or test the application
(see the team page).
There are also a developers and users mailing lists.

Thanks in advance, Fabio

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




RE: Please help, even if it's just a reply that it can't be done

2002-01-31 Thread Joerg Pietschmann

Scott Moore [EMAIL PROTECTED] wrote:
 Sorry about the subject line, but my previous subject SVG Problem with FOP
 got no replies.
I read it but had real work to do.

 However, it still can't locate the
 gradient definition.  It gives the following error An I/O error occured
 while processing the URL 'file:C:/Projects/Dev/Gradient.svg#PurpleToWhite'

Try an absolute URL, with emphasis to the triple slash, as this is
the correct form for file URLs.
  file:///C:/Projects/Dev/Gradient.svg#PurpleToWhite
Check the location carefully. If this succeeds, you could try
to set the baseDir configuration parameter to
file:///C:/Projects/Dev/, search the FOP doc for how to do
this (presumably in the userconfig.xml).

 The exception generated by Batik now identifies the correct file, but still
 can't seem to locate the gradient definition.

The I/O-Error seems to indicate the generic problem of not
getting some or all of the content of the file. Changing the
content wont fix this. You may have to experiment a bit.
For example, try access a small GIF from this directory
as fo:external-graphic. If FOP gets an error with the GIF
file, it's the directory or the URL syntax or something 
more general. If the GIF shows up, it's your SVG file, perhaps
you should check well-formedness or SVG-validity or whatever.
I really can't help much further, you'll have to solve the
problem for yourself.

HTH
J.Pietschmann

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




background-image

2002-01-31 Thread Gus Delgado

how can a background-image be done.
I'm trying to put a seal.gif on a pdf document I created?

thanks

-gus


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




RE: ZapfDingbats font

2002-01-31 Thread Dunning, John

Thanks for the reply; I didn't think that I have to implement the userconfig
fonts portion, because

quote src=fonts.html
FOP (building PDF files) normally supports only the base 14 font package
defined in the Adobe PDF specification. That includes the following fonts:
Helvetica, Times, Courier, Symbol and ZapfDingbats.
/quote

As stated earlier, certain characters (#x27AA;) work fine with
ZapfDingbats, but others do not.  Do I have to build a font metrics file,
considering the quote above?

Any further ideas/suggestions?

Thanks,
John

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




userconfigfile to add new Custom Font ?

2002-01-31 Thread Maneshi Tuli


Sorry , i posted this question earlier also , but i didn' get any reply ,

i added  a new font in fop sucessfully , it is working , but it gives problem in 
printing ,
while printing  pdf file size is getiing increeased and then acrobatreader hangs.
in display it just has 2 pages , if i print page by page , it prints sucessfully .
it seems it couldn't find end of file .

plz any body can suggest me what else i have to add in userconfig apart from font 
declaration.

thanks




 Message History 



From: [EMAIL PROTECTED] on 01/31/2002 02:32 PM CET

Please respond to [EMAIL PROTECTED]

To:   [EMAIL PROTECTED]
cc:
Subject:  Re: How can I add Custom Font ?



first make a xml file from your ttf (read the document in docs) then add it
to your userconfig like mentioned...

make sure you dan embedd the file (ttf us listed in the userconfig).

and if your stuck here is a link where you can find more info on it...

http://marc.theaimsgroup.com/
search the mailing list

success,



Jochen Maes
EDP departement
Programmeur

KBC-Securities
Havenlaan 16
1080 Brussel

Tel : 02/429.96.81
Fax : 02/429.17.48
E-mail : [EMAIL PROTECTED]

**

This message is for the named person's use only. It may contain
confidential, proprietary or legally privileged information. You must not,
directly or indirectly, use, disclose, distribute, print, or copy any part
of this message if you are not the intended recipient. KBC Securities
reserves the right to monitor all e-mail communications through its
networks. Any views expressed in this message are those of the individual
sender, except where the message states otherwise and the sender is
authorised to state them to be the views of any such entity.
**


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






--

This e-mail may contain confidential and/or privileged information. If you are not the 
intended recipient (or have received this e-mail in error) please notify the sender 
immediately and destroy this e-mail. Any unauthorized copying, disclosure or 
distribution of the material in this e-mail is strictly forbidden.



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




Re: background-image

2002-01-31 Thread Jochen . Maes


not... that isn't implemented it FOP yet (read the implemented.html in the
docs...)

use a toy like iText for that after you made your pdf... real great tool
(thanks again DREF)



Jochen Maes
EDP departement
Programmeur

KBC-Securities
Havenlaan 16
1080 Brussel

Tel : 02/429.96.81
Fax : 02/429.17.48
E-mail : [EMAIL PROTECTED]

**

This message is for the named person's use only. It may contain
confidential, proprietary or legally privileged information. You must not,
directly or indirectly, use, disclose, distribute, print, or copy any part
of this message if you are not the intended recipient. KBC Securities
reserves the right to monitor all e-mail communications through its
networks. Any views expressed in this message are those of the individual
sender, except where the message states otherwise and the sender is
authorised to state them to be the views of any such entity.
**


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




Re: userconfigfile to add new Custom Font ?

2002-01-31 Thread Jochen . Maes


hmm i think that might have something to wo whith the setting off your
adobe check if it's set on the correct ps level for your printer
some documents come out great if its set wrongly but some bad...



Jochen Maes
EDP departement
Programmeur

KBC-Securities
Havenlaan 16
1080 Brussel

Tel : 02/429.96.81
Fax : 02/429.17.48
E-mail : [EMAIL PROTECTED]

**

This message is for the named person's use only. It may contain
confidential, proprietary or legally privileged information. You must not,
directly or indirectly, use, disclose, distribute, print, or copy any part
of this message if you are not the intended recipient. KBC Securities
reserves the right to monitor all e-mail communications through its
networks. Any views expressed in this message are those of the individual
sender, except where the message states otherwise and the sender is
authorised to state them to be the views of any such entity.
**


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




Re: background-image

2002-01-31 Thread jthaemlitz


If your working with a one page report, you can put the external-graphic in
the xsl-region-body and put your text in the xsl-region-before.  Make the
xsl-region-before the full size of you page then position your text in the
xsl-region-before.  Xsl-region-before will write over the flow and give the
effect of a background image.  Only works on ONE PAGE DOCUMENTS though.

JohnPT



   

fop-dev-return-12894-jthaemlitz=oreillyauto.com@XML.   

APACHE.ORG To: 
[EMAIL PROTECTED]  
   cc: 

01/31/02 09:12 AM  
Subject: Re: background-image   
Please respond to fop-dev  

   

   






not... that isn't implemented it FOP yet (read the implemented.html in the
docs...)

use a toy like iText for that after you made your pdf... real great tool
(thanks again DREF)



Jochen Maes
EDP departement
Programmeur

KBC-Securities
Havenlaan 16
1080 Brussel

Tel : 02/429.96.81
Fax : 02/429.17.48
E-mail : [EMAIL PROTECTED]

**


This message is for the named person's use only. It may contain
confidential, proprietary or legally privileged information. You must not,
directly or indirectly, use, disclose, distribute, print, or copy any part
of this message if you are not the intended recipient. KBC Securities
reserves the right to monitor all e-mail communications through its
networks. Any views expressed in this message are those of the individual
sender, except where the message states otherwise and the sender is
authorised to state them to be the views of any such entity.
**



-
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: 0.20.3rc bug

2002-01-31 Thread Matthew L. Avizinis

To paraphrase Columbo, Just one more thing
In
[WARN]: Sum of fixed column widths 507400 greater than maximum specified IPD
487
559
what does IPD refer to?  Although, I'm now no longer getting the
table-layout warning, I'm still getting this one.
thanks,
matthew a

 -Original Message-
 From: Matthew L. Avizinis [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, January 31, 2002 10:10 AM
 To: [EMAIL PROTECTED]
 Subject: RE: 0.20.3rc bug


 excellent.
 thank you

  -Original Message-
  From: Scott Moore [mailto:[EMAIL PROTECTED]]
  Sent: Wednesday, January 30, 2002 5:11 PM
  To: [EMAIL PROTECTED]
  Subject: Re: 0.20.3rc bug
 
 
  Place the attribute 'table-layout=fixed' on all your fo:table
  elements.
 
  The default without the attribute is auto, which is not
 supported in FOP
  yet.  Just another change in the latest release.
 
  Scott
 
 
  - Original Message -
  From: Matthew L. Avizinis [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Sent: Wednesday, January 30, 2002 4:49 PM
  Subject: RE: 0.20.3rc bug
 
 
   OK.  I've read the CHANGES file and I see the error of my ways.
   but now what's this?  I don't see anything about it and
 didn't get this
   before either.  My fo file doesn't have this any in it at all,
  so why the
   warning now?  All the table column widths are measured in mm, btw.
   [WARN]: table-layout=auto is not supported, using fixed!
   [WARN]: Sum of fixed column widths 507400 greater than
 maximum specified
  IPD
   487
   thanks,
  Matthew L. Avizinis mailto:[EMAIL PROTECTED]
   Gleim Publications, Inc.
  4201 NW 95th Blvd.
Gainesville, FL 32606
   (352)-375-0772 ext. 101
 www.gleim.com http://www.gleim.com
  
  
 ===
   com·put·ing (kum' pyoot ing)
   1. n the art of calculating how much time you wasted and
 money you spent
  in
   a doomed attempt to master a machine with a mind of it's own. --from
   computing: A HACKER'S DICTIONARY
  
  
-Original Message-
From: Scott Moore [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 30, 2002 3:28 PM
To: [EMAIL PROTECTED]
Subject: Re: 0.20.3rc bug
   
   
Change master-name to master-reference on your fo:page-sequence.  In
  this
case, the error is correct and your FO is wrong.  The previous
versions were
written to the Candidate Recommendation and not the Oct 15th
Recommendation
which had that change.
   
Scott
   
   
- Original Message -
From: Matthew L. Avizinis [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, January 30, 2002 3:09 PM
Subject: 0.20.3rc bug
   
   
 Hello all,
   I have not posted any bugs before and don't really know
 the formal
 procedure yet, and I haven't seen this brought up by anyone else
  either.
 I have a stylesheet which produces an fo file with two
fo:page-sequences.
 It produces pdf's correctly with version =0.20.2rc.
 With 0.20.3.rc
  it
 produces the message:
   master-reference for fo:page-sequence matches no
  simple-page-master
  or
 page-sequence-master

 It seems that there is something wrong with the new
 version since I
clearly
 have two page-sequence-master s with the same names as the two
 page-sequences.
 thanks,
Matthew L. Avizinis mailto:[EMAIL PROTECTED]
 Gleim Publications, Inc.
4201 NW 95th Blvd.
  Gainesville, FL 32606
 (352)-375-0772 ext. 101
   www.gleim.com http://www.gleim.com


  ===
 com·put·ing (kum' pyoot ing)
 1. n the art of calculating how much time you wasted and money you
  spent
in
 a doomed attempt to master a machine with a mind of it's
 own. --from
 computing: A HACKER'S DICTIONARY



  -
 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]
  
 
 
  -
  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]




FOP and table issue

2002-01-31 Thread Cyril Rognon

Hi all,

I have been following this list from some time now, and I am using FOP for 
a few month. This piece of software totally respond to my formatting needs.

The only issue is with memory consumption as soon as I use tables wich use 
more than one page. I beleive there might be some memory leak  here (I have 
not checked that, just a feeling) since I have tried the use as many page 
sequence you can trick and yet the more multi page table my file have 
(even though they do not belong to the same page sequence), the more memory 
it eats to render to PDF.

I use  0.20.3rc, I am going to use fop because I think it fits my needs. If 
anyone have some clue about lowering the memory waste, I would be very very 
thankfull.

I can even investigate some java code if someone show me where to look.

Thanks for the great job, any hints welcome.
Cyril


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




RE: i18n in TXTRenderer

2002-01-31 Thread Art Welch

I will try to commit this sometime in the next few days.

I have not looked at the code yet, should this be the main branch or the
maintenance branch?

Art

-Original Message-
From: Satoshi Ishigami [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 30, 2002 8:36 PM
To: [EMAIL PROTECTED]
Subject: Re: i18n in TXTRenderer



Hi, Art.

I attach the most simplest changes to this mail.

I created a new org.apache.fop.render.txt.TXTStream class and 
modified the TXTRenderer class.

A difference of behavior with an existing code is that a 
generated text is written by UTF-8 encoding (not ISO-8859-1).

It maybe more better that users can specify a charset encoding 
at anywhere. However I also think that most users will not need 
a function more than current TXTRenderer. So I think that this 
changes are enough to view the text.

By the way, a generated text is very dirty :)

---
Satoshi Ishigami   VIC TOKAI CORPORATION



On Mon, 28 Jan 2002 12:01:54 -0500 , Art Welch wrote:

 You are probably correct. The TXTRenderer probably should not use the same
 add method as the PCL renderer. Since it should just generate plain text,
 there probably is not a reason that it should not be able to support i18n.
 As coded however, it may be more aptly named the ASCIIRenderer (or maybe
 that should be PC-8).
 
 Without looking at the code, I am not sure how the TXTRenderer would
handle
 chars instead of bytes. My guess is that some (simple) code changes would
 need to be made.
 
 Personally I do not know that the TXTRenderer is useful enough to be worth
 spending much effort on. But if the changes are simple and useful to
 someone... Certainly it would be good for FOP (and all of its components)
to
 support i18n.
 
 Art
 
 -Original Message-
 From: Satoshi Ishigami [mailto:[EMAIL PROTECTED]]
 Sent: Sunday, January 27, 2002 6:35 PM
 To: [EMAIL PROTECTED]
 Subject: i18n in TXTRenderer
 
 
 
 Hi .
 
 I hacked the TXTRenderer for i18n.
 
 Currently the org.apache.fop.render.pcl.PCLStream class is
 used as OutputStream in TXTRenderer. The add method in
 PCLStream calss is as below:
 
 public void add(String str) {
 if (!doOutput)
 return;
 
 byte buff[] = new byte[str.length()];
 int countr;
 int len = str.length();
 for (countr = 0; countr  len; countr++)
 buff[countr] = (byte)str.charAt(countr);
 try {
 out.write(buff);
 } catch (IOException e) {
 // e.printStackTrace();
 // e.printStackTrace(System.out);
 throw new RuntimeException(e.toString());
 }
 }
 
 I think that this algorithm is wrong for the character  127.
 This reason is that the literal length of char is 2 bytes and
 the literal length of byte is 1 byte. To avoid this problem,
 I think that the following algorithm is better than now.
 
 public void add(String str) {
 if (!doOutput) return;
 try {
 byte buff[] = str.getBytes(UTF-8);
 out.write(buff);
 } catch (IOException e) {
 throw new RuntimeException(e.toString());
 }
 }
 
 This algorithm may be not good for PCLRenderer because
 I don't know whether the PCL printer supports the UTF-8
 encoding or not.
 
 However I think that the TXTRenderer could use the
 multilingualable encoding because it is possible to include
 some languages in a same single fo file.
 
 Therere I consider that the TXTRenderer should not use the
 PCLStream and had better use original OutputStream (such as
 TXTStream).
 
 Will my thought be wrong?
 
 Best Regards.
 
 ---
 Satoshi Ishigami   VIC TOKAI CORPORATION
 
 -
 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: 0.20.3rc bug

2002-01-31 Thread joseph . aloysius . gilvary


Follow this thread:

http://marc.theaimsgroup.com/?l=fop-devm=101179308205088w=2

The MARC archives are a great place to start in solving problems with
using the Apache stuff.

 HTH

 Joe



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




Re: background-image

2002-01-31 Thread Gus Delgado

Is there an example on how to do the background with iText?

[EMAIL PROTECTED] wrote:

not... that isn't implemented it FOP yet (read the implemented.html in the
docs...)

use a toy like iText for that after you made your pdf... real great tool
(thanks again DREF)



Jochen Maes
EDP departement
Programmeur

KBC-Securities
Havenlaan 16
1080 Brussel

Tel : 02/429.96.81
Fax : 02/429.17.48
E-mail : [EMAIL PROTECTED]

**

This message is for the named person's use only. It may contain
confidential, proprietary or legally privileged information. You must not,
directly or indirectly, use, disclose, distribute, print, or copy any part
of this message if you are not the intended recipient. KBC Securities
reserves the right to monitor all e-mail communications through its
networks. Any views expressed in this message are those of the individual
sender, except where the message states otherwise and the sender is
authorised to state them to be the views of any such entity.
**


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





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




cvs commit: xml-fop/src/org/apache/fop/render/txt TXTRenderer.java

2002-01-31 Thread artw

artw02/01/31 09:59:50

  Modified:src/org/apache/fop/render/txt Tag: fop-0_20_2-maintain
TXTRenderer.java
  Log:
  Generated text is written in UTF-8 encoding instead of ISO-8859-1
  
  Revision  ChangesPath
  No   revision
  
  
  No   revision
  
  
  1.12.2.1  +3 -3  xml-fop/src/org/apache/fop/render/txt/TXTRenderer.java
  
  Index: TXTRenderer.java
  ===
  RCS file: /home/cvs/xml-fop/src/org/apache/fop/render/txt/TXTRenderer.java,v
  retrieving revision 1.12
  retrieving revision 1.12.2.1
  diff -u -r1.12 -r1.12.2.1
  --- TXTRenderer.java  21 Aug 2001 06:18:55 -  1.12
  +++ TXTRenderer.java  31 Jan 2002 17:59:49 -  1.12.2.1
  @@ -1,5 +1,5 @@
   /*
  - * $Id: TXTRenderer.java,v 1.12 2001/08/21 06:18:55 keiron Exp $
  + * $Id: TXTRenderer.java,v 1.12.2.1 2002/01/31 17:59:49 artw Exp $
* Copyright (C) 2001 The Apache Software Foundation. All rights reserved.
* For details on use and redistribution please refer to the
* LICENSE file included with these sources.
  @@ -43,7 +43,7 @@
   /**
* the current stream to add Text commands to
*/
  -PCLStream currentStream;
  +TXTStream currentStream;
   
   private int pageHeight = 7920;
   
  @@ -1677,7 +1677,7 @@
   public void startRenderer(OutputStream outputStream)
   throws IOException {
   log.info(rendering areas to TEXT);
  -currentStream = new PCLStream(outputStream);
  +currentStream = new TXTStream(outputStream);
   firstPage=true;
   }
   
  
  
  

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




Re: [PATCH] Proper use of font encodings for native fonts

2002-01-31 Thread Christian Geisert

Arved Sandstrom wrote:

 Noted.


Do you want to include this in the coming release ?


Christian


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




cvs commit: xml-fop/src/org/apache/fop/render/txt TXTStream.java

2002-01-31 Thread artw

artw02/01/31 10:14:42

  Added:   src/org/apache/fop/render/txt TXTStream.java
  Log:
  Generated text is written in UTF-8 encoding instead of ISO-8859-1
  
  Revision  ChangesPath
  1.1  xml-fop/src/org/apache/fop/render/txt/TXTStream.java
  
  Index: TXTStream.java
  ===
  /*
   * Copyright (C) 2001 The Apache Software Foundation. All rights reserved.
   * For details on use and redistribution please refer to the
   * LICENSE file included with these sources.
   */
  
  package org.apache.fop.render.txt;
  
  import java.io.*;
  
  public class TXTStream {
  OutputStream out = null;
  boolean doOutput = true;
  
  public TXTStream(OutputStream os) {
  out = os;
  }
  
  public void add(String str) {
  if (!doOutput)
  return;
  
  try {
byte buff[] = str.getBytes(UTF-8);
  out.write(buff);
  } catch (IOException e) {
  throw new RuntimeException(e.toString());
  }
  }
  
  public void setDoOutput(boolean doout) {
  doOutput = doout;
  }
  
  }
  
  
  

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




RE: i18n in TXTRenderer

2002-01-31 Thread Art Welch

I have added this to fop-0_20_2-maintain. Looks things are a bit different
in the main branch. Without doing a bit of research, I do not see at the
moment how that works. Of course it is possible that at the moment, it does
not work.

Art

-Original Message-
From: Art Welch 
Sent: Thursday, January 31, 2002 12:06 PM
To: '[EMAIL PROTECTED]'
Subject: RE: i18n in TXTRenderer


I will try to commit this sometime in the next few days.

I have not looked at the code yet, should this be the main branch or the
maintenance branch?

Art

-Original Message-
From: Satoshi Ishigami [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 30, 2002 8:36 PM
To: [EMAIL PROTECTED]
Subject: Re: i18n in TXTRenderer



Hi, Art.

I attach the most simplest changes to this mail.

I created a new org.apache.fop.render.txt.TXTStream class and 
modified the TXTRenderer class.

A difference of behavior with an existing code is that a 
generated text is written by UTF-8 encoding (not ISO-8859-1).

It maybe more better that users can specify a charset encoding 
at anywhere. However I also think that most users will not need 
a function more than current TXTRenderer. So I think that this 
changes are enough to view the text.

By the way, a generated text is very dirty :)

---
Satoshi Ishigami   VIC TOKAI CORPORATION



On Mon, 28 Jan 2002 12:01:54 -0500 , Art Welch wrote:

 You are probably correct. The TXTRenderer probably should not use the same
 add method as the PCL renderer. Since it should just generate plain text,
 there probably is not a reason that it should not be able to support i18n.
 As coded however, it may be more aptly named the ASCIIRenderer (or maybe
 that should be PC-8).
 
 Without looking at the code, I am not sure how the TXTRenderer would
handle
 chars instead of bytes. My guess is that some (simple) code changes would
 need to be made.
 
 Personally I do not know that the TXTRenderer is useful enough to be worth
 spending much effort on. But if the changes are simple and useful to
 someone... Certainly it would be good for FOP (and all of its components)
to
 support i18n.
 
 Art
 
 -Original Message-
 From: Satoshi Ishigami [mailto:[EMAIL PROTECTED]]
 Sent: Sunday, January 27, 2002 6:35 PM
 To: [EMAIL PROTECTED]
 Subject: i18n in TXTRenderer
 
 
 
 Hi .
 
 I hacked the TXTRenderer for i18n.
 
 Currently the org.apache.fop.render.pcl.PCLStream class is
 used as OutputStream in TXTRenderer. The add method in
 PCLStream calss is as below:
 
 public void add(String str) {
 if (!doOutput)
 return;
 
 byte buff[] = new byte[str.length()];
 int countr;
 int len = str.length();
 for (countr = 0; countr  len; countr++)
 buff[countr] = (byte)str.charAt(countr);
 try {
 out.write(buff);
 } catch (IOException e) {
 // e.printStackTrace();
 // e.printStackTrace(System.out);
 throw new RuntimeException(e.toString());
 }
 }
 
 I think that this algorithm is wrong for the character  127.
 This reason is that the literal length of char is 2 bytes and
 the literal length of byte is 1 byte. To avoid this problem,
 I think that the following algorithm is better than now.
 
 public void add(String str) {
 if (!doOutput) return;
 try {
 byte buff[] = str.getBytes(UTF-8);
 out.write(buff);
 } catch (IOException e) {
 throw new RuntimeException(e.toString());
 }
 }
 
 This algorithm may be not good for PCLRenderer because
 I don't know whether the PCL printer supports the UTF-8
 encoding or not.
 
 However I think that the TXTRenderer could use the
 multilingualable encoding because it is possible to include
 some languages in a same single fo file.
 
 Therere I consider that the TXTRenderer should not use the
 PCLStream and had better use original OutputStream (such as
 TXTStream).
 
 Will my thought be wrong?
 
 Best Regards.
 
 ---
 Satoshi Ishigami   VIC TOKAI CORPORATION
 
 -
 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]

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




Re: AW: keep-with-next?

2002-01-31 Thread David Wood

Thank you for your response!

I was afraid you would say this.  :) I was hoping it might be a relatively
simple fix; I wonder if there isn't a kluge I can put in the existing
approach that would suffice for the heading/following paragraph problem...

So FOP is basically being redesigned/rewritten, eh? I wonder how far along
this is.

On Thu, 31 Jan 2002, Bertrand Delacretaz wrote:

 (by the way your message was crossposted to fop-user, please avoid this as it
 makes it very hard to follow discussions)

 On Wednesday 30 January 2002 20:21, David Wood wrote:
  I am a Java coder and know my way around the standard. I volunteer to try
  to fix this, if someone who is more familiar with FOP's internals can
  tell me where to look...

 I cannot help you much, but here's at least a reply to your offer ;-)

 AFAIK getting keep-with... stuff to work requires serious redesign, which is
 currently going on (Keiron and Karen?), but apparently fairly slowly.

 Keiron would probably be the one to answer you, but in his last message
 (Jan.14th I think) he indicated that he'd be away for some time. I have no
 idea when he will be back, maybe someone knows more?

 --
  -- Bertrand Delacrétaz, www.codeconsult.ch
  -- web technologies consultant - OO, Java, XML, C++






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




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




transforming fo to pdf

2002-01-31 Thread Katiyar, Bhawana

Hi! I am new to this.
I wish to transform FO document (docFo) into PDF. I am using fop.20
I have the following code :
--

Document docFo ;  //contains a valid fo document
ByteArrayOutputStream out;
:
:
:
Driver  driver = new Driver();
driver.setRenderer(Driver.RENDER_PDF);
driver.setupDefaultMappings();
driver.setOutputStream(out);
driver.render(docFo);
return(out);

I get this exception:


java.lang.NullPointerException
at 
org.apache.fop.layoutmgr.PageLayoutManager.makeNewPage(PageLayoutManager.java:141)
at 
org.apache.fop.layoutmgr.PageLayoutManager.getParentArea(PageLayoutManager.java:176)
at 
org.apache.fop.layoutmgr.FlowLayoutManager.getParentArea(FlowLayoutManager.java:49)
at 
org.apache.fop.layoutmgr.BlockLayoutManager.getParentArea(BlockLayoutManager.java:81)
at 
org.apache.fop.layoutmgr.LineLayoutManager.createLine(LineLayoutManager.java:95)
at 
org.apache.fop.layoutmgr.LineLayoutManager.addChild(LineLayoutManager.java:118)
at 
org.apache.fop.layoutmgr.TextLayoutManager.parseChars(TextLayoutManager.java:164)
at 
org.apache.fop.layoutmgr.TextLayoutManager.generateAreas(TextLayoutManager.java:55)


Can someone suggest where I am going wrong.
Thanks in advance 
Bhawana


-Original Message-
From: Roland [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 31, 2002 3:17 PM
To: [EMAIL PROTECTED]
Subject: When will this be finished?


Hello,
we are using fop here at our company and we like it very much. 
Congratulations for this project. My question is, when is this project 
supposed to be finished? I wonder because the current version is still 
0.20.2 and you are probably releasing 0.20.3 soon. I suppose you only will 
implement the full specification when reaching version 1.0 correct? Will 
this be in 10 years or so? :)) (no offense meant).

One thing that is very annoying is that the column-width of the tables have 
to be set manually. When will this be fixed?

Thanks, Roland



-
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: i18n in TXTRenderer

2002-01-31 Thread Arved Sandstrom

I think everything like this, maintenance branch.

Arved

-Original Message-
From: Art Welch [mailto:[EMAIL PROTECTED]]
Sent: January 31, 2002 1:06 PM
To: '[EMAIL PROTECTED]'
Subject: RE: i18n in TXTRenderer


I will try to commit this sometime in the next few days.

I have not looked at the code yet, should this be the main branch or the
maintenance branch?

Art

-Original Message-
From: Satoshi Ishigami [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 30, 2002 8:36 PM
To: [EMAIL PROTECTED]
Subject: Re: i18n in TXTRenderer



Hi, Art.

I attach the most simplest changes to this mail.

I created a new org.apache.fop.render.txt.TXTStream class and
modified the TXTRenderer class.

A difference of behavior with an existing code is that a
generated text is written by UTF-8 encoding (not ISO-8859-1).

It maybe more better that users can specify a charset encoding
at anywhere. However I also think that most users will not need
a function more than current TXTRenderer. So I think that this
changes are enough to view the text.

By the way, a generated text is very dirty :)

---
Satoshi Ishigami   VIC TOKAI CORPORATION



On Mon, 28 Jan 2002 12:01:54 -0500 , Art Welch wrote:

 You are probably correct. The TXTRenderer probably should not use the same
 add method as the PCL renderer. Since it should just generate plain text,
 there probably is not a reason that it should not be able to support i18n.
 As coded however, it may be more aptly named the ASCIIRenderer (or maybe
 that should be PC-8).

 Without looking at the code, I am not sure how the TXTRenderer would
handle
 chars instead of bytes. My guess is that some (simple) code changes would
 need to be made.

 Personally I do not know that the TXTRenderer is useful enough to be worth
 spending much effort on. But if the changes are simple and useful to
 someone... Certainly it would be good for FOP (and all of its components)
to
 support i18n.

 Art

 -Original Message-
 From: Satoshi Ishigami [mailto:[EMAIL PROTECTED]]
 Sent: Sunday, January 27, 2002 6:35 PM
 To: [EMAIL PROTECTED]
 Subject: i18n in TXTRenderer



 Hi .

 I hacked the TXTRenderer for i18n.

 Currently the org.apache.fop.render.pcl.PCLStream class is
 used as OutputStream in TXTRenderer. The add method in
 PCLStream calss is as below:

 public void add(String str) {
 if (!doOutput)
 return;

 byte buff[] = new byte[str.length()];
 int countr;
 int len = str.length();
 for (countr = 0; countr  len; countr++)
 buff[countr] = (byte)str.charAt(countr);
 try {
 out.write(buff);
 } catch (IOException e) {
 // e.printStackTrace();
 // e.printStackTrace(System.out);
 throw new RuntimeException(e.toString());
 }
 }

 I think that this algorithm is wrong for the character  127.
 This reason is that the literal length of char is 2 bytes and
 the literal length of byte is 1 byte. To avoid this problem,
 I think that the following algorithm is better than now.

 public void add(String str) {
 if (!doOutput) return;
 try {
 byte buff[] = str.getBytes(UTF-8);
 out.write(buff);
 } catch (IOException e) {
 throw new RuntimeException(e.toString());
 }
 }

 This algorithm may be not good for PCLRenderer because
 I don't know whether the PCL printer supports the UTF-8
 encoding or not.

 However I think that the TXTRenderer could use the
 multilingualable encoding because it is possible to include
 some languages in a same single fo file.

 Therere I consider that the TXTRenderer should not use the
 PCLStream and had better use original OutputStream (such as
 TXTStream).

 Will my thought be wrong?

 Best Regards.

 ---
 Satoshi Ishigami   VIC TOKAI CORPORATION

 -
 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]


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




RE: [PATCH] Proper use of font encodings for native fonts

2002-01-31 Thread Arved Sandstrom

Hell, why not. :-)

I don't know what your schedule is like...me, I really need to do my work on
Saturday (uploading Peter West's stuff, mostly). Is that too long for you to
wait? Tonight and tomorrow night, as earlier this week, I am pretty busy. As
far as I am concerned the release candidate is available and reasonably
functional so we are not in a great hurry.

Arved

-Original Message-
From: Christian Geisert [mailto:[EMAIL PROTECTED]]
Sent: January 31, 2002 2:11 PM
To: [EMAIL PROTECTED]
Subject: Re: [PATCH] Proper use of font encodings for native fonts


Arved Sandstrom wrote:

 Noted.


Do you want to include this in the coming release ?


Christian


-
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: Why do you use FOP instead of ...

2002-01-31 Thread Arved Sandstrom

Well, it wouldn't be off-topic if you pursued this on the fop-user mailing
list. :-)

Why do people use XSL-FO? Because they need high-quality printing and the
formatting vocabulary described in the XSL 1.0 Recommendation suits those
needs, AND the data to be formatted is already represented in XML. That's my
minimalist view. :-)

Regards,
Arved Sandstrom

-Original Message-
From: Patrick Andries [mailto:[EMAIL PROTECTED]]
Sent: January 29, 2002 9:58 PM
To: [EMAIL PROTECTED]
Subject: Why do you use FOP instead of ...


I would like to know why FOP enthousiast (I am one) are using FO rather
than products such as Crystal Reports or other such software (anyone
Jetfoms ?). Just for the fun of playing with new technology ?

Thanks for any hints (in private since this is off-topic)

Patrick Andries


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




DO NOT REPLY [Bug 6170] New: - Documentation for PDF generation

2002-01-31 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=6170.
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=6170

Documentation for PDF generation

   Summary: Documentation for PDF generation
   Product: Fop
   Version: all
  Platform: All
   URL: http://xml.apache.org/fop/
OS/Version: All
Status: NEW
  Severity: Normal
  Priority: Other
 Component: documentation
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]


Hi ,
We have a project started here to generate reports both in PDF  HTML 
formats from Java. 
We heard of fop and thought of implementing it. But we find no clear 
documentation as to how to proceed and what are the various steps to generate a 
PDF  HTML document . We downloaded the jars specified but we like to know if I 
could find any documentation on the various steps reqd to create my reports. 
Please help me out. Thanks in Advance.

Regards
Dhana

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