I'm sorry if I'm a bit late. I'm in a middle of 'languages practice' project and when I'm about to write Arabic in Ren'py, it turns out to be separated fonts, not forming a word. Well, this is the one I want;
When I type into the script, it turns out to be like this:
I want to polish my writing skills in Arabic because I took a course require this language. Since it's boring to read just plain words, I want to make it as a kinetic novel so I can share it with others while improving my skill. So, what comes to my mind is, does Ren'Py can support this language or is there something I can do that makes this language can be used?
Other language fonts
-
- Regular
- Posts: 40
- Joined: Sat May 19, 2012 6:58 am
- Projects: *shrugs* I have my own way of doing things
- Organization: None yet
- Location: In my mini library at home
- Contact:
- PyTom
- Ren'Py Creator
- Posts: 16096
- Joined: Mon Feb 02, 2004 10:58 am
- Completed: Moonlight Walks
- Projects: Ren'Py
- IRC Nick: renpytom
- Github: renpytom
- itch: renpytom
- Location: Kings Park, NY
- Contact:
Re: Other language fonts
Try:
That will turn on RTL mode, which also handles ligaturization. You may also want to adjust xalign and text_align on various text-like things to right-align them.
Code: Select all
init python:
config.rtl = True
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom(When was the last time you backed up your game?)
Software > Drama • https://www.patreon.com/renpytom
-
- Regular
- Posts: 40
- Joined: Sat May 19, 2012 6:58 am
- Projects: *shrugs* I have my own way of doing things
- Organization: None yet
- Location: In my mini library at home
- Contact:
Re: Other language fonts
Gee, thanks, Py Tom! But there's one problem; It's hard to type in the script. If I type 'abc', it became 'cba'. No problem when I play the game, but it's hard to type in script with this kind of problem.
- PyTom
- Ren'Py Creator
- Posts: 16096
- Joined: Mon Feb 02, 2004 10:58 am
- Completed: Moonlight Walks
- Projects: Ren'Py
- IRC Nick: renpytom
- Github: renpytom
- itch: renpytom
- Location: Kings Park, NY
- Contact:
Re: Other language fonts
I think you may need to look for a text editor that support Arabic better. Try editra, jedit, and then maybe look further afield? The combination of RTL and ligaturization makes Arabic tough to support, so not a lot of tools do it.
Although it's a terrible way to work, you might be able to write the text in a word processor, and then copy and paste it in to editra or jedit.
سلام!
Although it's a terrible way to work, you might be able to write the text in a word processor, and then copy and paste it in to editra or jedit.
سلام!
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom(When was the last time you backed up your game?)
Software > Drama • https://www.patreon.com/renpytom
-
- Regular
- Posts: 40
- Joined: Sat May 19, 2012 6:58 am
- Projects: *shrugs* I have my own way of doing things
- Organization: None yet
- Location: In my mini library at home
- Contact:
Re: Other language fonts
Gee, thanks a ton!
Who is online
Users browsing this forum: No registered users