View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0025788||Runner||HTML5||Public||2017-02-24 15:20||2018-02-05 16:28|
|Priority||Very High||Severity||A - Crash/Hang||Reproducibility||100%|
|Target Version||Fixed in Version|
|Summary||0025788: HTML5: Some font functions are not implemented, crashing the game|
|Description||There are a couple of issues with font_* functions in HTML5|
font_replace is supposed to be a function for HTML5 only... but is not implemented.
font_replace_sprite_ext is not implemented too.
font_delete is implemented, so there is no crash when it is used, but it doesn't do anything.
You can test with the examples available in the documentation. Run in debug mode and open the console to see you will get a "ReferenceError".
font_replace(fnt_Custom, 'Arial', 24, true, true, 32, 128);
font_replace_sprite_ext(global.Font, spr_CalcFont, "0123456789+-*/=", true, 2);
These functions don't seem to be obsolete as they are still there in the GMS:2 documentation (so GMS:2 might be affected as well).
|Additional Information||Original helpdesk ticket: http://help.yoyogames.com/tickets/120123|
|Tags||No tags attached.|
|1.4 Found In||1.4.1763|
|2.x Runtime Found In|
|2.x Runtime Verified In|