You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by Simon Pepping <sp...@leverkruid.eu> on 2010/01/14 12:01:42 UTC

Re: svn commit: r898845 - /xmlgraphics/fop/trunk/test/accessibility/pdf/

On Wed, Jan 13, 2010 at 05:17:03PM -0000, vhennebert@apache.org wrote:
> Author: vhennebert
> Date: Wed Jan 13 17:17:01 2010
> New Revision: 898845
> 
> URL: http://svn.apache.org/viewvc?rev=898845&view=rev
> Log:
> Updated reference accessible PDF files. Old ones had "Apache FOP Version SVN branches/Temp_Accessibility" as Creator and Producer values. New ones have "Apache FOP Version SVN trunk". This was causing spurious differences when testing PDF accessibility.
 
Where is the version property set?

Simon

-- 
Simon Pepping
home page: http://www.leverkruid.eu

Re: svn commit: r898845 - /xmlgraphics/fop/trunk/test/accessibility/pdf/

Posted by Simon Pepping <sp...@leverkruid.eu>.
On Thu, Jan 14, 2010 at 12:11:02PM +0000, Vincent Hennebert wrote:
> Hi Simon,
> 
> > Where is the version property set?
> 
> In FOUserAgent, producer field is set to "Apache FOP Version
> " + Version.getVersion() and returned by the getProducer() method; That
> method is called, among others, in PDFRenderingUtil.setupPDFDocument.
> Something similar is done (I suppose, haven???t checked) for Creator.
> 
> Is that what you asked for?

Indeed, thanks. I was a bit confused because the version in build.xml
is slightly different from that in Version.java (and in your commit
message): svn-trunk vs "SVN trunk". I came to this because I was
thinking about the hopefully upcoming release, and wondered how the
version got set in it.

Simon

-- 
Simon Pepping
home page: http://www.leverkruid.eu

Re: svn commit: r898845 - /xmlgraphics/fop/trunk/test/accessibility/pdf/

Posted by Vincent Hennebert <vh...@gmail.com>.
Hi Simon,

Simon Pepping wrote:
> On Wed, Jan 13, 2010 at 05:17:03PM -0000, vhennebert@apache.org wrote:
>> Author: vhennebert
>> Date: Wed Jan 13 17:17:01 2010
>> New Revision: 898845
>>
>> URL: http://svn.apache.org/viewvc?rev=898845&view=rev
>> Log:
>> Updated reference accessible PDF files. Old ones had "Apache FOP Version SVN branches/Temp_Accessibility" as Creator and Producer values. New ones have "Apache FOP Version SVN trunk". This was causing spurious differences when testing PDF accessibility.
>  
> Where is the version property set?

In FOUserAgent, producer field is set to "Apache FOP Version
" + Version.getVersion() and returned by the getProducer() method; That
method is called, among others, in PDFRenderingUtil.setupPDFDocument.
Something similar is done (I suppose, haven’t checked) for Creator.

Is that what you asked for?

Vincent