You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

README 1.7KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. This directory contains sample FO files for testing the accessibility features
  2. of FOP.
  3. Every FO file in this directory has a corresponding PDF file in the pdf/
  4. sub-directory. The fop.xconf configuration file was used.
  5. The PDF files have been checked with Adobe Acrobat Professional 9, using both
  6. the full accessibility checker and the read-aloud feature. The checker reports
  7. no error /and/ the entire document can be read aloud.
  8. !! DO NOT MODIFY THOSE FILES, NEITHER THE FO NOR THE PDF !!
  9. ... Or at least, know what you are doing
  10. If the FO files are modified, the resulting PDFs must be checked again, both
  11. with the checker and the read-aloud feature. (Sometimes the checker reports no
  12. problem yet part or all of the document cannot be read aloud.)
  13. The purpose of this infrastructure is to be able to quickly re-test the
  14. accessibility processing chain when any change has been made to it. The
  15. configuration file disables the compression of the PDF streams, so it is
  16. possible to compare a re-generated PDF with the original one by using a simple
  17. diff tool. The files will not be identical because of the different creation
  18. dates (and the ID key in the trailer), but apart from that there should be no
  19. difference.
  20. The rationale is that using a diff tool is much quicker and less tedious than
  21. running Acrobat's accessibility checker and read-aloud feature every time.
  22. To re-generate the PDF files:
  23. ../../fop -c fop.xconf text_1.fo pdf/text_1.new.pdf
  24. diff pdf/text_1_painter.pdf pdf/text_1.new.pdf
  25. Or, going through the intermediate format:
  26. ../../fop -c fop.xconf text_1.fo -if application/pdf text_1_if.xml
  27. ../../fop -c fop.xconf -ifin text_1_if.xml pdf/text_1.new.pdf
  28. diff pdf/text_1.pdf pdf/text_1.new.pdf
  29. $Id$