Re: Simplifying the configuration file
On Oct 24, 2005, at 16:10, Jeremias Maerki wrote: I'm currently documenting the new configuration layout. I must say it feels a little awkward right now. Does anybody mind if I simplify it a little in the following way? Not at all. +1 Cheers, Andreas
Re: Simplifying the configuration file
Looks like welcome changes to me! (although I believe dpi is really 'dots per inch' instead of dots per pixel) +1 On Oct 24, 2005, at 7:10 AM, Jeremias Maerki wrote: I'm currently documenting the new configuration layout. I must say it feels a little awkward right now. Does anybody mind if I simplify it a little in the following way? Old: fop version=1.0 base url=.// !-- pixel to millimeter to specify dpi, 72dpi -- pixelToMillimeter value=0.3528/ pagesettings !-- default page-height and page-width, in case value is specified as auto -- pageHeight value=11in/ pageWidth value=8.26in/ /pagesettings New: fop version=1.0 !-- Base URL for resolving relative URLs -- base.//base !-- Internal resolution in dpi (dots per pixel), default: 72dpi -- resolution72/resolution !-- default page-height and page-width, in case value is specified as auto -- default-page-settings height=11in width=8.26in/ I think no mortal prefers pixelToMillimeter over a resolution value in dpi. The value can easily converted to pixelToMillimeter internally. Jeremias Maerki Regards, 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: Simplifying the configuration file
It is a matter of taste if one uses base url=.// or base.//base. Either is OK with me, but I do not like seeing it going backward and forward. Anyway, I suggest base-url.//base-url. Giving the resolution in dpi is much better. Simon On Mon, Oct 24, 2005 at 04:10:46PM +0200, Jeremias Maerki wrote: I'm currently documenting the new configuration layout. I must say it feels a little awkward right now. Does anybody mind if I simplify it a little in the following way? Old: fop version=1.0 base url=.// !-- pixel to millimeter to specify dpi, 72dpi -- pixelToMillimeter value=0.3528/ pagesettings !-- default page-height and page-width, in case value is specified as auto -- pageHeight value=11in/ pageWidth value=8.26in/ /pagesettings New: fop version=1.0 !-- Base URL for resolving relative URLs -- base.//base !-- Internal resolution in dpi (dots per pixel), default: 72dpi -- resolution72/resolution !-- default page-height and page-width, in case value is specified as auto -- default-page-settings height=11in width=8.26in/ I think no mortal prefers pixelToMillimeter over a resolution value in dpi. The value can easily converted to pixelToMillimeter internally. Jeremias Maerki -- Simon Pepping home page: http://www.leverkruid.nl