Commit Graph
4 Commits
Author SHA1 Message Date
Henrik RydgårdandClaude Opus 5.5 4a8d130631 SDL text: Reorder mixed-direction text with FriBidi
SDL3_ttf shapes a whole string in one direction, guessed from its first
character, so a Latin run inside Hebrew text (or a Hebrew run inside
English) came out reversed - "PPSSPP Gold" rendered as "PPSSPP dloG".
When a string mixes directions, reorder each line into visual order with
FriBidi and render it left-to-right. Strings in a single direction are
left to SDL3_ttf, which already handles pure Hebrew and shapes Arabic
better than FriBidi's presentation forms.

FriBidi is optional; without it, mixed strings render as before.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-16 17:01:11 +02:00
Henrik Rydgård ebdf89dfbd Upgrade the Alpine CI build as well. 2026-06-16 21:09:14 +02:00
Francisco Javier Trujillo Mata b58b04f6b2 Using latest sdl2 version 2024-07-19 00:23:09 +02:00
Francisco Javier Trujillo Mata 77fa87d9b7 Generate dockerfile in GHA 2022-02-07 23:34:02 +01:00