[css-fonts-4] Add support for Mul generic font family
Categories
(Core :: Layout: Text and Fonts, enhancement)
Tracking
()
People
(Reporter: xfq, Unassigned)
Details
Steps to reproduce:
Use generic(mul) in CSS font-family.
Actual results:
Mul fonts are not applied.
Expected results:
Modern Khmer has several distinct styles of font, each of which is used for different purposes. The round style (អក្សរមូល /ʔɑːksɑː muːl/) has heavier, more rounded letter shapes, and includes more ligated forms. It is commonly used for titles and headings in Cambodian documents, books, or currency, as well as on shop signs or banners. It may also be used to emphasise important names or nouns. The regular font weight looks like bolded text in comparison to the upright font style.
Authors using a Mul font in their text should be able to indicate that any font fallback picks a Mul font, rather than a random Khmer font. Otherwise, the distinctions between certain types of text on a page may be lost.
More:
Tests & results
<i>Interactive test</i>, font-family:generic(mul) will apply a Mul font in Khmer
Comment 1•1 month ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Layout: Text and Fonts' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Comment 2•28 days ago
|
||
The link to Cambodian (Khmer) Orthography Notes/Font styles should point to https://r12a.github.io/scripts/khmr/km.html#writingstyles
The link to "Khmer system fonts" should point to https://r12a.github.io/scripts/fontlist/index.html?script=khmr#mool
The link to the interactive test should be https://github.com/w3c/glyph_character_tests/issues/1
(In reply to Fuqiao Xue [:xfq] from comment #0)
Steps to reproduce:
Use generic(mul) in CSS font-family.
That is incorrect. The actual standardized name, from CSS Fonts 4, is 'generic(khmer-mul)'
https://www.w3.org/TR/css-fonts-4/#valdef-font-family-generic-khmer-mul
Tests & results
<i>Interactive test</i>, font-family:generic(mul) will apply a Mul font in Khmer
That test should be updated to use the correct syntax.
Description
•