Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

thcrap: Support right-to-left scripts #27

Open
4 tasks
nmlgc opened this issue Aug 25, 2013 · 0 comments
Open
4 tasks

thcrap: Support right-to-left scripts #27

nmlgc opened this issue Aug 25, 2013 · 0 comments

Comments

@nmlgc
Copy link
Contributor

nmlgc commented Aug 25, 2013

Right-to-left text

Description

It was only a matter of time until people asked for this.

Prerequisites

Implementation

  • If possible, this should not require a special "rtl": true flag in the run configuration. Directionality should be automatically determined by the characters in a string. Otherwise, patch stacks that have a RTL language on top of an LTR one couldn't easily switch between both.
  • Neither should it require all texts to simply be wrapped in a <r$text$> command. Once tabs come into play, we need to mirror those too.
  • Add a breakpoint to read the current width of the rendering bitmap.
  • According to this page, Win32 dialogs can be easily mirrored. Find the best way to do this.
  • ... and then there's texture positioning. We probably could start by searching for a general "set X position" point and mirroring that value. Anything more will be part of a separate issue, though.
@ghost ghost assigned nmlgc Aug 25, 2013
@nmlgc nmlgc removed their assignment Jul 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant