<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<style>
@font-face {
  font-family: ahem;
  src: url(../fonts/Ahem.ttf);
}
div {
  height: 100px;
  font: 16px/24px ahem;
}
#test1 {
  writing-mode: vertical-lr;
  text-orientation: upright;
}
</style>
</head>
<body>
<div id="test1">
<span>ab<br>cd</span>
</div>
</body>
</html>