blob: 73afcf1c21b0c4c18e70772e625e9532326cfa5f [file] [log] [blame]
<!DOCTYPE HTML>
<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">
&#xff08;&#x4e00;&#xff09;
&#x3014;&#x4e01;&#x3015;
&#xff5b;&#x4e02;&#xff5d;
</div>
</body>