SDL_ttf icon indicating copy to clipboard operation
SDL_ttf copied to clipboard

Support for TrueType (.ttf) font files with Simple Directmedia Layer.

Results 65 SDL_ttf issues
Sort by recently updated
recently updated
newest added

``` CMake Error at vendor/SDL_ttf/external/plutosvg/plutovg/CMakeLists.txt:36 (add_library): add_library cannot create target "plutovg" because another target with the same name already exists. The existing target is a static library created in source...

Hello, When using a font with 'ff', 'fi', 'ffi' ligatures (like EB garamond), TTF_MeasureUTF8 seems to systematically overestimate the length of the rended text if there is a ligature to...

When the string to be measured seems likely to be significantly longer than the maximum width, use font metrics to estimate a prefix of the string to measure first. Since...

Hello, When I clear the fallbacks of a font, and add a different fallback, rendering the same text will crash. It seems to be a cache problem since rendering a...

Resolve #536 This adds a new function called TTF_GetFontBBox: ``` extern DECLSPEC void SDLCALL TTF_GetFontBBox(const TTF_Font *font, TTF_BBox *bbox); ``` and a struct TTF_BBox (simply a pair of xmin/max and...

Hi, does SDL use multi-channel signed distance functions for its SDF handling? See: https://github.com/Chlumsky/msdfgen

Compiling the examples does not work with Emscripten because of OpenGL linker errors. Samples are enabled by default. Only when setting `-D SDLTTF_SAMPLES=OFF`, the compilation succeeds. Emscripten SDK version 4.0.6...

I've met few situations where a font has incorrect ascent/descent information. I'm not an expert in this, and don't know how this usually happens, either it's saved incorrectly, or font's...

The word wrapping may disagree between outlined and non-outlined text in Surface Engine, causing a misalignment between the outline and the rendered text when blending, as demonstrated below: ![Image](https://github.com/user-attachments/assets/e0111ae4-6eb0-4d40-a0db-fab9dd449046) Happens...

Closes #503. I've got some comments in there with questions about how to do certain things. I had thought I could use `hb_font_set_variations` and it would be super easy, barely...