Files
ppsspp/Dockerfile
T
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

21 lines
498 B
Docker

# First stage
FROM alpine:latest
COPY . /src
RUN apk add build-base wget git bash cmake python3 glu-dev sdl3-dev sdl3_ttf-dev fribidi-dev
RUN cd src/ffmpeg && ./linux_x86-64.sh
RUN cd src && ./b.sh --headless
# Second stage
FROM alpine:latest
# Install required dependencies to make headless to work
RUN apk add --no-cache sdl3 sdl3_ttf fribidi libstdc++ glu-dev
# Copy minimal things to make headless to work
COPY --from=0 src/build/PPSSPPHeadless usr/local/bin/
RUN PPSSPPHeadless || true