TerryCavanagh / VVVVVV

The source code to VVVVVV! http://thelettervsixtim.es/
Other
6.93k stars 555 forks source link

Add support for Arabic/bidirectional text #1093

Closed Daaaav closed 7 months ago

Daaaav commented 7 months ago

Changes:

As mentioned in https://github.com/TerryCavanagh/VVVVVV/issues/829#issuecomment-1875175582, we're aiming to get Arabic in for 2.4.0, which is a language that needs some significant technical changes! Luckily those happened fairly quickly and painlessly.

Whew, that was everything I think! Time for some screenshots:

A random Arabic sentence: Viridian saying أحتاج مثالا فيه جملة طويلة جدا لا تتسع لها النافذة وتفيض من الصندوق.

Lots of ligatures and right-alignment: Viridian saying أنا هنا آمنا. وئام لئام لا كلام لأحزان زالت وراء شراء ناي بناء يا عيال الخير للطير مللت مالي باءت القباء للوباء للا للأ للإ للآ لا لأ لإ لآ.

A right-to-left menu, and user input:

https://github.com/TerryCavanagh/VVVVVV/assets/44736680/bdf666f7-adbc-46d7-b28a-51e03f6612c4

Legal Stuff:

By submitting this pull request, I confirm that...

Daaaav commented 7 months ago

Just force-pushed a whole bunch of fixes and improvements - everything mentioned in the comment above and on Discord, as well as some other things: