38 lines
1.1 KiB
HTML
38 lines
1.1 KiB
HTML
<!DOCTYPE HTML>
|
|
<!--
|
|
The difference between the test file and this expectation file is that
|
|
the punctuations are replaced by the characters that they should be
|
|
substituted according to the vert GSUB table.
|
|
-->
|
|
<html>
|
|
<head>
|
|
<title>Vertical punctuations using font with GSUB/vert table not under dflt script</title>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
<style type="text/css">
|
|
@font-face {
|
|
font-family: 'droid';
|
|
/* DroidSansFallback-reduced.ttf was generated based on Android's
|
|
DroidSansFallback.ttf by removing many glyphs to meet the size
|
|
requirement of web font face.
|
|
It contains GSUB and vert table but not under dflt script.
|
|
*/
|
|
src: url('resources/DroidSansFallback-reduced.ttf');
|
|
}
|
|
#test {
|
|
font-size: 25px;
|
|
font-family: droid;
|
|
-webkit-writing-mode: vertical-rl;
|
|
height: 500px;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
Puctuations should be properly rotated and positioned.
|
|
<div id="test">
|
|
<!-- Punctuations are using the vertical substitution characters. -->
|
|
︵一︶
|
|
︹丁︺
|
|
︷丂︸
|
|
</div>
|
|
</body>
|