
On 7/18/25 18:24, Arthur Rosendahl wrote:
[…] In an ideal world, I would of course agree with you that we should follow the recommendation of the “source standards” of BCP 47 (ISOs 639, 3166 and 15924, in particular). However, I know from experience that Hans is more likely to listen to advice that tells him to put everything in lowercase ;-) so in a sense, it does hurt to put country codes in uppercase or script codes in title case.
Many thanks for your reply, Arthur. In theory, I totally agree with you (and practically, I don’t have anything against your sound reasoning [besides being the one checking that particular piece of tagging]). It is practice what makes me give some warnings (I’m afraid). In late 2023, Hans announced digital signatures in ConTeXt (OpenSSL doing the crypto part). I started checking them six months later (and about a year ago). I had a persistent issue: even if the signed PDF document was perfectly valid by the Arlington PDF model, Acrobat Reader wasn’t able to display the signature and prompted for saving the document (secretly removing it). It was a real problem, since it was extremely easy to loose a signed PDF document and the most common PDF viewer wasn’t displaying the signature. It turned out `/SigFlags 3` was missing in the `/Catalog/AcroForm` dictionary (to specify that de document contained at least a single signature, in order to both display the signature field panel and save only by append to the document [incremental updates]). https://opensource.adobe.com/dc-acrobat-sdk-docs/pdfstandards/PDF32000_2008.... makes it clear that this is optional. This doesn’t seem to have been modified in PDF-2.x. Of course, as I got in one reply, `/SigFlags` in an already signed PDF document was only an implementation choice. But our only option was to get signatures displayed and keep them in their documents. That being said, although I tend to think that the case recomendations in BCP 47 might improve readability, I’m totally indifferent to cases in language codes (as long as they work). Best wishes, Pablo