32 lines
861 B
HTML
32 lines
861 B
HTML
<!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">
|
|
(一)
|
|
〔丁〕
|
|
{丂}
|
|
</div>
|
|
</body>
|