gfx: Implement font-stretch per CSS3-FONTS § 3.3 in the Core Text

font backend.
This commit is contained in:
Patrick Walton 2015-01-01 11:21:27 -05:00
parent aba5c16091
commit abddfa742f
8 changed files with 101 additions and 44 deletions

View file

@ -0,0 +1,24 @@
<!DOCTYPE html>
<html>
<head>
<style>
body {
font-size: 36pt;
font-family: "Helvetica Neue";
font-weight: bold;
font-style: normal;
}
#a {
font-stretch: normal;
}
#b {
font-stretch: condensed;
}
</style>
</head>
<body>
<div id=a>Felis silvestris catus</div>
<div id=b>Felis silvestris catus</div>
</body>
</html>