1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 16:27:35 +00:00

FontEditor: Allow application to launch without a font

Since LibFSAC requires a reified window before loading a font, it
makes sense to have a safe null state for the app.

This lets us stay alive after a failed file request on startup,
handle failure at any point during initialization, and claw back
memory from all our font RefPtrs.

A default startup font or none at all can now be set in FontEditor.ini
This commit is contained in:
thankyouverycool 2023-05-10 17:01:28 -04:00 committed by Andreas Kling
parent aaf60053f1
commit 7fa8fae786
5 changed files with 127 additions and 20 deletions

View file

@ -0,0 +1,2 @@
[Defaults]
Font=/res/fonts/KaticaRegular10.font