Snapshot: alpha-2026-9
This commit is contained in:
parent
9acf5a97e2
commit
5accd5f3eb
242 changed files with 85549 additions and 2409 deletions
11
frontend/src/scss/_label-fonts.scss
Normal file
11
frontend/src/scss/_label-fonts.scss
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
// Normal-size (>=33px) label text font, so drawTextLeaf never falls back to the CSS generic
|
||||
// "sans-serif" keyword - see ../assets/fonts/label/LICENSE.md for source; label.js's fontTierFor
|
||||
// names this explicitly. The one @font-face left in this pair of files: every smaller tier renders
|
||||
// through ../pixel-font.js's own FreeType-wasm rasterizer instead, fetching its font bytes
|
||||
// directly rather than going through the browser's font system - see
|
||||
// docs/implementation.md#freetype-production-rendering.
|
||||
@font-face {
|
||||
font-family: "Inter";
|
||||
src: url("../assets/fonts/label/Inter-Regular.woff2") format("woff2");
|
||||
font-display: block;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue