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.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



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

Reply via email to