Scribble icon indicating copy to clipboard operation
Scribble copied to clipboard

Now scans for all project fonts using asset_get_ids

Open biyectivo opened this issue 2 months ago • 0 comments

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.

biyectivo avatar Apr 30 '24 04:04 biyectivo