ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* PDF forms not creating proper children
@ 2021-04-23 19:50 Leonard Janis Robert König
  2021-05-01 22:20 ` Adam Reviczky
  0 siblings, 1 reply; 13+ messages in thread
From: Leonard Janis Robert König @ 2021-04-23 19:50 UTC (permalink / raw)
  To: ntg-context

Hello,

I currently try to build a document with AcroForms, e.g., the examples
from [1] also linked in the Wiki.  The most recent example is in the
form/ subdirectory and dated mid 2020.  However, when building the
file(s) with my ConTeXt distribution the file created is broken, in
comparison to the PDF checked in into the Git.

The more obvious difference is that the PDF in the repository can be
filled in the Firefox 89 beta, while the other PDF doesn't even display
the fields as forms.  Running pdfinfo also yields:

> Syntax Error: Form field child is not a dictionary

I suspect that due to some breakage the forms children aren't set in
the AcroForms dictionary anymore?  My ConTeXt versions are:

# ArchLinux Repos

context --version
mtx-context     | ConTeXt Process Management 1.04
mtx-context     |
mtx-context     | main context file: /usr/share/texmf-
dist/tex/context/base/mkiv/context.mkiv
mtx-context     | current version: 2021.03.05 19:11
mtx-context     | main context file: /usr/share/texmf-
dist/tex/context/base/mkxl/context.mkxl
mtx-context     | current version: 2021.03.05 19:11

# Debian Buster Repos
mtx-context     | ConTeXt Process Management 1.02
mtx-context     |
mtx-context     | main context file:
/usr/share/texmf/tex/context/base/mkiv/context.mkiv
mtx-context     | current version: 2018.04.04 00:51

# Docker Image: Current

mtx-context     | ConTeXt Process Management 1.03
mtx-context     |
mtx-context     | main context file: /context/tex/texmf-
context/tex/context/base/mkiv/context.mkiv
mtx-context     | current version: 2020.01.30 14:13
mtx-context     | main context file: /context/tex/texmf-
context/tex/context/base/mkiv/context.mkxl
mtx-context     | current version: 2020.01.30 14:13

# Docker Image: Beta
mtx-context     | ConTeXt Process Management 1.03
mtx-context     |
mtx-context     | main context file: /context/tex/texmf-
context/tex/context/base/mkiv/context.mkiv
mtx-context     | current version: 2020.01.30 14:13
mtx-context     | main context file: /context/tex/texmf-
context/tex/context/base/mkiv/context.mkxl
mtx-context     | current version: 2020.01.30 14:13

# Docker Image: LMTX
mtx-context     | ConTeXt Process Management 1.04
mtx-context     |
mtx-context     | main context file: /context/tex/texmf-
context/tex/context/base/mkiv/context.mkiv
mtx-context     | current version: 2021.04.14 22:58
mtx-context     | main context file: /context/tex/texmf-
context/tex/context/base/mkxl/context.mkxl
mtx-context     | current version: 2021.04.14 22:58

# Docker Image: Beta from 2019-09
mtx-context     | ConTeXt Process Management 1.03
mtx-context     |
mtx-context     | main context file: /context/tex/texmf-
context/tex/context/base/mkiv/context.mkiv
mtx-context     | current version: 2019.09.10 20:03
mtx-context     | main context file: /context/tex/texmf-
context/tex/context/base/mkiv/context.mkxl
mtx-context     | current version: 2019.09.10 20:03

The ConTeXt version of the checked in file on GitHub is (according to
pdfinfo):

> Creator:        LuaTeX 1.10 7138 + ConTeXt MkIV 2019.08.20 17:20
> Producer:       macOS Version 10.14.6 (Build 18G5033) Quartz
PDFContext

I also remebered another time were I toyed around with it and indeed
that PDF also had broken form field children:


> Creator:        LuaTeX 1.12 7306 + ConTeXt MkIV 2020.03.10 14:44
> Producer:       LuaTeX-1.12

A broken version that I built locally using the :current IslandOfTeX
[2] can be found at [3].

The version difference between the broken and not-broken PDFs hints
that the breakage occured between 2019.08.20 and 2019.09.10-beta, while
the Debian breackage might be due to a backport(?)

Alternatively, this could just be a mistake on my side?

Cheers
Leo König


[1]: https://github.com/fiee/ConTeXt
[2]: https://gitlab.com/islandoftex/images/context/
[3]:
https://mega.nz/file/ThcghTqb#JqRCSsd59bBbMgTMr3ahaPdU4LPlZd0cpA3ZFBJLJ3A



___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2021-06-09 15:05 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-23 19:50 PDF forms not creating proper children Leonard Janis Robert König
2021-05-01 22:20 ` Adam Reviczky
2021-05-02 16:48   ` Pablo Rodriguez
2021-05-02 18:16     ` Adam Reviczky
2021-06-07 20:43       ` Leonard Janis Robert König
2021-06-08 15:41         ` Pablo Rodriguez
2021-06-08 21:07           ` Leonard Janis Robert König
2021-06-08 22:29             ` Adam Reviczky
2021-06-09 10:28               ` Leonard Janis Robert König
2021-06-09 14:42                 ` Pablo Rodriguez
2021-06-09 14:41             ` Pablo Rodriguez
2021-06-09 14:56               ` Leonard Janis Robert König
2021-06-09 15:05               ` Taco Hoekwater

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).