[vlc-devel] [PATCH 1/2] freetype: fix subtitle text does not show correctly on OS/2

Francois Cartegnie fcvlcdev at free.fr
Thu Mar 4 10:53:19 UTC 2021


Le 04/03/2021 à 11:49, KO Myung-Hun a écrit :
> 
> 
> Francois Cartegnie wrote:
>> Le 03/03/2021 à 15:05, KO Myung-Hun a écrit :
>>
>>>
>>> I had already updated the part. See v2 patch, please:
>>>
>>> https://mailman.videolan.org/pipermail/vlc-devel/2021-March/142354.html
>>>
>>
>> I think that's now useless
>>
>>   # define FREETYPE_TO_UCS    "UCS-2LE"
>>
> 
> Do you mean to use UCS-2LE directly for ToCharset() instead of
> FREETYPE_TO_UCS on OS/2 ?
> 

Since you're using To_UCS4, the code is no longer common and the purpose 
of FREETYPE_TO_UCS becomes useless. Just use original values everywhere.


-- 
Francois Cartegnie
VideoLAN - VLC Developer


More information about the vlc-devel mailing list