<!DOCTYPE html>
<html>
<meta charset="utf-8">
<head>
<style type="text/css">
@font-face {
  font-family: foo;
  src: url(resources/svg-glyph-extents.otf);
}
body {
  font-family: foo;
  font-size: 10px;
}
div {
  display: inline-block;
  height: 100px;
  width: 100px;
}
</style>
</head>
<body>
<div>A</div>
<div>B</div>
<div>C</div>
<div>D</div>
</body>
</html>