https://bugs.freedesktop.org/show_bug.cgi?id=67866
Mike Kaganski <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |NOTABUG --- Comment #1 from Mike Kaganski <[email protected]> --- According to ISO 32000-1:2008 Document management -- Portable document format -- Part 1: PDF 1.7, section 14.9.2 Natural Language Specification: "The natural language used for text in a document shall be determined in a hierarchical fashion, based on whether an optional Lang entry (PDF 1.4) is present in any of several possible locations. At the highest level, the document’s default language (which applies to both text strings and text within content streams) may be specified by a Lang entry in the document catalogue (see 7.7.2, “Document Catalog”). Below this, the language may be specified for the following items: •Structure elements of any type (see 14.7.2, “Structure Hierarchy”), through a Lang entry in the structure element dictionary. •Marked-content sequences that are not in the structure hierarchy (see 14.6, “Marked Content”), through a Lang entry in a property list attached to the marked-content sequence with a Span tag." The document in LO, AFAICT, doesn't have the "default language" (though a specific LO configuration does have default language - but this is a GUI concept). Instead, different parts of the document have their own languages. It may happen that the whole document has one language, but generally, this is not the case. Thus, it is not always possible to determine "document language" that should be put into PDF document catalogue (which is displayed in the UI). But please note that there's no requirement that each hierarchy level be set. If you open the LO-generated tagged PDF in a plain text editor, you may see that there are entries for distinct elements like "/Lang(pt-BR)" or "/Lang(ru-RU)". So a screen reader has the necessary information when reading a section. I close this as NOTABUG, but if you feel that it is incorrect, please reopen it with comment why you feel so. Possibly it could be an enhancement request to fill the highest-level Lang entry (in document catalogue) when there's only one language in the document. -- You are receiving this mail because: You are the assignee for the bug.
_______________________________________________ Libreoffice-bugs mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
