mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-24 02:12:09 -05:00
df57d7ca68
This change updates function that builds list of glyphs to use font cascade list to find font for each code point.
21 lines
463 B
HTML
21 lines
463 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<link rel="match" href="reference/unicode-range-ref.html" />
|
|
<style>
|
|
@font-face {
|
|
font-family: 'HashFont';
|
|
src: url('assets/HashSans.woff');
|
|
unicode-range: U+0041; /* Only letter 'A' */
|
|
}
|
|
|
|
.text {
|
|
font-family: 'HashFont', 'SerenitySans';
|
|
font-size: 100px;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="text">AB</div>
|
|
</body>
|
|
</html>
|