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.35277777777777777778"/>
>   <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 -->
>   <resolution>72</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

Reply via email to