View Issue Details

IDProjectCategoryView StatusLast Update
0031719RunnerFunctionsPublic2020-05-28 17:31
ReporterDanAssigned ToFritz 
PriorityLowSeverityC - GeneralReproducibility100%
Status ResolvedResolutionFixed 
Platform-OSWindows 10OS VersionPro x64
Product Version2.2.5 
Target VersionFixed in Version 
Summary0031719: Functions: draw_text_ext() does not wrap on all standardised break-able whitespace characters
DescriptionWe 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 Reproduce1. 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.
Repro: 100%
TagsNo tags attached.
1.4 Found In
2.x Runtime Found In2.2.5.378
2.x Runtime Verified In

Activities

Dan

2020-05-20 11:13

Adminstrator  

umeboshifont.zip (3,124,839 bytes)

Dan

2020-05-20 11:57

Adminstrator  

testwrapping-draw_text_ext.yyz (2,651,134 bytes)