Re: Tranformation to PDF using cocoon's FOP

2001-06-15 Thread Keiron Liddle
What version of FOP is it using? It works fine for me. On Fri, 15 Jun 2001 07:36:56 Hema Rajan wrote: I have written a stylesheet to transform the xml file into a pdf file. But the header of the table is still missing. I have enclosed the stylesheet (final-pdf.xsl), applied on the xml

Re: cvs login

2001-06-15 Thread Keiron Liddle
If you get an Unknown host xml.apache.org. error message then there is probably some sort of network problem. Possibly a firewall or proxy preventing you from seeing outside. On Fri, 15 Jun 2001 11:21:40 Raju Dave wrote: I am using wincvs 1.10 and I am getting error as cvs -z9 -d

RE: Tranformation to PDF using cocoon's FOP

2001-06-15 Thread Keiron Liddle
In that case it is not implemented in that version. You need about 0.17 or later (I think) On Fri, 15 Jun 2001 14:42:55 Hema Rajan wrote: I am using cocoon 1.8 which inturn uses fop_0_13_0.jar. What version of FOP is it using?

Re: FOP 0.19 System Hanging

2001-06-18 Thread Keiron Liddle
This is really a java problem. I have changed it so that the CommandLine now exits after completion. On Mon, 18 Jun 2001 10:34:34 Gary Freeman wrote: There appears to be a problem with the latest downloadable version of FOP-0.19.0-CVS The system hangs after displaying 'writing out PDF'.

Re: SVG to FOP

2001-06-19 Thread Keiron Liddle
On Mon, 18 Jun 2001 17:58:34 Thieler Jens wrote: 1.) === Batik's SVGGaphics2D produces SVG files for me. Now I want to convert the SVG to PDF in my program (or rather position the SVG on the page) using FOP's Driver. The FOP used was downloaded at 2001-06-18 07:49 UTC. It works fine

Re: SVG - PDF Transcoder (Beta 1) Released

2001-06-19 Thread Keiron Liddle
It is part of the 0.19 release which was announced recently. This is currently available in the dist directory. On Mon, 18 Jun 2001 14:59:05 Elliotte Rusty Harold wrote: You wouldn't happen to have a URL for that would you? It's not in the dist directory.

Re: SVG to PDF

2001-06-19 Thread Keiron Liddle
On Mon, 18 Jun 2001 15:29:57 Brigette Muller wrote: Hi all, When I try to do the following (as described on http://xml.apache.org/fop/svg.html) java org.apache.batik.apps.rasterizer.Main -m application/pdf document.svg I get the following error: No transcoder found for mime

Re: SVG to PDf - images

2001-06-20 Thread Keiron Liddle
I tried you svg as pdf, png and the batik browser and all of them looked very similar. So I don't know what you mean by ugly colors. Maybe there is something specific to your environment. On Tue, 19 Jun 2001 21:41:55 Brigette Muller wrote: Hi all, Attached is a .SVG. When II

Re: Release 0.19

2001-06-20 Thread Keiron Liddle
On Tue, 19 Jun 2001 18:27:10 Chetan Vig wrote: I just wanted to know if Release 0.19 was stable enough so that I can download it. coz, I saw bunch of emails flying about the PDF hanging etc etc. FOP does not hang. Java has a problem exiting when an AWT component is used, which is what

RE: SVG to PDf - images

2001-06-20 Thread Keiron Liddle
On Wed, 20 Jun 2001 13:51:57 Brigette Muller wrote: Keiron, Which version of Acrobat/Reader are you using to view the pdf? (I have 5.0) I can send you the PDF I have, but it is too large to send to the mailing list. I would be interested in your generated pdf, to see if I can view it OK.

Redesign plan - plan tool

2001-06-21 Thread Keiron Liddle
I have written a simple (yet effective) extension to fop that takes some simple XML and converts it into an SVG document automatically which can be drawn in the PDF document. The attached pdf has a demonstration. The plan is only very rough so don't take too much notice of it. If people are

Re: test suite

2001-06-21 Thread Keiron Liddle
see http://xw2k.sdct.itl.nist.gov/xml/page4.html I had a short look at the xsl:fo test suite. It contains about 540 xml files and xsl files to convert them to xsl:fo files. In a separate directory there are the resulting pdf files created with xep. I am not sure about the copyright

Re: Code conventions

2001-06-22 Thread Keiron Liddle
On Thu, 21 Jun 2001 22:38:57 Jeremias Maerki wrote: Hi again When looking at the FOP source I encounter a lot of inconsistencies concerning tabs and spaces. Can we (or rather the committers) please agree on how to configure our editors to produce good-looking code? I'd like to propose

Re: PostScript Renderer

2001-06-22 Thread Keiron Liddle
On Fri, 22 Jun 2001 10:03:22 Keiron Liddle wrote: I might also have a look at the svg rendering. I have added an svg renderer for the postscript. This is unfinished since as I haven't bothered to work out a replacement for the quad-to command (which means text won't work) and I haven't

Mailing Lists (was: Out of Memory Error)

2001-06-25 Thread Keiron Liddle
Speaking of sending things to mailing lists. I think we should make the move of getting a fop-user mailing list and keeping the fop-dev list of development (and someone else suggested it to me too). So here's my vote: +1 for fop-user list. Keiron. On Fri, 22 Jun 2001 19:04:17 [EMAIL

Re: build fails with jdk1.2 (jdk1.3 needed !?)

2001-06-25 Thread Keiron Liddle
I'll fix this, teach me for reading the latest api. I think we probably should think of moving to 1.2 considering the growing dependancies but not require 1.3. On Mon, 25 Jun 2001 10:47:12 Christian Geisert wrote: Hi, I just did a cvs update and got the following errors (with jdk1.2.2):

Re: SVGDocumentFactory

2001-06-28 Thread Keiron Liddle
On Wed, 27 Jun 2001 18:38:11 Heiko Barthel wrote: I'm using FOP 0.19. My FO contains: fo:external-graphic src=http://myhost/test.bmp/ The problem is, host myhost requires form based authorization and holds session with cookies. so I get not test.bmp but a html page with the

Re: Font addition

2001-07-02 Thread Keiron Liddle
On Sat, 30 Jun 2001 13:36:24 rajeev nair wrote: hello Keiron, Thanx for ur prompt response. From where i'll get batik.jar file.I downloaded xml-batik and build that.But i couldn't see batik.jar anywhere.I'm still struggling with font addition. please help me. regards rajiv I don't

Re: blank between two fo:inlines in the generated pdf

2001-07-02 Thread Keiron Liddle
The easiest way is to not actually have any whitespace between the two words. You have whitespace between them in the example, yes a carriage return is white space. The white-space-collapse should work but there must be a particular set of circumstances preventing it from working properly.

Re: FOP memory usage

2001-07-03 Thread Keiron Liddle
On Mon, 02 Jul 2001 20:13:14 Rorvick, Chris wrote: After a few days of using FOP and thumbing through the PDF spec, I've made the following observations. It seems that PDFs should be able to be generated in constant memory, but FOP currently does not work this way. Are both of these

RE: FOP memory usage

2001-07-04 Thread Keiron Liddle
On Tue, 03 Jul 2001 16:42:47 Rorvick, Chris wrote: I mean O(C) where C is a constant amount of memory. That may be the case for the pdf generation but when FOP needs to deal with reading an xml document, resolving properties, creating an area tree then rendering to the target (which may be

Testing with w3c testsuite

2001-07-06 Thread Keiron Liddle
I have setup the testing so that it is easy to run through all the w3c testsuite which can be obtained from: http://www.w3.org/Style/XSL/TestSuite/ All you need to do is- Download the full testsuite unzip into base directory of FOP uncomment the runTest tasks in the test target in build.xml The

Re: About testing

2001-07-09 Thread Keiron Liddle
On Fri, 06 Jul 2001 23:33:21 Karen Lease wrote: Hi Keiron, It looks like you are the testing guru. Thanks for taking the initiative on this; I agree that it's crucial. I've finally got around to looking at this in more detail, as I'm trying to add some good cases for tables. I have one

Re: svg/PDFGraphics2D.java between version 1.7 and 1.8

2001-07-09 Thread Keiron Liddle
On Fri, 06 Jul 2001 15:30:59 Thieler Jens wrote: Hi, I'm a great fan of org.apache.svg.PDFTranscoder or rather org.apache.svg.PDFDocumentGraphics2D. PDFDocumentGraphics2D initializes with super(textAsShapes) So the FontState in the superclass PDFGraphics2D is not initialized.

Re: About testing

2001-07-10 Thread Keiron Liddle
On Mon, 09 Jul 2001 12:47:02 Arved Sandstrom wrote: Not only all of the above, but we need to ensure that areas actually have all the properties they are supposed to have. OK, there is still the question, do you really want to add a property to foproperties.xml just so you can print it

Re: No Such Method Error - in DOM2Helper class

2001-07-10 Thread Keiron Liddle
This sort of error means either: - the java libraries in the runtime classpath are different to the compile time - the java libraries you are using are incompatible So make sure your classpath contains only the jars you need and ones that are compatible. I would suggest using the xalan and

Re: batik.jar

2001-07-10 Thread Keiron Liddle
You mean the part to call the PDFTranscoder from batik. It has already been added to the batik cvs. So it will be in the next release (which I will update the fop batik lib with). On Tue, 10 Jul 2001 11:40:03 Thieler Jens wrote: Hi, Has anyone any idea when the FOP extensions to batik.jar

Re: page numbering

2001-07-11 Thread Keiron Liddle
On Tue, 10 Jul 2001 22:05:41 eric.deandrea wrote: I am using FOP 0.14. Any help would be greatly appreciated! I don't think that 0.14 had page numbering. I would suggest trying the latest FOP. - To unsubscribe, e-mail: [EMAIL

Re: Questions about FOP, Batik, Java Graphics to PDF, SVG, etc

2001-07-12 Thread Keiron Liddle
On Wed, 11 Jul 2001 22:14:11 Randall Parker wrote: I'm intending to try to use Batik and FOP to convert graphics drawn with java.awt.Graphics2D to PDF, SVG, and PNG. I'm especially interested in generating PDF. The relevant classes appear to be:

Re: fo:flow within fo:page-sequence

2001-07-12 Thread Keiron Liddle
On Thu, 12 Jul 2001 11:25:06 Wolf Gustavo (SGC-EXT) wrote: Hi, in the XML bible, chap. 15, I read that for a fo:page-sequence I can have one fo:flow per region, i.e.: fo:flow flow-name=xsl-region-body, and then another like fo:flow flow-name=xsl-region-after., etc, which makes 5

Re: properties, elements

2001-07-13 Thread Keiron Liddle
On Thu, 12 Jul 2001 22:50:44 Karen Lease wrote: A few quick thoughts... That was probably just my XML super-ego thinking that case-by-case checks were a _bad_ thing... But on the other hand, as Arved points out, the complexity of the model would make it rather problematic. It's certainly

Re: System hanging

2001-07-13 Thread Keiron Liddle
On Fri, 13 Jul 2001 13:40:27 Mads Soerensen - Interact wrote: Hi! Using FOP 0.19 I call Driver.render() and a PDF file is rendered, great!! But the program does not exit like it is supposed to after completing the render. In a previous message Keiron Liddle wrote that he had changed

Re: Code Style, was Re: PDF serialization

2001-07-17 Thread Keiron Liddle
On Tue, 17 Jul 2001 01:22:38 Arved Sandstrom wrote: At 09:26 PM 7/16/01 +1000, Mark wrote: As an aside: is there a style guide for FOP code? I must say I find the style and layout very confusing and I'm happy to clean things up as I go. At the moment I can't even work out what tab stop

Re: PDF serialization

2001-07-17 Thread Keiron Liddle
Mark, I think the first step would be to change the PDF generation code so that it can write out as it goes to a stream (and also do what it does now). This would most likely be done by writing out each page after completion. It may also (I'm not sure) require different tracking of objects such

Re: Rendering SVG as Image by Batik?

2001-07-17 Thread Keiron Liddle
Johannes, If you are going to be using this for a print renderer and you are going to have it in memory why do you want to convert it into a jpeg. In the AWTRenderer it currently renders the svg into a graphic if that would suit you needs. Otherwise you can simply use the batik transcoding

Re: FOP 0.19 with JDK1.1

2001-07-17 Thread Keiron Liddle
On Tue, 17 Jul 2001 13:10:50 Stephen Fry wrote: Is it still possible to run the latest version of FOP with JDK1.1. Currently I am using 0.15 and I need to assess the risks in moving to a newer version. We have done a quick test and it seems that it now has a dependency on batik which

Re: Big success; structural questions

2001-07-18 Thread Keiron Liddle
(where to start?) Currently the svg rendering uses more memory than it should, all the rendering data is written into a StringWriter. -- I think in terms of the structure of FOP: - changing the pdf generation would be a good thing, ie. adding streaming support and linearized support (good for

Re: FOP in a servlet under load

2001-07-18 Thread Keiron Liddle
On Wed, 18 Jul 2001 13:43:07 Jeremias Maerki wrote: This sounds quite like the experiences by Jim Cotugno (See subject Multithreading). Some time ago I did some concurrency tests and it was interesting to see what happened. When multiple conversions occur concurrently FOP seems to align the

Re: userconfig in AIX.

2001-07-18 Thread Keiron Liddle
First of all can you put -d in the command line. THis will show an error dump of what is hapenning. The message that you are getting is printed out if the ConfigurationReader throws a FOPException, ie. any sort of error. So it may be that there is some other problem such as invalid xml, there

Re: FOP in a servlet under load

2001-07-18 Thread Keiron Liddle
On Thu, 19 Jul 2001 03:05:33 Mark Lillywhite wrote: Hi With my changes to FOP I can process tens of thousands of pages of XML:FO in only a few Mb of heap. I have asked for testers but so far noone has responded... this sounds like an ideal environment in which to test, no? The

Re: userconfig in AIX.

2001-07-18 Thread Keiron Liddle
Well thats you problem, its not proper xml. You have to actually cloas of all tags. ie. font-triplet name=gara style=normal weight=normal/ notice the / at the end of the line On Thu, 19 Jul 2001 08:19:10 David Ryan wrote: Thanks for the suggestion. I tried the -d option but it didn't give

Re: optimized pdf

2001-07-20 Thread Keiron Liddle
On Thu, 19 Jul 2001 19:19:25 Darrel Riekhof wrote: We are thinking about using FOP to produce large PDF reports that will be served to web clients. However, the PDF files that FOP produces are not optimized. So, the reader client will have to download the entire PDF file before viewing

todo list

2001-07-20 Thread Keiron Liddle
Hi all, I have create a todo list. I will put this as part of the website (when I can) unless someone beats me to it. Currently it is only text, but will be xml when a suitable format presents itself. This should give some idea of main development concerns, general improvements and possible

Re: back

2001-07-23 Thread Keiron Liddle
On Sun, 22 Jul 2001 12:45:51 Fotis Jannidis wrote: 4) description of the new test suite There is some stuff there so far but more information (and from a different perspective) is always welcome. Please point me to anything else which needs to be changed as soon as possible. There is the

Re: Tables - page spanning

2001-07-23 Thread Keiron Liddle
I have a table that spans multiple pages, unfortunately, FOP appears to only let the table fill have the page before it throws a new page Any ideas greatly recieved Martin Reynolds What version are you using (always useful information). It may be a known problem with a previous

page break - broken

2001-07-25 Thread Keiron Liddle
I have found a problem with page breaks. ie. break-before and break-after. Due to changes in block where it now uses the property manager it no longer handles the page breaks properly. It works if the block is directly under the flow but not for nested blocks. The code in the property manager

Re: Driver class

2001-07-25 Thread Keiron Liddle
On Wed, 25 Jul 2001 16:34:11 Chetan Vig wrote: I had a question on the Driver class which you modified. Is there any particular reason why addPropertyList call in the setupDefaultMappings() method was taken out. I changed this. Why? It doesn't really make sense to have the element

RE: tables in PDF

2001-07-26 Thread Keiron Liddle
On Thu, 26 Jul 2001 11:22:44 Vaidya, Raghavendra (CORP, GEITC) wrote: Hi , I tried the table problem with lates CVS but there is no difference.Following is the XML and XSL I have Please somebody help me Regards Raghavendra Using current CVS I can't see any problem.

Re: pdf from .opf(open ebook package file) file.

2001-07-26 Thread Keiron Liddle
On Thu, 26 Jul 2001 12:25:02 rajeev nair wrote: Hi all, Can anyone help me how i can use .opf(open eBook package file) file for creating .pdf using fop. What are the different steps to follow ? Is their any fop class which take .opf file as input and produce .pdf? FOP only takes XSL:FO as

Re: [GUMP] Build Failure - Fop

2001-07-30 Thread Keiron Liddle
I've tried to work out what the problem with this is without success. The information suggests there is no xalan1 and that xalan2 is present (at least for the first bit). I've tried using the current xalan2 cvs without any problems. Does anyone know what the problem might be? Could it be

Re: file is taking long time to download!

2001-07-30 Thread Keiron Liddle
Is there any chance that the filter is turned off, or set the the one that makes it larger ie. ascii-hex. This is set in the config.xml and the userconfig.xml. On Sat, 28 Jul 2001 03:04:46 Arved Sandstrom wrote: At 10:38 AM 7/27/01 -0400, Chetan Vig wrote: Hi, Yes, I have noticed that

Re: AW: Getting number of rendered pages

2001-07-30 Thread Keiron Liddle
It could be possible to do this using a simple extension to fop. - define you own namespace, with elements and props - put the markup at the end of the document, where it can read the page number - provide some sort of connection with you other code On Mon, 30 Jul 2001 10:28:39 Erik Rehrmann

Re: Getting number of rendered pages

2001-07-30 Thread Keiron Liddle
I new you where going to ask how to do it. So here it is. I have attached a simple example of how to add an extension to fop. This prints out the page that the extension is placed into. To build you will need to add a lib dir and put the necessary libs in. (not there for obvious reasons). There

Re: AW: Getting number of rendered pages

2001-07-30 Thread Keiron Liddle
On Mon, 30 Jul 2001 13:28:58 Jeremias Maerki wrote: THAT's exactly what I was searching for! But unfortunatetly, the Driver.format() in the current cvs versions looks like Do you mean an other class/method ? No, the problem is this: I'm using an older version which still returned the

Re: Problems with different versions of FOP (SVG vs inline-graphics)

2001-08-01 Thread Keiron Liddle
I don't particularly want to give a java lesson (again) but this oddly enough is a CLASSPATH error. ie. fix you classpath. On Tue, 31 Jul 2001 21:05:05 Ed Koster wrote: I've recently upgraded to Fop 19.0. While it now provides inline graphic support, which I need, it broke certain SVG

logging

2001-08-01 Thread Keiron Liddle
Hi all, I've had a quick look at logging and I think it shouldn't be too hard to do using the logkit from avalon. It handles threading and a bunch of other stuff http://jakarta.apache.org/avalon/logkit/whitepaper.html So do others agree that this would be the way to go. I have one question

Re: logging

2001-08-02 Thread Keiron Liddle
On Thu, 02 Aug 2001 08:56:55 Jeremias Maerki wrote: Isn't logging going to be a standard part of JDK 1.4? I thought that was going to be based on IBM's Log4J. Is Avalon's logging based on that? If not, should the 'standard' be considered? IIRC JDK 1.4 logging includes the ability

Re: Linking inside a single pdf file made using fop??

2001-08-06 Thread Keiron Liddle
If you are lookng for any examples of things that are implemented in FOP a good place to start is the docs/examples directory. You are probably looking for something like this example docs/examples/fo/newlinktest.fo it has both internal and external links. On Mon, 06 Aug 2001 12:20:26 rajeev

Re: Reason for delay

2001-08-06 Thread Keiron Liddle
On Mon, 06 Aug 2001 13:17:28 Arved Sandstrom wrote: Hi, all The main sticking point at the moment is the updating of the CHANGES file. I have not yet mustered up the courage to do this. We actually need 2 sets of changes added - 0.18 to 0.19, and 0.19 to 0.20. I have no idea how long

Re: logging

2001-08-06 Thread Keiron Liddle
On Fri, 03 Aug 2001 15:34:26 Daniel Parker wrote: And a good one. I'm not familiar with Velocity or it's particular approach, but the basic idea of separating logging interface from logging implementation is sound. Components such as fop should not require a particular logging

Re: overflow property not working

2001-08-07 Thread Keiron Liddle
Currently this is not implemented, that is the value is read but nothing is done with the overflow that you have set. On Mon, 06 Aug 2001 21:51:56 eric.deandrea wrote: I have a table with 4 columns. One of the cells has text in it that is bigger than the size of the column and the text is

running without batik (was logging)

2001-08-07 Thread Keiron Liddle
This would require the element mappings to handle things a bit better, fairly easy. The other part is to setup some sort of render factory for foreign data handling (in fo:instream-foreign-object and external graphics). This would need a bit of work and time. Another issue might be the size of

Re: linefeed-treatment

2001-08-08 Thread Keiron Liddle
On Wed, 08 Aug 2001 15:12:19 Gregor N. Purdy wrote: Thanks for the reply. So, does that mean that the entry in src/codegen/foproperties.xml should be edited so it doesn't say datatypeToBeImplemented/datatype? If its being handled correctly, then we don't need the message to be printed. If

Re: Keeping list-item-label and list-item-body together update

2001-08-09 Thread Keiron Liddle
On Thu, 09 Aug 2001 03:11:23 Don Wellington wrote: Hi all- I have list-item-label and list-item-body kept together on the same page. I will need a lesson in the etiquette of presenting the changes. Should I send the full class files to this list? Attempt to diff the class files? A

Re: Adding Bookmarks on Fop page......

2001-08-09 Thread Keiron Liddle
if you look on this page you should find what you are looking for: http://xml.apache.org/fop/extensions.html there is also an example in docs/examples/fo/pdfoutline.fo Note: in current cvs this feature is broken On Thu, 09 Aug 2001 07:00:47 sunitha nair wrote: hi all, how can i add book

Regression tests (was Re: Public API Change in Driver)

2001-08-10 Thread Keiron Liddle
On Thu, 09 Aug 2001 17:45:10 Sam Ruby wrote: Steve Coffman wrote: We are very comitted to keeping all FOP and Cocoon releases in sync. When Cocoon changes Xerces and Xalan versions and JDK versions, so does FOP. Cool. By the way, I am monitoring and nagging those projects too on a

Re: Attracting companies to FOP (was: Re: Public API Change in Driver)

2001-08-10 Thread Keiron Liddle
Hi Fopwegian (or should that be Fopocastrian), On Fri, 10 Aug 2001 08:41:54 Mark Lillywhite wrote: Hi fopsians, Also, some 'live' examples of real-world stuff on the FOP page would be good, some enumeration of the benefits of XML:FO and FOP, some ways that FO can be applied to solve real

Re: Regression tests (was Re: Public API Change in Driver)

2001-08-10 Thread Keiron Liddle
On Fri, 10 Aug 2001 13:41:24 Sam Ruby wrote: Some background, so that perhaps you can understand both the depths of my insanity and and what I am looking for. As Arved mentioned, I am on the XML PMC. I am also on the Jakarta PMC. As I mentioned, one thing that drives me batty is projects

Re: Attracting companies to FOP (was: Re: Public API Change in Driver)

2001-08-10 Thread Keiron Liddle
Al, As I mentioned in another email, I have been looking at getting a webstart demo working (batik has one if you want a look). Basically it operates like an applet (except it is a full running application) that is easily run from a web browser. This will use the awt viewer to load .fo files

embedded font problem (was: Re: FOP 0.20.0 Release now available)

2001-08-13 Thread Keiron Liddle
On Mon, 13 Aug 2001 03:27:37 Arved Sandstrom wrote: Confirmed, on all counts: 1) NPE running your 'dsrb2' example, something to do with the lazy font code it looks like; 2) 500 K file for 17 pages with your 'emp' example. I'm not familiar with fonts, so someone else is going to want to

Re: Why some fonts in FontSetup but not others?

2001-08-13 Thread Keiron Liddle
Randall, The particular fonts that are added in FontSetup are all the fonts that are always available to Acrobat Reader. These are fonts that come with acrobat. Other fonts may be avilable to acrobat on your machine (because you havew a particular font installed) but that does not ensure that

Re: Nightly Batik jars and nightly FOP: which jars to use?

2001-08-13 Thread Keiron Liddle
On Sat, 11 Aug 2001 00:43:35 Randall Parker wrote: I want to use the latest nightlies of both FOP and Batik. I see that in the released version of FOP there is just a single consolidated batik.jar. But if one builds the latest nightlies for Batik (or at least 2 nights ago) one sees all

Re: PDFGraphics2D, sanserif, sans-serif, and sansserif

2001-08-13 Thread Keiron Liddle
On Sun, 12 Aug 2001 05:11:09 Randall Parker wrote: In the apache.fop.svg.PDFGraphics2D.java there are the following lines: Font gFont = getFont(); String name = gFont.getName(); if (name.equals(sanserif)) { name = sans-serif; } I do not

Re: PDFGraphics2D seems to be 180 degrees out of phase for rotated text

2001-08-13 Thread Keiron Liddle
On Sun, 12 Aug 2001 05:59:19 Randall Parker wrote: I have a class that draws up rotated text as part of a report preparation. If I call into it with a JPanel's visible Graphics2D object the text that is rotated 90 degrees and 270 degrees is displayed on the screen with the rotations that I

Re: some help in generating from fo to pdf

2001-08-13 Thread Keiron Liddle
The website will have the updated information for the changed api. Give it a couple of days and hopefully it will be updated. but basically yopu need: Driver driver = new Driver(); driver.setRenderer(Driver.RENDER_PDF); InputHandler inputHandler = new XSLTInputHandler(xmlFile, xslFile);

Re: svg probs with 0.19.0

2001-08-14 Thread Keiron Liddle
Steve, With the latest version (0.20.1) I get the same result with the awt previewer and the pdf output. THis means that at least the even-odd problem is fixed. As for the viewBox - I'm not really sure how it should work and applies when embedding inside xsl-fo. If you simply need to change the

Re: Why some fonts in FontSetup but not others?

2001-08-14 Thread Keiron Liddle
On Tue, 14 Aug 2001 00:16:44 Randall Parker wrote: I understand the conservative motivation here. But suppose I'm generating PDFs for an intranet app (as it happens I am) and have complete control over which fonts are on the user machines. Well, in that case I do not want

Re: Release Process Improvements, Versioning etc

2001-08-14 Thread Keiron Liddle
On Tue, 14 Aug 2001 05:27:26 Weiqi Gao wrote: I have not used the testing framework. I tried ./build.sh test once and it threw me some error message. It would be benefitial if the testing frame work can be made to work in a way similar to the make; make check sequence for GNU projects.

Re: Using extra fonts with embedded FOP ?

2001-08-14 Thread Keiron Liddle
On Mon, 13 Aug 2001 17:43:44 [EMAIL PROTECTED] wrote: When using an embedded version of FOP, can I add the fonts to config.xml and rebuild FOP rather than cerating specifying userconfig.xml ? you should only modify the userconfig.xml What options are there to make userconfig.xml known to an

Re: Release Process Improvements, Versioning etc

2001-08-14 Thread Keiron Liddle
On Tue, 14 Aug 2001 00:08:50 Arved Sandstrom wrote: Hi, all I invite everyone to submit ideas as to how we can improve the release process: versioning, builds and testing. It seems like almost everytime a 0.X.0 release comes out, there is almost instantaneously a showstopper bug that

XMLRenderer

2001-08-14 Thread Keiron Liddle
I have a bit of a problem with a change to the XMLRenderer. On line 203 it has: + area.getGeneratedBy() + \); This means that every new run of fop with this renderer will produce a different result (as it puts in the object name which has memory address values). Thereby ruining diffs. can it

Re: XMLRenderer

2001-08-14 Thread Keiron Liddle
Hi Arved, I knew there had to be some reason for it. Looks like a YAS is the way to go. The only xml diff utility I know of is the IBM one, which we can't use (not allowed to distribute). On Tue, 14 Aug 2001 12:43:31 Arved Sandstrom wrote: Hi, Keiron I had it in mind to achieve exactly

Re: Test case for PDFDocumentGraphics2D rotated text problem

2001-08-15 Thread Keiron Liddle
Thanks for the test. I'm really not sure how to fix this. I can make it so that the text is almost in the right position except it is flipped on the horizontal axis (so you'll have to stand on your head to read it:) I think the solution is a bit ugly due to the different coordinate systems.

Re: javax.xml.transform.TransformerException: Unknown error in XPath

2001-08-13 Thread Keiron Liddle
Scott, It would appear to be something to do with importing another stylesheet. in propmaker the problem is (at-this line) from these parts: xsl:import href=elements.xsl/ xsl:attribute name=family this line ---xsl:call-template name=capallxsl:with-param name=str

Re: Prob with xml xsl - pdf vs. xml xsl - fo and fo - pdf

2001-08-15 Thread Keiron Liddle
The problem from the stack trace is due to character data outside the root fo element. I will put a check it to make sure it doesn't get this error. There may be some other problem but I can't tell, hopefully this will work for you when this npe is avoided. On Wed, 15 Aug 2001 11:24:30 [EMAIL

Re: Test case for PDFDocumentGraphics2D rotated text problem

2001-08-15 Thread Keiron Liddle
Randall, On Wed, 15 Aug 2001 17:51:56 Randall Parker wrote: So then Acrobat can draw the text at 45, 135, 225 and 315 degrees? (ie 1:30, 4:30, 7:30, 10:30) I don't see any text at those positions in the textAsShapes=false version. No, I was talking about the font problem, not the position

Re: [Patch] Chapter 15 is now Chapter 18 in XML Bible, Second Edition, ...

2001-08-16 Thread Keiron Liddle
On Thu, 16 Aug 2001 13:35:25 Weiqi Gao wrote: ... and here's a patch to update the link in Resources. fixed. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]

Re: bug in FopServlet

2001-08-16 Thread Keiron Liddle
On Thu, 16 Aug 2001 09:17:10 Alex Greif wrote: Hi, the FopServlet example still uses the Driver.addPropertyList() method. please update the Servlet. I'm running fop 0.20.1 Both the current cvs version (2001/08/10) and the previous version do not have this method. You must somehow have an

Re: Ideas about PDFGraphics2D font handling for True Type to Type 1

2001-08-20 Thread Keiron Liddle
Randall, Maybe we need to have something similar to this class in batik: org.apache.batik.gvt.font.FontFamilyResolver Going a bit further we could make it an option to be able to use any font that java can load (ie. reading the font metrics). On Sun, 19 Aug 2001 23:09:12 Randall Parker

FOP status

2001-08-20 Thread Keiron Liddle
This is the current status of FOP. Improvements in the right areas should make it much easier for people to understand the code without in depth knowledge. For the current aim of FOP, basic conformance, the layout is very important. To keep the product usable for users we need better

Re: Bookmarks

2001-08-21 Thread Keiron Liddle
Chetan, The actual problem is that bookmarks were not implemented for the new stream rendering mechanism. The formatting/layout and rendering is being done differently for the top level elements, ie. bookmarks and pagesequence. The bookmarks were being ignored. I have a fix for the problem,

Re: Problem with API change in fop 0.20.1

2001-08-22 Thread Keiron Liddle
http://xml.apache.org/fop/embedding.html On Wed, 22 Aug 2001 09:35:17 Nestel, Frank wrote: Hello, we've experimenting with fop as an PDF renderer and would like to upgrde to fop0.20. As this is only a part of a larger framework, we used to use the TraX Result Wrappers to pass along our

Re: Problem with API change in fop 0.20.1

2001-08-22 Thread Keiron Liddle
On Wed, 22 Aug 2001 10:20:28 Michel Lehon wrote: Keiron, Could you take a look at the things you did for the logger in driver, it look wierd to me as the _treeBuilder 's logger is only set if a call to setLogger is done, otherwise I get a NullPointerException If you want I can take a look...

Re: Question: Images not from external file, but embedded in xml.

2001-08-24 Thread Keiron Liddle
Christian, The fo:external-graphic can only have data from a url specified in the src element, so unless you somehow make a url to your database you cannot use this element. An alternative would be to use svg. The svg image supports inline data (encoded as base64). On Fri, 24 Aug 2001

Re: Create document properties.

2001-08-24 Thread Keiron Liddle
Juergen, Currently none of those are implemented. The only one that is relevent to the xsl-fo spec is title which is currently not implemented. The other document properties could be done by using an extension similair to the one available for bookmarks. If you are interested in implementing

Layout Redesign

2001-08-30 Thread Keiron Liddle
Hi All, I have written a document describing a possible way that we could implement the layout process (also has some info about user agent). I am hoping for feedback (particularly from those who have looked at the layout - Arved, Karen, Peter and others). It is mostly a description so there

Basic Link

2001-08-30 Thread Keiron Liddle
Basic links that have a destination that will be on a following page are broken. The changes involving the stream renderer do not check to make sure that the links are resolved before rendering the page, or more correctly, the id references don't care about basic links. To fix this someone will

Leader

2001-08-30 Thread Keiron Liddle
The problem with the leader is that the default value for the maximum length (leader-length.maximum) is 100% and the code was reading that value as 0. This resulted in a 0 length leader. - To unsubscribe, e-mail: [EMAIL

Re: [Patch] Re: Fw: hyphenation with table problem

2001-08-31 Thread Keiron Liddle
On Mon, 27 Aug 2001 21:34:41 Enrico Schnepel wrote: Hello Steve, The problem you are running into is known, resolved but not merged into the cvs tree yet. I've already send a diff script which resolves hypenation problems within LineArea to fop-dev one week ago. I've attached the diff

Re: A better shell script for running FOP

2001-08-31 Thread Keiron Liddle
On Wed, 22 Aug 2001 01:38:28 Weiqi Gao wrote: Hi, I have adapted the shell script that Ant uses to run itself into a shell script that can be used to run FOP. I have attached the 'fop' script. This can potentially be a nice replacement for the fop.sh script that FOP currently uses.

  1   2   3   4   5   6   >