Re: Iteration on UTF/UNICODE characters

2018-09-11 Thread Danny Arends via D.gnu
On Tuesday, 11 September 2018 at 09:32:51 UTC, Eugene Wissner wrote: On Tuesday, 11 September 2018 at 08:54:33 UTC, Danny Arends wrote: Hey all, I am building a font glyph atlas for 2D and 3D rendering using the following code: dchar c = '\u'; while (c <= '\U') { if(isValidDcha

Iteration on UTF/UNICODE characters

2018-09-11 Thread Danny Arends via D.gnu
Hey all, I am building a font glyph atlas for 2D and 3D rendering using the following code: dchar c = '\u'; while (c <= '\U') { if(isValidDchar(c)){ # Code working on the char } } This compiles, and works as expected using DMD, and LDC2. However when I try and build the c