mastodon.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
The original server operated by the Mastodon gGmbH non-profit

Administered by:

Server stats:

376K
active users

Matthias Kirschner

Any recommendations to easily add a language attribute to a generated PDF with ? Preferable from the command line. Thank you!

@kirschner

exiftool -Language='Tamil' sample.pdf

Try this

@kirschner Also, although not command line based, @libreoffice automatically sets the attributes when needed provided you select the right one for document, paragraph or selections . I see this using #QPDF's “---raw-stream-data” option.

One thing that might be able to do is try using that same command for #QPDF, spotting where to change stuff (in case there is a specific spot for the change) and seeing how to make a new #PDF from that raw data.

@kirschner To make myself clear, I don't know if the second part is possible (taking raw data to create #PDF with #QPDF).

@libreoffice