mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 09:19:03 +00:00
This change updates function that builds list of glyphs to use font cascade list to find font for each code point.
24 lines
426 B
HTML
24 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>
|