mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 02:07:36 +00:00
LibWeb: Null check fonts after parsing them in CRC2D.font assignment
Fixes an issue where setting CRC2D.font to an unparseable value would assert due to a null dereference.
This commit is contained in:
parent
ef6a78518f
commit
f34cc0b8e3
3 changed files with 14 additions and 1 deletions
2
Tests/LibWeb/Text/expected/canvas/basic.txt
Normal file
2
Tests/LibWeb/Text/expected/canvas/basic.txt
Normal file
|
@ -0,0 +1,2 @@
|
|||
normal normal 20px SerenitySans
|
||||
normal normal 20px SerenitySans
|
Loading…
Add table
Add a link
Reference in a new issue