test(slint): bundle LINE Seed JP for a font-rendering comparison
Slint 1.14 has no public register_font API, so the .ttf is imported in app.slint (compile-time embed + registration) and selected via the FONT_TEST_LINESEED toggle in main.rs. Flip the toggle to false to restore the KDE system font. cc
This commit is contained in:
3 files changed
+15
-3
No files matched your search
@@ -4,6 +4,10 @@
|
||||
// top-level window. No raw visual constants or domain logic here
|
||||
// (MVP ADR, sections 13 and 21).
|
||||
|
||||
// Bundles + registers LINE Seed JP so it can be selected as the default
|
||||
// font family (font-rendering test on the slint-mvp branch).
|
||||
import "assets/fonts/LINESeedJP-Regular.ttf";
|
||||
|
||||
import { Theme } from "foundation/semantic-colors.slint";
|
||||
import { SplashScreen } from "splash/SplashScreen.slint";
|
||||
import { LoginScreen } from "login/LoginScreen.slint";
|
||||
|
||||
Reference in new issue
Block a user