mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-18 12:27:37 +00:00
The writer passed no language to craft-pdf, so exported and printed PDFs had no /Lang and accessibility checkers failed primary-language. Writer::new now passes the BCP 47 tag of the Document Setup language (new vectorcraft_doc::setup::language_tag, en-US by default) through write::Writer::new_with_language, which writes the catalog's /Lang and the XMP dc:language. A language with no tag writes none. /MarkInfo is left for tagged PDF (#3643).