Skip to content
Snippets Groups Projects
Commit 10e0c8e1 authored by KO Myung-Hun's avatar KO Myung-Hun
Browse files

freetype: use UCS-4 encoding on OS/2, too

This fixes subtitle texts are not shown correctly on OS/2.

Freetype module expects UCS-4 string. However, OS/2 iconv() does not
support UCS-4 encoding, so UCS-2 encoding is used on OS/2. Because of
this mis-match, subtitle texts on OS/2 are mis-interpreted. As a result,
subtitle texts are not shown correctly.

(cherry picked from commit 89b561ea)

  Conflicts:
    modules/text_renderer/freetype/freetype.c
    modules/text_renderer/freetype/text_layout.c
parent f18819c4
No related branches found
No related tags found
2 merge requests!3533Backport MR 3236 to 3.0.x,!500[Backport to 3.0.x] freetype: use UCS-4 encoding on OS/2, too
Pipeline #126881 passed with stage
in 18 minutes and 23 seconds
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment