Bug: East Asian support removes final "o"

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Post Reply
Message
Author
Ivlivs
Veteran
Posts: 267
Joined: Sun Feb 25, 2007 1:00 pm
Contact:

Bug: East Asian support removes final "o"

#1 Post by Ivlivs »

When randomly going through my game, I turned on the East Asian support using the new method just for kicks. However, I discovered a bug as I was testing: The East Asian support removes "o" from any string if "o" is the final character in it.

Here is an example:
Missing-o.PNG
Jitteh Dawn --- A VN by Ivlivs

boshibaro
Newbie
Posts: 7
Joined: Thu Sep 06, 2007 12:28 pm
Contact:

Re: Bug: East Asian support removes final "o"

#2 Post by boshibaro »

I would usually type an underscore after the o

Ivlivs
Veteran
Posts: 267
Joined: Sun Feb 25, 2007 1:00 pm
Contact:

Re: Bug: East Asian support removes final "o"

#3 Post by Ivlivs »

Any help with this issue? Anyone?

I still have the original code for the East Asian linebreaking support, so let me just post it here:
cjsupport.rpy
(3.15 KiB) Downloaded 129 times
EDIT: The above code does not cause the same problems.
Jitteh Dawn --- A VN by Ivlivs

User avatar
PyTom
Ren'Py Creator
Posts: 16088
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: Bug: East Asian support removes final "o"

#4 Post by PyTom »

Wow, that was a royal botch on my part. Here's an updated text.py... put it in renpy/display/, and it should fix this problem.
Attachments
text.py
(41.88 KiB) Downloaded 128 times
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

Post Reply

Who is online

Users browsing this forum: haitai, Semrush [Bot]