Scribble
Scribble copied to clipboard
Now scans for all project fonts using asset_get_ids
The function __scribble_font_add_all_from_project()
used to scan fonts by using a numeric integer from 0 to 999 and checking whether the font with that index exists. However since typed references exist this should not work. At least in GRMT this does indeed not work and it complains about submitting an integer, not a font reference, to font_exists()
. So the commit is about using the asset_get_ids()
function to get all fonts in an array and process them.