<!DOCTYPE html> | |
<html> | |
<head> | |
<style> | |
@font-face { | |
font-family: "HelveticaLight"; | |
src: url("resources/Helvetica_light.svg") format("svg"); | |
} | |
</style> | |
</head> | |
<body> | |
<!-- Inside Font::platformInit(), we adjust the ascent of some fonts to make them better match the metrics of their Windows counterparts. However, we should only do that for preinstalled fonts, not web fonts. Therefore, the ascent for a web font Helvetica should not be the same as for a preinstalled font Helvetica. --> | |
<div style="position: absolute; left: 8px; top: 13px; font: 100px HelveticaLight">l</div> | |
</body> | |
</html> |