blob: 48bfe6467fd03b5f09a7d51c16a1707c08dd420a [file] [log] [blame]
<!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. -->
&#xfe35;&#x4e00;&#xfe36;
&#xfe39;&#x4e01;&#xfe3a;
&#xfe37;&#x4e02;&#xfe38;
</div>
</body>