Re: sdl 2 - text is not displayed correctly

2020-01-16 Thread TodNaz via Digitalmars-d-learn
On Wednesday, 15 January 2020 at 16:28:58 UTC, drug wrote: On 1/15/20 6:26 PM, TodNaz wrote: Hello! Maybe someone came across ... I use sdl 2 derelcit, and wanted to draw text (not English, but Russian, for example). And when called in TTF_RenderUTF8_Blended, the text is drawn with incorrect

sdl 2 - text is not displayed correctly

2020-01-16 Thread TodNaz via Digitalmars-d-learn
Maybe I made a mistake? Sorry, I'm new to this business ... [https://pastebin.com/Yyzg4iZf]

Re: sdl 2 - text is not displayed correctly

2020-01-16 Thread TodNaz via Digitalmars-d-learn
On Wednesday, 15 January 2020 at 16:28:58 UTC, drug wrote: On 1/15/20 6:26 PM, TodNaz wrote: Hello! Maybe someone came across ... I use sdl 2 derelcit, and wanted to draw text (not English, but Russian, for example). And when called in TTF_RenderUTF8_Blended, the text is drawn with incorrect

Re: sdl 2 - text is not displayed correctly

2020-01-15 Thread drug via Digitalmars-d-learn
On 1/15/20 6:26 PM, TodNaz wrote: Hello! Maybe someone came across ... I use sdl 2 derelcit, and wanted to draw text (not English, but Russian, for example). And when called in TTF_RenderUTF8_Blended, the text is drawn with incorrect characters (with these: ""). And with wstribg and TTF_Render

sdl 2 - text is not displayed correctly

2020-01-15 Thread TodNaz via Digitalmars-d-learn
Hello! Maybe someone came across ... I use sdl 2 derelcit, and wanted to draw text (not English, but Russian, for example). And when called in TTF_RenderUTF8_Blended, the text is drawn with incorrect characters (with these: ""). And with wstribg and TTF_RendererUNICODE_Blended, the surface has