Skip to content

Commit 0f776b4

Browse files
author
dauwhe
committed
[css-inline] add illustration of Devangari initial letter
1 parent fa110c8 commit 0f776b4

2 files changed

Lines changed: 20 additions & 0 deletions

File tree

css-inline/Overview.bs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,16 @@ The alignment constraints for drop initials depend on the writing system. In Jap
7575

7676
Note: In some cases, the exclusion area for the drop initial is larger than its glyph in order to preserve inline-axis alignment. This effect is out-of-scope for this level. However, extra spacing can still be given using margins.
7777

78+
In some Indic scripts, the top alignment point
79+
is the hanging baseline,
80+
and the bottom alignment point is the text-after-edge.
81+
82+
<figure>
83+
<img src="Devangari-Initial.png" width="480" alt="Devangari initial letter"/>
84+
<p class="caption">Devangari <a>initial letter</a> aligned with hanging baseline. Alignment points shown in red.</p>
85+
</figure>
86+
87+
7888
<h4 id="sunk-initial">
7989
Sunken Initial Letters</h4>
8090

css-inline/Overview.html

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,16 @@ <h4 class="heading settled" data-level=2.1.1 id=drop-initial><span class=secno>2
185185

186186
<p class=note role=note>Note: In some cases, the exclusion area for the drop initial is larger than its glyph in order to preserve inline-axis alignment. This effect is out-of-scope for this level. However, extra spacing can still be given using margins.</p>
187187

188+
<p>In some Indic scripts, the top alignment point
189+
is the hanging baseline,
190+
and the bottom alignment point is the text-after-edge.</p>
191+
192+
<figure>
193+
<img alt="Devangari initial letter" src=Devangari-Initial.png width=480>
194+
<p class=caption>Devangari <a data-link-type=dfn href=#initial-letter>initial letter</a> aligned with hanging baseline. Alignment points shown in red.</p>
195+
</figure>
196+
197+
188198
<h4 class="heading settled" data-level=2.1.2 id=sunk-initial><span class=secno>2.1.2. </span><span class=content>
189199
Sunken Initial Letters</span><a class=self-link href=#sunk-initial></a></h4>
190200

0 commit comments

Comments
 (0)