Hi, If you just want to convert html to PDF, this is a FAQ entry in FOP site (see [1]).
If you want to have a specific layout for PDF output, you'll probably need to write a XSLT to convert your xml (or xhtml) source in XSL-FO. [1] http://xmlgraphics.apache.org/fop/faq.html#xhtml-to-pdf2 Happy new year! Pascal > -----Message d'origine----- > De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Envoyé : vendredi 29 décembre 2006 06:25 > > Hi, > Thanks for your kind response. Yes, previously, I used > Courier new font in the xml file but as courier new font can > not be used for multilingual PDF generation support > (japanese, chinese) , therefore I am using Arial Unicode > font. I tried with Arial Unicode font in the xml as well as > in the xsl file. The problem now is that I am not getting the > proper layout in the generated PDF document. Please let me > know what changes I might have to do in the xsl file so that > I get the proper layout in PDF. > > Thanks > "Pascal Sancho" > 28/12/2006 06:44 PM > > > Re-Hi, > After reading your xml file, I see a regular html file, not a > generic xml file. > In this file, you use a fixed width font (Courier). > In you XSL-FO, you want to use the 'Arial Unicode', witch is > a proportional width font, that is why you get a different layout. > > If you want a similar result, you should use a fixed width > font ('Courier' > or the generic family 'monospace'). > If you want unicode + monospace fonts, you should visit: [1], > [2], [3], or [4] [1] http://www.wazu.jp/index.html [2] > http://savannah.nongnu.org/projects/freefont/ > [3] http://www.math.utah.edu/~beebe/fonts/postscript-type-1-fonts.html > [4] http://www.alanwood.net/unicode/fonts.html > > HTH, > > Sorry for the noise with my previous message Pascal > > > > -----Message d'origine----- > > De : Murali Paladugu [mailto:[EMAIL PROTECTED] > > Envoyé : jeudi 28 décembre 2006 10:05 > > > > Hi, > > I am using fop-0.91 beta version for generating of reports in PDF > > format where i should also support multiple languages(Chinese , > > Japanese etc). The font I am using is Arial Unicode > truetype font. I > > have to create the PDF in Simple A4 size from an XML file > and I have > > specified the page layout attributes and font in the xsl > file as under > > - > > (...) > > > The problem is if I try to create PDF documents which contains > > multiple pages then I am not getting the proper page layouts.I am > > sending the xml, xsl and the generated PDF files in the attachment. > > > > > > Please reply me on this mail id : [EMAIL PROTECTED] > > > > Thanks in advance > > Chandan --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
