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:
parent
aaf60053f1
commit
7fa8fae786
5 changed files with 127 additions and 20 deletions
2
Base/home/anon/.config/FontEditor.ini
Normal file
2
Base/home/anon/.config/FontEditor.ini
Normal file
|
@ -0,0 +1,2 @@
|
|||
[Defaults]
|
||||
Font=/res/fonts/KaticaRegular10.font
|
Loading…
Add table
Add a link
Reference in a new issue