mirror of
https://github.com/RGBCube/serenity
synced 2025-05-15 17:24:57 +00:00

This change updates function that builds list of glyphs to use font cascade list to find font for each code point.
23 lines
426 B
HTML
23 lines
426 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<style>
|
|
@font-face {
|
|
font-family: 'HashFont';
|
|
src: url('../assets/HashSans.woff');
|
|
}
|
|
|
|
.hash-font {
|
|
font-family: 'HashFont';
|
|
}
|
|
|
|
.text {
|
|
font-size: 100px;
|
|
font-family: "SerenitySans";
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="text"><span class="hash-font">A</span>B</div>
|
|
</body>
|
|
</html>
|