View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0031719||Runner||Functions||Public||2020-05-20 11:13||2020-05-28 17:31|
|Priority||Low||Severity||C - General||Reproducibility||100%|
|Platform||-||OS||Windows 10||OS Version||Pro x64|
|Target Version||Fixed in Version|
|Summary||0031719: Functions: draw_text_ext() does not wrap on all standardised break-able whitespace characters|
|Description||We have had a number of reports that draw_text_ext() does not wrap on long strings of Asian characters where there typically is no space character in the string. Currently, this function requires a space character or manually adding a \n before it will wrap (and this is documented as being required). However, there are a list of standardised "break-able" whitespace characters which should be supported for this, which would avoid users having to write their own custom mid-word wrap functionality.|
See the table on the page https://en.wikipedia.org/wiki/Whitespace_character and in particular the values in the "May Break?" column.
Expected: All characters which are listed as "yes" should actually cause draw_text_ext() to immediately wrap your string.
|Steps To Reproduce||1. Installed the attached font.|
2. Start GMS2 and import the attached project.
3. Run it for any platform
4. Observe each line of text goes off the right of the screen, none of them wrap.
|Tags||No tags attached.|
|1.4 Found In|
|2.x Runtime Found In||188.8.131.528|
|2.x Runtime Verified In|