View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0031592||Runner||Functions||Public||2020-01-23 09:13||2020-02-27 12:11|
|Priority||Low||Severity||C - General||Reproducibility||100%|
|Platform||-||OS||Windows 10||OS Version||Pro x64|
|Target Version||2.3.0||Fixed in Version||2.3.0|
|Summary||0031592: Functions: When using a custom font draw_text_ext() will add the default char  instead of \n, and so fails to wrap text|
|Description||When using a custom font. draw_text_ext() will add the default char  instead of \n, and so fails to wrap text. You can see this in the attached sample, where the top string will be one giant line and the width value will be far higher than what the code said to wrap on. You will also see the  characters throughout the line.|
The second block of text works fine when using font0, but it too shows this issue if you use a wider font like font1.
The issue does not occur if you use the default font, so simply comment out the draw_set_font() at the top of the event and this will "fix" the sample.
|Steps To Reproduce||1. Run the attached sample for Windows.|
2. Observe the top string is all one line and has s throughout.
3. (Optional) Change the draw_set_font() at the top of the event to use font1 and run the sample again, and observe this time both lots of text are "broken".
4. (Optional) Comment out the draw_set_font() and run the sample again, and observe this time both lots of text are "fixed".
|Additional Information||The fix in https://bugs.yoyogames.com/view.php?id=31531 has no effect, and this all reproduces the same in 2.3.0.|
|Tags||No tags attached.|
|1.4 Found In|
|2.x Runtime Found In||188.8.131.528|
|2.x Runtime Verified In|