View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0026524 | Runner | Font | Public | 2017-05-16 10:20 | 2019-01-04 16:01 |
Reporter | Stewart Bishop | Assigned To | Russell Kay | ||
Priority | High | Severity | C - General | Reproducibility | 100% |
Status | Closed | Resolution | Unable To Reproduce | ||
Product Version | Pre-2.1.3 | ||||
Target Version | 2.2.1 | Fixed in Version | 2.2.1 | ||
Summary | 0026524: Font: [GMS2] Font gets messed up when resizing the game window and adapting the application surface and GUI size | ||||
Description | I use the following script to detect whether the player has resized the window: /// @description window_resize() var w = window_get_width(); var h = window_get_height(); if w <= 0 or h <= 0{exit;} if w != surface_get_width(application_surface) or h != surface_get_height(application_surface) { surface_resize(application_surface, w, h); display_set_gui_size(w, h); view_set_wport(0, w); view_set_hport(0, h); } The font seems to get "cut off", but only if you use a different font than the default font. In the example I use Arial | ||||
Steps To Reproduce | 1) Import the project 2) Run the sample 3) Resize the window 4) See that the text is now cut off | ||||
Tags | No tags attached. | ||||
1.4 Found In | |||||
2.x Runtime Found In | 2.0.6.93 | ||||
2.x Runtime Verified In | 9.9.1.1075 | ||||