Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Wrapped functions, Optimized routines, Lsb/Rsb positioning, Subpixel …
…Hinting - Add 'Shaded' and 'Solid' text wrapped functions: TTF_Render{UTF8,TEXT,UNICODE}_{Shaded,Solid}_Wrapped() - More accurate positioning algorithm: it takes into account left and right side bearing error correction See "{rsb,lsb}_deltas" and NOTE in FT_GlyphSlotRec: https://www.freetype.org/freetype2/docs/reference/ft2-base_interface.html#FT_GlyphSlotRec - Light Subpixel hinting: Better results for small text sizes: glyph are rendered at subpixel positions, they look blurrier but uniformly positioned This mode is slower since glyphs are rendered on the fly. Use TTF_HINTING_LIGHT_SUBPIXEL to enable it - Add SSE2, NEON, int32 and int64 optimized routines: There is x3 speed improvement for any size and solid, shaded, blended rendering - Possibility to use Duff's device to unroll loops (disabled) Since it uses aligned memory surfaces, it requires an SDL2 version with flag SDL_MEMALIGNED. More details in https://bugzilla.libsdl.org/show_bug.cgi?id=4361
- Loading branch information