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

Reply via email to