https://bugs.documentfoundation.org/show_bug.cgi?id=142359
--- Comment #10 from bunkem <[email protected]> --- Hi @devseppala, The way I read the pg 611, it appears there are two different situations and so two ways the lang can be tagged in the text in a document. Please note the standard says "may" be specified. *"the language may be specified for the following items"* So I'm not sure if it is missing in Acrobat. It could be that LO has implemented only the one situation of the standard??? If I got the right section here is what I base this on. Clipped below. **by me** > Natural language **may** be specified for text in a document or for optional > content. > > 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. > NOTE 1 - Although Span is also a standard structure type, as described under > 14.8.4.4, “Inline-Level Structure Elements,” its use here is entirely > independent of logical structure. > NOTE 2 - The natural language used for optional content allows content to be > hidden or revealed, based on the Langentry (PDF 1.5) in the Language > dictionary of an optional content usage dictionary. > NOTE 3 - The following sub-clauses provide details on the value of the Lang > entry and the hierarchical manner in which the language for text in a > document is determined. > > Text strings encoded in Unicode may include an escape sequence or language > tag indicating the language of the text and overriding the prevailing Lang > entry (see 7.9.2.2, “Text String Type”). Please confirm I'm looking at the right section. Then I'll have a look at your docs. -- You are receiving this mail because: You are the assignee for the bug.
