Good news: Jeremias has been elected as an ASF member!
Hi FOP people, I have the great pleasure to announce that Jeremias Maerki has been elected as an ASF member at the last member's meeting during ApacheCon. I'm sure you will agree that this is well deserved, given all the energy that Jeremias has been pouring tirelessly in FOP, Batik, the XML federation and probably many things here that I don't know about. /me happy ;-) -Bertrand smime.p7s Description: S/MIME cryptographic signature
Re: Good news: Jeremias has been elected as an ASF member!
Bertrand Delacretaz wrote: Hi FOP people, I have the great pleasure to announce that Jeremias Maerki has been elected as an ASF member at the last member's meeting during ApacheCon. Congratulations Jeremias! I'm sure you will agree that this is well deserved, given all the energy that Jeremias has been pouring tirelessly in FOP, Batik, the XML federation and probably many things here that I don't know about. ++1 Christian
Re: Good news: Jeremias has been elected as an ASF member!
Christian Geisert wrote: Bertrand Delacretaz wrote: Hi FOP people, I have the great pleasure to announce that Jeremias Maerki has been elected as an ASF member at the last member's meeting during ApacheCon. This is good news indeed for both Jeremias and the FOP project! Chris
Re: Good news: Jeremias has been elected as an ASF member!
Congratulations Jeremias. Well deserved. Peter Bertrand Delacretaz wrote: Hi FOP people, I have the great pleasure to announce that Jeremias Maerki has been elected as an ASF member at the last member's meeting during ApacheCon. I'm sure you will agree that this is well deserved, given all the energy that Jeremias has been pouring tirelessly in FOP, Batik, the XML federation and probably many things here that I don't know about. /me happy ;-) -Bertrand
Re: Good news: Jeremias has been elected as an ASF member!
Yes, Jeremias has been serving FOP for four years now! [1][2] (I think it's time for us to give him a raise also... ;) Congrats Jeremias! [1] Earliest emails: http://marc.theaimsgroup.com/?a=9723805961r=1w=2 [2] First email (perhaps): http://marc.theaimsgroup.com/?l=fop-devm=97238032303320w=2 Glen --- Bertrand Delacretaz [EMAIL PROTECTED] wrote: Hi FOP people, I have the great pleasure to announce that Jeremias Maerki has been elected as an ASF member at the last member's meeting during ApacheCon. I'm sure you will agree that this is well deserved, given all the energy that Jeremias has been pouring tirelessly in FOP, Batik, the XML federation and probably many things here that I don't know about. /me happy ;-) -Bertrand ATTACHMENT part 2 application/pkcs7-signature name=smime.p7s
RE: Good news: Jeremias has been elected as an ASF member!
Bertrand Delacretaz wrote: I have the great pleasure to announce that Jeremias Maerki has been elected as an ASF member at the last member's meeting during ApacheCon. I'm sure you will agree that this is well deserved, given all the energy that Jeremias has been pouring tirelessly in FOP, Batik, the XML federation and probably many things here that I don't know about. Congratulations to Jeremias, the ASF, and FOP! Victor Mote
Re: Printing PDF on the client default printer.
This is how I did it.. 1) I used a invisible signed applet within the jsp page which renders the screen. 2) The user selects the documents to be printed and passes this info to the applet. 3) The applet take this info and calls a servlet which creates the corresponding XMLs. 4) The XSLTHandler within the applet then renders the pdf to the default printer on the client side. The XSLT input handler takes in the XSD and the created XML as its parameter during instanciation.. Sorry to be short as i am busy here but can get in detail if reqd.. Thanks Manoj Charles Ohana [EMAIL PROTECTED]To: [EMAIL PROTECTED] rp.com cc: Subject: Re: Printing PDF on the client default printer. 11/30/2004 12:19 PM Please respond to fop-dev wow!!! sounds great... Where can we get that ??? Thanx. - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Tuesday, November 30, 2004 9:02 AM Subject: Printing PDF on the client default printer. Just wanted everyone to know that I have successfully implemented client side printing using FOP Eg: If the XML file gets created on the webserver which is located in Los Angeles and the user in London, then the XML is converted to PDF and the PDF file is printed on the clients default printer in London. Thanks Manoj -Forwarded by Manoj Nair/LA/SPE on 11/30/2004 09:00AM - To: [EMAIL PROTECTED] From: [EMAIL PROTECTED] Date: 10/21/2004 10:13AM Subject: Printing PDF on the client default printer. ** I had posted this in the fop-user group and the responses indicated that there is no way this can be implemented currently. Just wanted an opinion from the fop-dev crowd. Thanks ** My requirement is to render an XML as a PDF and then print the PDF on the clients default printer. I dont want the PDF to prompt user to open the acrobat reader. I already have an applet on the client side which uses PrinterJob class to popup the printer selection box on client side. Now how do I redirect the content from server to this printer? Should I use Driver.RENDER_PRINT / Driver.RENDER_PCL set in the fop driver renderer ? and what content type should the response object return? Thanks Manoj PS: I have successfully use the FopPrinter example ( FopPrintServlet ) to print pdfs on the app servers default printer but what I need is to be able to print on the clients default printer and not on servers printer.
Re: Knuth linebreaking questions
On Tue, Nov 30, 2004 at 07:27:29PM +0100, Luca Furini wrote: Finn Bock wrote: 3) What is the reasoning for doing hyphenation only after threshold=1 fails. Naive common sense tells me that if the user specify hyphenation we should do hyphenation before finding line breaks. Finding hyphenation points is time-expansive (all words must be hyphenated, not only the ones near a line's end), the sequence of elements becomes longer, there are more feasible breaking points, and a line ending with a - is less beautiful; so I thought that if a set of breaking points could be find without hyphenation. I just took the hyphenate property as a suggestion instead of an order! :-) This is the practice in TeX too. It may be considered as a satisfactory implementation of hyphenate=true: Take hyphenation into account, when your line layout algorithm considers it a better solution to hyphenate these lines. This algorithm does not think it necessary to try hyphenation when there is a non-hyphenated solution with an amount of demerits below a certain threshold. Note that in TeX such thresholds are user-adjustable parameters. I think they should eventually be so in FOP too, for those of us who have the most exquisite taste of line layout. Note that the same algorithm with the same threshold could find a different set of breaking points with and without hyphenation, because the elements are different. Without hyphenation, spaces could need a little higher adjustment, for example. 4) I've compared your code to tex_wrap http://oedipus.sourceforge.net/texlib/ and the main difference is in the way new KnuthNodes are added to the active list. Is the BestRecords part of Knuth or is it your own invention? Why is it only fitness_class'es in BestRecord that is higher then minDemerits + incompatibleFitnessDemerit that is added to activeList? Why not all fitness_class'es in BestRecords? At the moment I don't have the book at hand, but I am quite sure it's *not* an invention of mine! :-) As far as I can remember, the Knuth book uses 4 different variables, named C1, ... C4 :-( (or maybe D or A, anyway not a very self-documenting name!) and I just created this structure to store them. The algorithm distinguishes four classes of lines: tight, normal, loose, very loose. When two consecutive lines are not of the same or of two adjacent classes, it gives a penalty of incompatibleFitnessDemerit. If the line of class i leading to breakpoint b does not have an amount of demerits best.getDemerits(i) which is less than the minimum demerits of all four classes (there is one best line of each class leading to breakpoint b), best.getMinDemerits(), plus incompatibleFitnessDemerit, it can never be selected. The optimization omits it from the list of best breakpoints. Knuth mentions that it saves him 25% of executions of his loop, in his computational experiments. Regards, Simon -- Simon Pepping home page: http://www.leverkruid.nl
Re: Knuth linebreaking questions
Finn Bock wrote: 3) What is the reasoning for doing hyphenation only after threshold=1 fails. Naive common sense tells me that if the user specify hyphenation we should do hyphenation before finding line breaks. The purpose of professional typography and layout is to assist the reader: provide an easy reading with minimal distractions. Typographic concepts reflect this. Justified text makes it easier to identify paragraphs. Unfortunately, long words may cause word spaces to be stretched into large white blobs which disrupt reading. Hyphenation is essential to cut down on space allocated for text justification, especially for languages which can form arbitrary long compound words. Hyphenation has of course it's own drawback: words are mostly identified by the letters at the beginning and the end, and hyphenation disrupts this. Several lines ending in hyphenated words may also cause the reader to pick up the wrong continuation line (that's the reason for having the hyphenation-ladder-count property). This tradeoff between using hyphenation in order to avoid visual artefacts and having lots of hyphenated words disrupting the flow has to be balanced. J.Pietschmann
Re: Good news: Jeremias has been elected as an ASF member!
On Wed, Dec 01, 2004 at 11:48:27AM +0100, Bertrand Delacretaz wrote: Hi FOP people, I have the great pleasure to announce that Jeremias Maerki has been elected as an ASF member at the last member's meeting during ApacheCon. I'm sure you will agree that this is well deserved, given all the energy that Jeremias has been pouring tirelessly in FOP, Batik, the XML federation and probably many things here that I don't know about. Congratulations, Jeremias, and thank you for your efforts. Simon -- Simon Pepping home page: http://www.leverkruid.nl
Re: Knuth linebreaking questions
1) What is the purpose of 2 glues for a normal space in END and START alignment: new KnuthGlue(0, 3 * wordSpaceIPD.opt, 0, , false)); new KnuthPenalty(0, 0, false, , true)); new KnuthGlue(wordSpaceIPD.opt, - 3 * wordSpaceIPD.opt, 0, , true)); [Luca Furini] The purpose is to give each line (but the last one) the same stretchability, regardless of the number of spaces in it. If the penalty is not used (there is no line ending there) the overall effect of the 2 glues is a 0 stretchability and does not modify the line total; if the penalty is used (a line ends there) then the stretchability of the previous glue is added to the line total, which becomes 3 * wordSpaceIPD.opt because the previous space, as said before, added 0 (the following glue is suppressed). In justified text, a line with many spaces can be adjusted in order to be much shorter, or much longer. If left-aligned text used the same elements, the algorithm would find the same breaking points; but this time adjustment ratios are not used, so a line with many spaces would be too much longer, or too much shorter, than the other lines. Using these elements, the algorithm creates lines whose unadjusted width is quite the same. Ok, thank you for the explanation. I'm still not sure why it would be ok to ignore any user specified min and max values of 'word-spacing' during START and END alignment. If a user specifies a length range, what would the reason be for not using it? Perhaps with additional DEFAULT_SPACE_WIDTH. And why not adjust the spacing within the user specified min/max for START and END alignment? 3) What is the reasoning for doing hyphenation only after threshold=1 fails. Naive common sense tells me that if the user specify hyphenation we should do hyphenation before finding line breaks. Finding hyphenation points is time-expansive (all words must be hyphenated, not only the ones near a line's end), the sequence of elements becomes longer, there are more feasible breaking points, and a line ending with a - is less beautiful; so I thought that if a set of breaking points could be find without hyphenation. I just took the hyphenate property as a suggestion instead of an order! :-) Note that the same algorithm with the same threshold could find a different set of breaking points with and without hyphenation, because the elements are different. Without hyphenation, spaces could need a little higher adjustment, for example. Ok, performance is indeed a fine reason, but IMHO such quality vs. speed tradeoffs should eventually be made by the user rather than us. Thank you for taking the time to explain it all in such great detail. regards, finn
Re: Good news: Jeremias has been elected as an ASF member!
On Dec 1, 2004, at 2:48 AM, Bertrand Delacretaz wrote: Hi FOP people, I have the great pleasure to announce that Jeremias Maerki has been elected as an ASF member at the last member's meeting during ApacheCon. Congratulations Jeremias! And to ASF as well! Jeremias is a hard-worker, and ASF is fortunate to have him as a member. I'm sure you will agree that this is well deserved, given all the energy that Jeremias has been pouring tirelessly in FOP, Batik, the XML federation and probably many things here that I don't know about. /me happy ;-) -Bertrand +! Web Maestro Clay -- [EMAIL PROTECTED] - http://homepage.mac.com/webmaestro/ My religion is simple. My religion is kindness. - HH The 14th Dalai Lama of Tibet
Re: Unnecessary zipping and backups?
On Nov 25, 2004, at 2:56 AM, Christian Geisert wrote: The Web Maestro wrote: [..] On a similar note, I am 'contemplating' committing the xml-fop/build/ folder ('built' by apache-forrest-0.6). My reasoning for this is two-fold: 1. it contains the FOP web site (which I've spent a significant amount of time to re-create). The generated website should actually be commited to the xml-site repository (targets/fop) and the live site updated from there. Sorry, no more time right now (hopefully I'll get some this evening) Christian I'm having trouble setting this up in CVS. Can you give me more info on how you would set this up? I've got a working COMMITTERs connection to CVS, but I can't seem to make it work. Once I have it set up I'll need to figure out how to transfer from targets/fop/ to /www/xml.apache.org/fop/. Web Maestro Clay -- [EMAIL PROTECTED] - http://homepage.mac.com/webmaestro/ My religion is simple. My religion is kindness. - HH The 14th Dalai Lama of Tibet