On 4/4/19 1:23 PM, Hans Hagen wrote:
On 3/17/2019 4:41 PM, Pablo Rodriguez wrote:
- The /Filespec lacks association with the PDF document or any of its parts, such as pages (https://github.com/veraPDF/veraPDF-validation-profiles/wiki/PDFA-Parts-2-and...).
From https://www.pdfa.org/wp-content/uploads/2018/10/PDF20_AN002-AF.pdf, it seems that either the /Catalog or a /Page dictionary (there are other ones, but I would limit attachments in ConTeXt to those two [if not to the /Catalog itself only]) should contain an /AF entry with the reference to the /Filespec object(s). I assume that the value type for the /AF entry is an array of one or multiple object references.
this is tricky one as some viewers then can end up with duplicate entries in side bars and/or funny scaling of the attachment symbol (at least that is what i remember when looking into it).
If I’m getting it right, only when at least one /Filespec object is used, either the /Catalog or the /Page dictionaries should have the /AF entry. When not used (when only the /EmbeddedFile is deployed), there should be no /AF in any dictionary. Just in case my explanation is clearer, Pablo -- http://www.ousia.tk