mirror of
https://github.com/storytold/gridcraft.git
synced 2026-11-30 10:13:56 +01:00
ODF 1.2 states a default language with fo:script and style:rfc-language-tag (and their -asian/-complex forms) as well as fo:language/fo:country. Without them, locales such as sr-Latn-RS or ca-ES-valencia would lose their script or variant on an ODS round trip, and adding them later would be a breaking model change. ScriptDefault gains `script` and `rfc_language_tag`, both skipped in JSON when unset and counted by is_empty. The `font` doc now says it holds the family name (not a style:font-face name) and that western.font is unused; the "no language" note says zxx is the language and none the country. The test round-trips sr-Latn-RS and fails if is_empty ignores either new field.