Skip to content

Commit dc23592

Browse files
committed
[css-fonts-4] Define synthetic oblique in vertical text, fix #2869
1 parent b6e9332 commit dc23592

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

css-fonts-4/Overview.bs

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2031,6 +2031,25 @@ Controlling synthesized oblique: The 'font-synthesis-style' property</h4>
20312031
Synthesis of oblique faces is not allowed
20322032
</dl>
20332033

2034+
<p id="vertical-oblique-synthesis">
2035+
In vertical text,
2036+
for positive oblique angles,
2037+
the glyph is skewed
2038+
such that the line-over edge shifts towards the line-right side
2039+
while the line-under edge shifts towards the line-left side.
2040+
For negative oblique angles,
2041+
the glyph is skewed
2042+
such that the line-over edge shifts towards the line-left side
2043+
while the line-under edge shifts towards the line-right side.
2044+
Skewing is about the center of the glyph.
2045+
</p>
2046+
2047+
<!-- TODO make a more visually pleasing figure -->
2048+
<figure>
2049+
<img alt="synthetic oblique in vertical text" src="images/italics-vertical.png" width="78" >
2050+
<figcaption>Synthetic oblique in vertical text, positive oblique angle</figcaption>
2051+
</figure>
2052+
20342053
<h4 id="font-synthesis-small-caps">
20352054
Controlling synthesized small caps: The 'font-synthesis-small-caps' property</h4>
20362055

3.51 KB
Loading

0 commit comments

Comments
 (0)