View Issue Details

IDProjectCategoryView StatusLast Update
0025788RunnerHTML5Public2018-02-05 16:28
ReporterzenAssigned ToFritz 
PriorityVery HighSeverityA - Crash/HangReproducibility100%
Status ClosedResolutionFixed 
Platform OS OS Version
Product Version 
Target VersionFixed in Version 
Summary0025788: HTML5: Some font functions are not implemented, crashing the game
DescriptionThere 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 InformationOriginal helpdesk ticket:
TagsNo tags attached.
1.4 Found In1.4.1763
2.x Runtime Found In
2.x Runtime Verified In



2017-03-08 16:53

Developer   ~0052101

font_replace removed
font_replace_sprite_ext added
font_delete now deletes the font