SDL_ttf
SDL_ttf copied to clipboard
Support for TrueType (.ttf) font files with Simple Directmedia Layer.
It takes more than 1 second to run this function... SDL_Color oColor = {0xFF, 0xFF, 0xFF}; for (auto s : oMsgVec) { auto nStart = SDL_GetTicks64(); TTF_RenderUTF8_Blended(pFontHelper->m_pFont, s.c_str(), oColor); auto...
I'm trying to install SDL_ttf on OSX Monterey from the repo. I created a symlink in external pointing to my harfbuzz source, and copied the .deps directory over. It compiles...
It appears that when we say "Unicode" in SDL_ttf, we mean UCS-2 encoding (each char is 16-bits). This covers the Basic Multilingual Plane, which covers an enormous amount of human...
This is my current setup: Description: Ubuntu 20.04.3 LTS Release: 20.04 Codename: focal Running in a **virtualbox** I am using the official SDL2 packages from the Ubuntu repos -> libsdl2-ttf-2.0-0...
It seems to me ARM_NEON is working and could be re-activated: https://github.com/libsdl-org/SDL_ttf/blob/main/SDL_ttf.c#L122 ```diff diff --git a/SDL_ttf.c b/SDL_ttf.c index 8a4bb3d..68909ea 100644 --- a/SDL_ttf.c +++ b/SDL_ttf.c @@ -119,7 +119,7 @@ int TTF_SetScript(int...
This needs to be given a valid font as a command-line argument, but is otherwise automatic. --- Includes #223. I haven't wired this up to the CMake build system or...
All the functions in for example TTF_Render* are all null terminated strings. This is bad practice for several reasons, one is security, but another one is that in C++ I...
# This bug report was migrated from our old Bugzilla tracker. **Reported in version:** 2.0.10 **Reported for operating system, platform:** Linux, x86_64 # Comments on the original bug report: On...
# This bug report was migrated from our old Bugzilla tracker. These attachments are available in the static archive: * [C source of SelectCharMap (SelectCharMap.c, application/octet-stream, 2013-07-10 04:43:03 +0000, 704...
Simplify by using SDL_SIMDAllocAligned() need this PR first: https://github.com/libsdl-org/SDL/pull/5650 See https://github.com/libsdl-org/SDL/issues/5641