From: DESEYNE Jacques (Jacques.DESEYNE@swift.com)
Date: Fri Sep 10 2004 - 01:35:25 PDT
RenderX cuts off string values specified for the 'keywords' meta-field at 255 characters. I guess it happens for the other
meta-fields as well and quite appropriate IMO, as the PDF Spec 1.3 (Appendix H3, Implementation Notes) specifies in Note 94 "Acrobat
viewers impose a limit of 255 bytes on any string appearing as a value in the document information dictionary".
Although Acrobat 6.0 allows you to edit the value (making it, say, 1000 characters long will activate the scroll bar), when you save
and re-open the PDF the 'keywords' value will be cut off again at 255 characters.
As far as I read the PDF spec correctly (Table 8.2 in PDF 1.3), there is only one 'Keywords' entry.
These specifications can be found at http://partners.adobe.com/asn/tech/pdf/specifications.jsp
-- Jacques Deseyne >-----Original Message----- >From: firstname.lastname@example.org >[mailto:email@example.com] On Behalf Of Paul A. Hoadley >Sent: Friday, September 10, 2004 8:13 AM >To: firstname.lastname@example.org >Subject: [xep-support] Behaviour of 'rx:meta-field name="keywords"' > >Hello, > >I have a (DocBook) document which contains quite a few 'keyword' >elements. The current DocBook XSL stylesheets collect the text values >in these elements, and insert them as a comma-separated list into an >'rx:meta-field name="keywords"' element. No surprises so far. > >In this particular document, there are about twenty keywords. When I >open the "Document Properties" window on the PDF using Acrobat 6.0.2, >I get a comma-separated list in the "Keywords" text area, but the list >is truncated and trails off with "...". There is a scroll bar on the >right hand side of the text area, but it is not active---this last >observation makes me wonder whether XEP is inserting a giant >comma-separated list into a single PDF "keyword" field, when, in fact, >it should be inserting each keyword into separate fields. I do not >know whether this is the case, though---I just don't know enough about >the PDF format itself. > >If the PDF format does allow this, it would seem appropriate to allow >multiple 'rx:meta-field name="keywords"' elements, and have each >provide a single keyword for the PDF. (Currently, XEP seems to ignore >all but the last.) The DocBook XSL stylesheets would need about two >lines of code altered to conform to this behaviour. If the PDF format >_doesn't_ allow for this, I wonder why that text field has a scroll >bar. :-) > > >-- >Paul. > >w http://logicsquad.net/ >h http://paul.hoadley.name/ >
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to email@example.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html
This archive was generated by hypermail 2.1.5 : Fri Sep 10 2004 - 01:52:28 PDT