[xep-support] ENABLE_ACCESSIBILITY resulting in huge file...

Kevin Brown kevin at renderx.com
Wed Sep 1 11:46:11 PDT 2010


Paul:

 

Enabling Tagged PDF through Accessibility has the effect of embedding
essentially the XPATH to every element in the PDF on every object. This is
the "tagged" part.

 

If you were to examine the XEP Intermediate Format, you can get an idea of
this:

 

Without ...

 

<xep:text value="Rewards:" x="108584" y="514977" width="51618"/>

 

With ...

 

<xep:text value="Rewards:" x="108584" y="514977" width="51618"
xpath="/*[1][name()=&apos;root&apos;]/*[3][name()=&apos;page-sequence&apos;]
/*[2][name()=&apos;flow&apos;]/*[2][name()=&apos;block-container&apos;]/*[1]
[name()=&apos;block&apos;]/*[1][name()=&apos;inline&apos;]"/>



The xpath information must be embedded into the PDF to understand structure
from the source as this is the requirement of 508. Thus, it significantly
increases the size of the PDF as the xpath itself is much larger that the
content (in this case, just the word "Rewards:". This is especially true
when it comes to tabular structures -- you may have
root->page-sequence->flow->block-container->block->table->table-body->table-
row->table-cell->block->inline ... for each and every cell (and if you nest
tables ..... think of it).

 

Kevin Brown

RenderX

 

From: owner-xep-support at renderx.com [mailto:owner-xep-support at renderx.com]
On Behalf Of Harvey, Paul
Sent: Wednesday, September 01, 2010 2:05 PM
To: xep-support at renderx.com
Subject: [xep-support] ENABLE_ACCESSIBILITY resulting in huge file...

 

Hi,

 

I am trying to create a "508-compliant" PDF file using RenderX (4.17) by
setting the ENABLE_ACCESSIBILITY option in xep.xml to "true".  For the
document in question this increases the file size from 167K to 1009K.  If
COMPRESS is set to "false", the file size increases further, to 1563K.

 

I'd like to know if there's a way to avoid the large file size.

 

Thanks,

 

Paul

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.renderx.com/pipermail/xep-support/attachments/20100901/02c7be8b/attachment.html>


More information about the Xep-support mailing list