DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42144>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42144





------- Additional Comments From [EMAIL PROTECTED]  2007-04-18 05:50 -------
Thanks for the patch. It will take a little time until I can look into it in 
detail.

One thing caught my eye: Why do you define an extension element to set the
document title? There's a "title" value in the FOUserAgent you can use. I'd
prefer if we reused existing functionality if possible, especially in cases
where different output formats support the same things. Of course, you obviously
want to set the title through the FO document. IMO, this should be done through
XMP metadata. The PDFRenderer already listens to the XMP metadata object and
populates its Info object accordingly. The PSRenderer could easily do the same.
The FO would look like this:
  [..]
  <fo:declarations>
    <x:xmpmeta xmlns:x="adobe:ns:meta/">
      <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#";>
        <rdf:Description rdf:about="" 
xmlns:dc="http://purl.org/dc/elements/1.1/";>
          <dc:title>My document title</dc:title>
        </rdf:Description>
      </rdf:RDF>
    </x:xmpmeta>
  </fo:declarations>
  [..]

Granted, this is a little more complicated than your approach but it's based on
a standard and there would be no special facility just for PostScript.

More later when I've had time to look into the details.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Reply via email to