Skip to content

Commit 8dd0718

Browse files
committed
[css-fonts-4] Added generic(khmer-mul) #10036
1 parent d404287 commit 8dd0718

File tree

2 files changed

+31
-1
lines changed

2 files changed

+31
-1
lines changed

css-fonts-4/Overview.bs

+31-1
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ Syntax of <<generic-family>>
376376

377377
<pre class=prod>
378378
<dfn><<generic-family>></dfn> = <<generic-script-specific>>| <<generic-complete>> | <<generic-incomplete>>
379-
<dfn><<generic-script-specific>></dfn> = ''generic(kai)'' | ''generic(fangsong)'' | ''generic(nastaliq)''
379+
<dfn><<generic-script-specific>></dfn> = ''generic(fangsong)'' | ''generic(kai)'' | ''generic(khmer-mul)'' | ''generic(nastaliq)''
380380
<dfn><<generic-complete>></dfn> = ''serif'' | ''sans-serif'' | ''system-ui'' | ''cursive'' | ''fantasy'' | ''math'' | ''monospace''
381381
<dfn><<generic-incomplete>></dfn> = ''ui-serif'' | ''ui-sans-serif'' | ''ui-monospace'' | ''ui-rounded''
382382
</pre>
@@ -668,6 +668,36 @@ Generic font families</h4>
668668
</figure>
669669
</dd>
670670

671+
<dt id="generic(khmer-mul)-def"><dfn>generic(khmer-mul)</dfn>
672+
<dd>
673+
This font family is used in
674+
the Khmer language (used in Cambodia),
675+
for titles and headings,
676+
or to emphasise important names or nouns.
677+
Compared to the upright (âksâr chôr) style,
678+
which is used for regular text,
679+
âksâr mul is characterized by
680+
heavier, more rounded letter shapes,
681+
and may include more ligated forms.
682+
683+
Despite the visually heavier style,
684+
the font weight for regular text in
685+
''generic(khmer-mul)'' is unchanged (400).
686+
687+
Note: ''generic(khmer-mul)'' might not map to
688+
any locally installed font,
689+
but if it does, that font will be in âksâr mul style.
690+
691+
<figure>
692+
<img style="width:30vw" alt="" src="images/vi-tu-comparison.png">
693+
<figcaption>Cambodian text displayed in:
694+
(top) âksâr chôr style, set in Chantrea UI, by Sovichet Tep;
695+
(center) âksâr mul style, set in Khmer OS Moul, by Dan Hong, with no ligatures;
696+
(bottom) âksâr mul style, set in Khmer Moul, by pen sokha, with a ligature.
697+
</figcaption>
698+
</figure>
699+
</dd>
700+
671701
<dt id="generic(nastaliq)-def"><dfn>generic(nastaliq)</dfn>
672702
<dd>
673703
This font family is the standard way of writing Urdu and Kashmiri,
55.3 KB
Loading

0 commit comments

Comments
 (0)