SethRobinson / proton

Proton SDK: Seth's GL/GLES messy multi-platform C++ game SDK. Can output to Windows, OS X, iOS, Android, Linux (Raspbian too), HTML5, Flash
Other
84 stars 16 forks source link

Add support for rendering UTF-16 #26

Closed mar4ello6 closed 1 year ago

mar4ello6 commented 1 year ago

Added support for rendering UTF-16 and added an example of UTF-16 rendering to RTSimpleApp (needed to change Trajan font to Arial, because Trajan doesn't have Cyrillic). Also made some fixes to RTPack.

SethRobinson commented 1 year ago

Thanks, this is great! I compiled the RTPack.exe with pvr support and removed the "u8" tag in the source, without doing that I couldn't see the font correctly in the app. (vs2022)

proton_font_issue

If I remove the "u8", it parses it correctly and it renders correctly.