Skip to content

Commit 78cbe41

Browse files
committed
[css-fonts-4] Add more generics samples #8128
1 parent c5fc542 commit 78cbe41

File tree

3 files changed

+14
-2
lines changed

3 files changed

+14
-2
lines changed

css-fonts-4/Overview.bs

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -629,6 +629,11 @@ Generic font families</h4>
629629
Note: ''generic(fangsong)'' might not map to any locally installed font,
630630
but if it does, that font will be in Fang Song style.
631631

632+
<figure>
633+
<img style="width:75vw" alt="" src="images/fangsong.svg">
634+
<figcaption>Chinese text displayed with sample fang song fonts</figcaption>
635+
</figure>
636+
632637
<dt id="generic(kai)-def"><dfn>generic(kai)</dfn>
633638
<dd>
634639
This font family is used in
@@ -644,6 +649,11 @@ Generic font families</h4>
644649

645650
Note: ''generic(kai)'' might not map to any locally installed font,
646651
but if it does, that font will be in Kai style.
652+
653+
<figure>
654+
<img style="width:75vw" alt="" src="images/kaiti.svg">
655+
<figcaption>Chinese text displayed with sample kai fonts</figcaption>
656+
</figure>
647657
</dd>
648658

649659
<dt id="generic(nastaliq)-def"><dfn>generic(nastaliq)</dfn>
@@ -661,12 +671,12 @@ Generic font families</h4>
661671
but if it does, that font will be in Nastaliq style.
662672

663673
<figure>
664-
<img style="width:40vw" alt="السلام علیکم" src="images/urdu-nastaliq.svg">
674+
<img style="width:25vw" alt="السلام علیکم" src="images/urdu-nastaliq.svg">
665675
<figcaption>Urdu text displayed with a sample nastaliq font (Noto Nastaliq Urdu)</figcaption>
666676
</figure>
667677

668678
<figure>
669-
<img style="width:40vw" alt="السلام علیکم" src="images/urdu-naskh.svg">
679+
<img style="width:25vw" alt="السلام علیکم" src="images/urdu-naskh.svg">
670680
<figcaption>Urdu text displayed with a fallback naskh font (Scheherazade New)</figcaption>
671681
</figure>
672682

css-fonts-4/images/fangsong.svg

Lines changed: 1 addition & 0 deletions
Loading

css-fonts-4/images/kaiti.svg

Lines changed: 1 addition & 0 deletions
Loading

0 commit comments

Comments
 (0)