Re: What happened to ZapfDingbats?
Scott Moore wrote: I've been using the following construct to create a "bullet" in PDF: l It's worked in 0.20.1, 0.20.2, 0.20.3rc but it doesn't work in FOP 0.20.3. Instead I get a pair of scissors. As a matter of fact, it looks like the whole font (or at least every character I tested) is a pair of scissors. What's the fix for this? There has been a change in in the font enconding after 0.20.3rc (which actually *corrected* the enconding for the symbol fonts :-) Have a look at docs/examples/fo/fonts.fo Thanks, Scott Christian
RE: What is log-1.0b4.jar
Thats ok, i found it. Thanks -Original Message- From: Shaikh, Mehmood [mailto:[EMAIL PROTECTED] Sent: April 26, 2002 1:07 PM To: '[EMAIL PROTECTED]' Subject: What is log-1.0b4.jar Hi, Where can i download source and documentation for whats in log-1.0b4.jar? Is it same as log4j?? Thanks Mehmood
What happened to ZapfDingbats?
I've been using the following construct to create a "bullet" in PDF: l It's worked in 0.20.1, 0.20.2, 0.20.3rc but it doesn't work in FOP 0.20.3. Instead I get a pair of scissors. As a matter of fact, it looks like the whole font (or at least every character I tested) is a pair of scissors. What's the fix for this? Thanks, Scott
What is log-1.0b4.jar
Hi, Where can i download source and documentation for whats in log-1.0b4.jar? Is it same as log4j?? Thanks Mehmood
Re: Is FOP Actively Being Developed?
I believe the problem with the status of the project has to do with how up to date the xml.apache.org fop pages are. It would be nice to get more current information up on the website. This would benefit the current users the most because more individuals would get involved in the project causing the project to move forward faster. Patrick Lanphier The Artemis Group http://www.artemisgroup.com phone: 814-235-0444 fax: 800-582-9710 On Fri, 26 Apr 2002, Keiron Liddle wrote: > Hi L Rutker, > > Of course this is happening. Anyone who has read the XSL-FO specification > would know about half of the problems we are facing. > I suspect what you are really asking is for noticeable signs of progress > for the user. All I can say is that this will happen when it is possible. > > As a rough guess for the development release I think it will take about > 320 hours of work involving core knowledge plus another roughly 320 hours > of non-core functionality. How this relates to people and dates is > unknown. (these estimates could be way off, I would need to break it down > further and monitor progress to get a better idea) > > Regards, > Keiron Liddle. > > > On 2002.04.25 22:32 L Rutker wrote: > > I know there is a supposed refactoring/rewriting going on for FOP. > > > > Is this really happening? > > Does anyone know of target dates? > > > > Thanks >
Re: page count
Henrik, Your .fo file is an XML document. So, you need to write an XSL that can rewrite the .fo document with some minor changes. Lets say you follow my suggestion and your first XSL generates an .fo with 1234 in those spots where you want the page total. (. . . hm that is a tough problem isn't it?) OK. You have to then render the document using FOP because FOP is the only thing that's going to know how many pages are rendered. You'll have to capture the total number of pages from FOP using that Java variable which I saw referred to in a post about 3 weeks ago (anyone?) and then rewrite the .fo using an XSL like this. Passing in the value for the number of pages as a parameter to your stylesheet. I use saxon and the command line is something like saxon -o output.fo input.fo rewrite.xsl TotalPages=24 There's a Java interface on most XSL processors that allow you to do the same thing. (Or, you could dynamically generate this XSL with the number of pages embedded) version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; xmlns:fo="http://www.w3.org/1999/XSL/Format"; exclude-result-prefixes="fo"> Chuck Paussa Henrik Holle wrote: can you please explain me how to count the page in a fo with an xslt? >-Ursprungliche Nachricht- >Von: Chuck Paussa [mailto:[EMAIL PROTECTED] >Henrik, > >There is no way to do what you want in FO in one pass. What you'll need to do is generate the fo: document with some marked up place holders in it. Something like . Then run that document through an XSLT transformation that adds up the total number of pages and replaces those special blocks with the information you want. (You'll see this technique referred to in the archives as "Making a second pass" over the document.) You can then use FOP to generate the output you want. > >Chuck > > > Henrik Holle wrote: > > > > I have various page-sequences in my document: > > > > > > > > but at the end of the document i need to count the whole pages of all page-sequences. > > > > !! does not work! > > -Ursprungliche Nachricht- > > Von: Ian Taylor [mailto:[EMAIL PROTECTED] > > > > I put this in my > > > > Page no: ofwhere the last block in the document looks like this > > > > Ian > > At 12:54 PM 4/24/2002 +0200, you wrote: > > > > Hello, > > > > I want to write something like "page x of y" where y is the number of pages in my document. "x" is generated by "" but how do I get "y"?? > > > > Harald
Re: Fop in UNIX or Linux
Hi, don't know about S.O Unix (are you talking about SCO?), but if you have problems with pathnames, try putting your true-type font, your userconfig.xml and everything, where your xml/xsl/fo resides and drop the pathnames at all. markus -Ursprüngliche Nachricht- Von: Carlos Daniel Schafer <[EMAIL PROTECTED]> An: Fop-Dev (Correo electrónico) ; Fop-User (Correo electrónico) <[EMAIL PROTECTED]> Datum: Freitag, 26. April 2002 14:56 Betreff: Fop in UNIX or Linux >Hi, all > >I have generated a file XML with descritpions by the fonts specials >(barcode, arial, etc.), but I have put into S.O. UNIX or Linux. >In a the file xml, I have declarated into a file the next sentences. > > embed-file="c:\winnt\fonts\I2OF5NT.ttf"> > > > > >But, I have the problem with embed-file="c:\winnt\fonts\I2OF5NT.ttf", >I don't understand with the sentences embed-file when I used in S.O. Unix. >Where I put this file (.ttf) into Unix or Linux. > >
PFM file?
Hi all I need know what it this? I work in S.O. Unix, but I don't know it this?
Fop in UNIX or Linux
Hi, all I have generated a file XML with descritpions by the fonts specials (barcode, arial, etc.), but I have put into S.O. UNIX or Linux. In a the file xml, I have declarated into a file the next sentences. But, I have the problem with embed-file="c:\winnt\fonts\I2OF5NT.ttf", I don't understand with the sentences embed-file when I used in S.O. Unix. Where I put this file (.ttf) into Unix or Linux.
Re: Spaces and precedence
Hi. Here is the (pruned) FO I get as an result of my xsl transformation. What I wanted to do was suppress additional space between two headlines that directly follow each other. 7.Leistungsspektrum 7.1 Einzelplatzscanner Block one := A Block two := B My understanding of the spec: A and B are stackable areas, have no borders or padding and are not reference-areas (block-progression-direction inherited from parent, no indents specified). A and B have a block stacking constraint S according to rule 3a. in chapter 4.2.5 Space Resolution: S1 := space-after="20pt" precedence="1 S2 := space-before="50pt" precedence="2" S'' := S1 and S2 In this case: S' == S'' because S'' does not contain line-area traits. The resolved space-specifier S would suppress S1 because it has a lower precedence than S2 (point 3 in 4.3.1). Do I get that right? FOP would not suppress anything and just add all spaces. TIA! Ralf
Re: Is FOP Actively Being Developed?
Hi L Rutker, Of course this is happening. Anyone who has read the XSL-FO specification would know about half of the problems we are facing. I suspect what you are really asking is for noticeable signs of progress for the user. All I can say is that this will happen when it is possible. As a rough guess for the development release I think it will take about 320 hours of work involving core knowledge plus another roughly 320 hours of non-core functionality. How this relates to people and dates is unknown. (these estimates could be way off, I would need to break it down further and monitor progress to get a better idea) Regards, Keiron Liddle. On 2002.04.25 22:32 L Rutker wrote: I know there is a supposed refactoring/rewriting going on for FOP. Is this really happening? Does anyone know of target dates? Thanks
Re: block question in multi columns area
Thank you Arved :) In the case of arbitrary contents on a cocoon plateform, it would be very very interesting to equilibrate the bloks, mine are small because of the carriage return : it's not confortable to make blocks just to simulate carriage return. I'm not enough confortable with this project, to help you, but I would like to help the french community, by translating a part of the documentation. Sincerly Xavier DAMAY Arved Sandstrom wrote: Hi, Xavier Part of this I can speak about...when I put in an algorithm for column rebalancing (the "equilibration" you refer to, on other words) it was very crude, really nothing more than a placeholder. I meant to go back to it but never did, and as far as I know no one else has ever put in a better one. Your blocks have very little content, so it may not look like they break across columns. But that they already do. It's just that the break is not quite in the right place. I'll take a quick look and see if we can't do somewhat better than what we have at the moment. Regards, Arved Sandstrom -Original Message- From: Xavier DAMAY [mailto:[EMAIL PROTECTED] Sent: April 25, 2002 11:05 AM To: [EMAIL PROTECTED] Subject: block question in multi columns area Hello, I've got a presentation problem, when i use the block below in a two column body region. * I would like to equilibrate the two columns : Is it possible to force fop to cut a block to do that ? * I use blocks to simulate carriage return : Is there another solution ? * In the first sub-block (Le temps), I would like to place this piece of text lower than it does. It's placed in the top of the blue box, and I would like to place it in the middle. *I would like to have an italic and bold piece of text : what's the corresponding font-style ? LE TEMPS Bla bla bla bla Bla bla bla bla Bla bla bla bla Bla bla bla bla I thank you for your help ! Xavier DAMAY
UTF-16 NOT supported
(B (B (BHi, (B (BYesterday I posted a (Bquestion regarding Fop not recognizing the root node of my FO doc. (BThe problem was with the encoding. (B (BSo, if anyone is using the MSXML (B4 parser, remember it encodes UTF-16 by default. (B
Re: Is there any alternative to the "Keep-together" property
OK, THANKS The attributes keepwith-previous & keep whith next works well in a table ! Waiting for it work within fo:block Stéphane - Original Message - From: "Nestel, Frank ISC 6" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, April 25, 2002 4:27 PM Subject: Re: Is there any alternative to the "Keep-together" property In some cases one can work around that problem by putting your content into tables, since these attributes work for table-rows. At least some of these attributes, I think e.g. keep-with-next. But in other circumstances (i.e. certain problems with multicolumn layout) there is now workaround as far as I know (and we've been searching desparately). We're also looking forward to see those attributes actually work on blocks. Frank -Ursprüngliche Nachricht- Von: Stéphane REYNIER [mailto:[EMAIL PROTECTED] Gesendet am: Donnerstag, 25. April 2002 15:40 An: Mailing list FOP Betreff: Is there any alternative to the "Keep-together" property As we all know, the following properties still don't work with fop 0.20.3: keep-together keep-with-previous keep-with-next Is there any solution to do it another way ? Does someone know when will these functions be implemented in FOP ? Thank you Stéphane
Re: Re: page count
can you please explain me how to count the page in a fo with an xslt? -Ursprungliche Nachricht- Von: Chuck Paussa [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 25. April 2002 17:03 An: [EMAIL PROTECTED] Betreff: Re: AW: page count Henrik, There is no way to do what you want in FO in one pass. What you'll need to do is generate the fo: document with some marked up place holders in it. Something like . Then run that document through an XSLT transformation that adds up the total number of pages and replaces those special blocks with the information you want. (You'll see this technique referred to in the archives as "Making a second pass" over the document.) You can then use FOP to generate the output you want. Chuck > Henrik Holle wrote: > > I have various page-sequences in my document: > > > > but at the end of the document i need to count the whole pages of all page-sequences. > > !! does not work! > -Ursprungliche Nachricht- > Von: Ian Taylor [mailto:[EMAIL PROTECTED] > Betreff: Re: page count > > I put this in my > > Page no: of where the last block in the document looks like this > > Ian > At 12:54 PM 4/24/2002 +0200, you wrote: > > Hello, > > I want to write something like "page x of y" where y is the number of pages in my document. "x" is generated by "" but how do I get "y"?? > > Harald
Re: Possible thread-safe issue with fonts
It sounds like it is a threading problem. Do you get any messages like: "Failed to read font metrics file ... " It would appear that two threads could be reading the font metrics file at the same time. Accessing the file is done through the parser so we don't know what it is actually doing and it depends on the parser. I think each time it is a new data set in memory so it probably is not that. On 2002.04.26 08:17 Chris Warr wrote: Hi, I'm running cocoon 2.1dev under tomcat 4.04b2 with JDK 1.3 and FOP 0.20.3. My cocoon app is generating a PDF using FOP. I use and embed a font in my generated PDF file with the following in my userconfig file: This all works fine and dandy under normal usage, I get the dynamo font embedded in my PDF and all is well. However if I run a load test (20 concurrent processes) on the same app. I get the following error appear in my tomcat log files: 2002-04-26 15:25:20 ERROR (2002-04-26) 15:25.20:375 [fop ] (/cocoon/invoice.pdf) HttpProcessor[80][11]/MessageHandler: unknown font dynamo,normal,normal so defaulted font to any Not for every hit, but for some. So I'm guessing that there is some sort of problem with resource sharing. That is, could FOP not be thread safe as far as accessing this file? Or if the file is loaded into memory once, could there be multi-threading issues with reading from wherever it is stored in memory? Anyone got any ideas? Chris.
external image scales to large
hi, i simply embedd larger jpg images using the "external-image", but all my images scale wrong. It neiter works with the awt-viewer, nor in pdf.
Possible thread-safe issue with fonts
Hi, I'm running cocoon 2.1dev under tomcat 4.04b2 with JDK 1.3 and FOP 0.20.3. My cocoon app is generating a PDF using FOP. I use and embed a font in my generated PDF file with the following in my userconfig file: This all works fine and dandy under normal usage, I get the dynamo font embedded in my PDF and all is well. However if I run a load test (20 concurrent processes) on the same app. I get the following error appear in my tomcat log files: 2002-04-26 15:25:20 ERROR (2002-04-26) 15:25.20:375 [fop ] (/cocoon/invoice.pdf) HttpProcessor[80][11]/MessageHandler: unknown font dynamo,normal,normal so defaulted font to any Not for every hit, but for some. So I'm guessing that there is some sort of problem with resource sharing. That is, could FOP not be thread safe as far as accessing this file? Or if the file is loaded into memory once, could there be multi-threading issues with reading from wherever it is stored in memory? Anyone got any ideas? Chris.
Re: Spaces and precedence
Joerg, This is one of the more complex areas of the spec. It took me some time to work out what it was all for. Arved directed me to an innocuous little statement near the top of 4.2.5 Stacking Constraints. "The intention of the definitions is to identify areas at any level of the tree which have only space between them." The trouble is, that to make sense of all that follows, and of the term "stacking constraint", you need to have read the introduction in 4.3 Spaces and Conditionality, especially in its use of the term "constraint". I find that thinking of "stacking constraint" as "spaces interaction" or "spaces stacking interaction" clarifies the discussion for me. That's why fences are not defined between siblings (the spaces are outside the padding/borders of each sibling, and so are free to interact), but are defined between a child and the sibling of its parent (because non-zero padding/border on the parent will prevent interaction between the spaces of the child and the parent's sibling.) Similar considerations apply to reference areas. I am preparing some notes at the moment on data structures that may be useful for both space specifier and keep resolution, based on the notes I posted a few days ago concerning the relationships between blocks, of which keep processing needed to be aware. I hope to post them in the next few days, with the diagrams that help to make sense of all this. Peter Arved Sandstrom wrote: Joerg, it's the diagrams that accompany Section 4.2.5 that make things halfway understandable. They have an diagrammed example of each clause. There are also some key statements in the first paragraph of 4.2.5 - namely, that the definitions are recursive, and, that the entire point of the definitions is to identify areas that have only spaces between them. So actually I was also half-incorrect, because I spoke too hastily; with respect to the situation with _siblings_ and their space-after/space-before, the borders & padding do _not_ have to have zero width. Even where borders and padding have non-zero width they may have a conditionality of "discard", in which case under certain conditions they look like they have zero width for space-resolution purposes.
RE: block question in multi columns area
Hi, Xavier Part of this I can speak about...when I put in an algorithm for column rebalancing (the "equilibration" you refer to, on other words) it was very crude, really nothing more than a placeholder. I meant to go back to it but never did, and as far as I know no one else has ever put in a better one. Your blocks have very little content, so it may not look like they break across columns. But that they already do. It's just that the break is not quite in the right place. I'll take a quick look and see if we can't do somewhat better than what we have at the moment. Regards, Arved Sandstrom > -Original Message- > From: Xavier DAMAY [mailto:[EMAIL PROTECTED] > Sent: April 25, 2002 11:05 AM > To: [EMAIL PROTECTED] > Subject: block question in multi columns area > > Hello, > > I've got a presentation problem, when i use the block below in a two > column body region. > * I would like to equilibrate the two columns : Is it possible to force > fop to cut a block to do that ? > > * I use blocks to simulate carriage return : Is there another solution ? > > * In the first sub-block (Le temps), I would like to place this piece of > text lower than it does. It's placed in the top of the blue box, and I > would like to place it in the middle. > > *I would like to have an italic and bold piece of text : what's the > corresponding font-style ? > line-height="14pt" space-after.optimum="3pt" text-align="justify" > background-color="white" span="none"> > color="white" font-size="20"> >LE TEMPS > > > Bla bla bla bla > > > Bla bla bla bla > > > Bla bla bla bla > > > Bla bla bla bla > > > > I thank you for your help ! > > > Xavier DAMAY > >