FOP Rendering Output Support for PPT
Hello: Is MS-Powerpoint (PPT) as an output rendering option available? I guess not, in that case, is there any plan to support such an output format in near future? Would you pleas highlight your thoughts? Regards, Debasish Jana - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: PNG renderer - does fop supporting fonts
Olivier, You have to use system fonts with the png renderer http://xmlgraphics.apache.org/fop/0.92/output.html#general-fonts ... Most FOP renderers use a FOP-specific system for font registration. However, the Java2D/AWT and print renderers use the Java AWT package, which gets its font information from the operating system registration. This can result in several differences, including actually using different fonts, and having different font metrics for the same font. The net effect is that the layout of a given FO document can be quite different between renderers that do not use the same font information. ... Peter -Original Message- From: Olivier Mansour [mailto:[EMAIL PROTECTED] Sent: Friday, November 03, 2006 12:59 PM To: fop-users@xmlgraphics.apache.org Subject: PNG renderer - does fop supporting fonts Hey In my conf file I have those lines renderer mime=image/png fonts !-- font triplet : they are working well with the pdf renderer -- /fonts /renderer but FOP is ignoring my fonts when I run it : Font 'Arial, normal, 400' not found, Substituting with default font and so on ... An idea ? Thank you Olivier -- Olivier Mansour http://www.clever-age.com Clever Age Lyon - conseil en architecture technique GSM: +33 6 11 03 23 77 Tél: +33 4 78 89 46 45 Clever Age vous invite à ses petits déjeuners du Jeudi http://www.clever-age.com/actualites/petits-dejeuners/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: PNG renderer - does fop supporting fonts
Le 3 nov. 06 à 12:58, Olivier Mansour a écrit : Hey In my conf file I have those lines renderer mime=image/png fonts !-- font triplet : they are working well with the pdf renderer -- /fonts /renderer but FOP is ignoring my fonts when I run it : Font 'Arial, normal, 400' not found, Substituting with default font and so on ... I am using fop 0.92 An idea ? Thank you Olivier -- Olivier Mansour http://www.clever-age.com Clever Age Lyon - conseil en architecture technique GSM: +33 6 11 03 23 77 Tél: +33 4 78 89 46 45 Clever Age vous invite à ses petits déjeuners du Jeudi http://www.clever-age.com/actualites/petits-dejeuners/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Olivier Mansour http://www.clever-age.com Clever Age Lyon - conseil en architecture technique GSM: +33 6 11 03 23 77 Tél: +33 4 78 89 46 45 Clever Age vous invite à ses petits déjeuners du Jeudi http://www.clever-age.com/actualites/petits-dejeuners/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: PNG renderer - does fop supporting fonts
Le 3 nov. 06 à 13:02, Peter a écrit : Olivier, You have to use system fonts with the png renderer do you know how to add your own ttf fonts on Debian ? http://xmlgraphics.apache.org/fop/0.92/output.html#general-fonts ... Most FOP renderers use a FOP-specific system for font registration. However, the Java2D/AWT and print renderers use the Java AWT package, which gets its font information from the operating system registration. This can result in several differences, including actually using different fonts, and having different font metrics for the same font. The net effect is that the layout of a given FO document can be quite different between renderers that do not use the same font information. ... Peter -Original Message- From: Olivier Mansour [mailto:[EMAIL PROTECTED] Sent: Friday, November 03, 2006 12:59 PM To: fop-users@xmlgraphics.apache.org Subject: PNG renderer - does fop supporting fonts Hey In my conf file I have those lines renderer mime=image/png fonts !-- font triplet : they are working well with the pdf renderer -- /fonts /renderer but FOP is ignoring my fonts when I run it : Font 'Arial, normal, 400' not found, Substituting with default font and so on ... An idea ? Thank you Olivier -- Olivier Mansour http://www.clever-age.com Clever Age Lyon - conseil en architecture technique GSM: +33 6 11 03 23 77 Tél: +33 4 78 89 46 45 Clever Age vous invite à ses petits déjeuners du Jeudi http://www.clever-age.com/actualites/petits-dejeuners/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: fop-users- [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Olivier Mansour http://www.clever-age.com Clever Age Lyon - conseil en architecture technique GSM: +33 6 11 03 23 77 Tél: +33 4 78 89 46 45 Clever Age vous invite à ses petits déjeuners du Jeudi http://www.clever-age.com/actualites/petits-dejeuners/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: PNG renderer - does fop supporting fonts
Le 3 nov. 06 à 13:02, Peter a écrit : Olivier, You have to use system fonts with the png renderer regarding to http://www.mail-archive.com/fop- [EMAIL PROTECTED]/msg04834.html do I have to use fop-trunk ? http://xmlgraphics.apache.org/fop/0.92/output.html#general-fonts ... Most FOP renderers use a FOP-specific system for font registration. However, the Java2D/AWT and print renderers use the Java AWT package, which gets its font information from the operating system registration. This can result in several differences, including actually using different fonts, and having different font metrics for the same font. The net effect is that the layout of a given FO document can be quite different between renderers that do not use the same font information. ... Peter -Original Message- From: Olivier Mansour [mailto:[EMAIL PROTECTED] Sent: Friday, November 03, 2006 12:59 PM To: fop-users@xmlgraphics.apache.org Subject: PNG renderer - does fop supporting fonts Hey In my conf file I have those lines renderer mime=image/png fonts !-- font triplet : they are working well with the pdf renderer -- /fonts /renderer but FOP is ignoring my fonts when I run it : Font 'Arial, normal, 400' not found, Substituting with default font and so on ... An idea ? Thank you Olivier -- Olivier Mansour http://www.clever-age.com Clever Age Lyon - conseil en architecture technique GSM: +33 6 11 03 23 77 Tél: +33 4 78 89 46 45 Clever Age vous invite à ses petits déjeuners du Jeudi http://www.clever-age.com/actualites/petits-dejeuners/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: fop-users- [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Olivier Mansour http://www.clever-age.com Clever Age Lyon - conseil en architecture technique GSM: +33 6 11 03 23 77 Tél: +33 4 78 89 46 45 Clever Age vous invite à ses petits déjeuners du Jeudi http://www.clever-age.com/actualites/petits-dejeuners/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
fop doesn't like imagemagick'd pngs?
Hello, I am trying to add a script to our pre-processing regimen that uses the imagemagick tools to automatically resize images that are too large for the PDFs we generate eg: convert -resize ${NEW_WIDTH}x $FILE $FILE for files that are too wide. After resizing a file it looks fine when viewed in any image viewer. However, when included in a fop'd xslfo file the version in the pdf looks... strange, like a bad photocopy. I've attached an unchanged and a resized image for the adventurous. Try including them both in a document and see if you get the same result. From everything I can tell, the resized image is a normal png, but if I perform the same resize in eg Gimp, the resulting file looks a little fuzzy in the pdf but is otherwise fine. So obviously ImageMagick is doing something to the png that other viewers are ok with, but not fop. On a probably related note, look how much bigger the imagemagick'd file is than the original (27k vs 1b, in case this list strips attachments)! Does anyone have any insight into what's going on here? I'm on FC6 using fop-0.91beta-2 and ImageMagick-6.2.8.0 if that's relevant. --Brad test-orig.png Description: PNG image test-resized.png Description: PNG image - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: FOP Rendering Output Support for PPT
Debasish Jana wrote: Is MS-Powerpoint (PPT) as an output rendering option available? I guess not, in that case, is there any plan to support such an output format in near future? Would you pleas highlight your thoughts? The MS-Powerpoint native binary format is somewhat difficult to generate, I don't think it will get on the list, ever. The XML variant - maybe. In either case: what's wrong with using PDF, given that FO is all about non-dynamic content anyway? If you want to give live presentations in full screen mode, you should probably check out SlideML. J.Pietschmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]