mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-23 08:00:20 +00: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>
|