https://bugs.documentfoundation.org/show_bug.cgi?id=151215

--- Comment #19 from Mike Kaganski <[email protected]> ---
I happened to come across the MS theme implementation on OOXML.

The "Font Scheme" description provides two "Font Collections" (major and minor,
used for headings and body text, resp.).

ECMA-376 Part 1 (2016), L.4.3.2.5 Major and Minor Font (Font Collection):

> A font collection consists of a font definition for Latin, East Asian, and
> complex script. On top of these three definitions, one can also define a font
> for use in a specific language or languages.

The example of a random OOXML markup in a DOCX (from word/theme/theme1.xml)
looks like this:

            <a:minorFont>
                <a:latin typeface="Calibri" panose="020F0502020204030204"/>
                <a:ea typeface=""/>
                <a:cs typeface=""/>
                <a:font script="Jpan" typeface="游明朝"/>
                <a:font script="Hang" typeface="맑은 고딕"/>
                <a:font script="Hans" typeface="等线"/>
                <a:font script="Hant" typeface="新細明體"/>
                <a:font script="Arab" typeface="Arial"/>
                <a:font script="Hebr" typeface="Arial"/>
                <a:font script="Thai" typeface="Cordia New"/>
                <a:font script="Ethi" typeface="Nyala"/>
                <a:font script="Beng" typeface="Vrinda"/>
                <a:font script="Gujr" typeface="Shruti"/>
                <a:font script="Khmr" typeface="DaunPenh"/>
                <a:font script="Knda" typeface="Tunga"/>
                <a:font script="Guru" typeface="Raavi"/>
                <a:font script="Cans" typeface="Euphemia"/>
                <a:font script="Cher" typeface="Plantagenet Cherokee"/>
                <a:font script="Yiii" typeface="Microsoft Yi Baiti"/>
                <a:font script="Tibt" typeface="Microsoft Himalaya"/>
                <a:font script="Thaa" typeface="MV Boli"/>
                <a:font script="Deva" typeface="Mangal"/>
                <a:font script="Telu" typeface="Gautami"/>
                <a:font script="Taml" typeface="Latha"/>
                <a:font script="Syrc" typeface="Estrangelo Edessa"/>
                <a:font script="Orya" typeface="Kalinga"/>
                <a:font script="Mlym" typeface="Kartika"/>
                <a:font script="Laoo" typeface="DokChampa"/>
                <a:font script="Sinh" typeface="Iskoola Pota"/>
                <a:font script="Mong" typeface="Mongolian Baiti"/>
                <a:font script="Viet" typeface="Arial"/>
                <a:font script="Uigh" typeface="Microsoft Uighur"/>
                <a:font script="Geor" typeface="Sylfaen"/>
                <a:font script="Armn" typeface="Arial"/>
                <a:font script="Bugi" typeface="Leelawadee UI"/>
                <a:font script="Bopo" typeface="Microsoft JhengHei"/>
                <a:font script="Java" typeface="Javanese Text"/>
                <a:font script="Lisu" typeface="Segoe UI"/>
                <a:font script="Mymr" typeface="Myanmar Text"/>
                <a:font script="Nkoo" typeface="Ebrima"/>
                <a:font script="Olck" typeface="Nirmala UI"/>
                <a:font script="Osma" typeface="Ebrima"/>
                <a:font script="Phag" typeface="Phagspa"/>
                <a:font script="Syrn" typeface="Estrangelo Edessa"/>
                <a:font script="Syrj" typeface="Estrangelo Edessa"/>
                <a:font script="Syre" typeface="Estrangelo Edessa"/>
                <a:font script="Sora" typeface="Nirmala UI"/>
                <a:font script="Tale" typeface="Microsoft Tai Le"/>
                <a:font script="Talu" typeface="Microsoft New Tai Lue"/>
                <a:font script="Tfng" typeface="Ebrima"/>
            </a:minorFont>

Look how MS already realized that the font should be bound to a *language*, and
the three "groups" are just a compatibility artifact.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to