Sylvain Becker

Results 199 comments of Sylvain Becker

I have some trouble to try the ARM compilation of SDL_ttf on window. I have no device, my Visual Studio is old (2017) and not configured for ARM. Would be...

I don't think we want an ABI breaking change simply for handling non null terminated strings ..moreover, all SDL interfaces are C, which make them more compatible.

I also want to look at this (end of next week probably). Quickly: - there are still things commented out you could remove (About pa allocation). - do we really...

ok, I've looked and tried (but not fully) Just to make sure I saw no regression with some multi lang test I have. I also run a fuzzy test, and...

First, this is the emulator. so times are maybe wrong ? otherwise: What you can do is to render a string a first time, then a second time. first fime:...

STR_UNICODE is used to tell that user is giving a *UNICODE* input parameter (so UCS-2), and to convert it to the internal string format used (eg UTF8), by calling: UCS2_to_UTF8()...

@slouken Shouldn't ```c if (ch == UNICODE_BOM_NATIVE) { swapped = SDL_FALSE; continue; } if (ch == UNICODE_BOM_SWAPPED) { swapped = SDL_TRUE; continue; } if (swapped) { ch = SDL_Swap16(ch); }...

I don't think we have UCS4 version of the API ! (I don't think we should add it) We've got : UTF8, UNICODE(so UCS2), and TEXT(latin1).

If someone has a good knowledge of UCS2/UTF-16, it sounds like it's a 10/20 line patch by modifying the two previous functions ?

But I think the fonts can have both vector and png at some various size. what about those functions ? ```c /* Get the number of faces of the font...