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: 264
Joined: Sun Feb 25, 2007 1:00 pm
Contact:

Bug: East Asian support removes final "o"

#1 Post by Ivlivs » Mon Sep 10, 2007 5:50 am

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
Parasite Lance --- A puzzle game by Ivlivs (Rawle Nyanzi)

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 » Mon Sep 10, 2007 10:43 am

I would usually type an underscore after the o

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

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

#3 Post by Ivlivs » Thu Sep 13, 2007 8:22 am

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 119 times
EDIT: The above code does not cause the same problems.
Jitteh Dawn --- A VN by Ivlivs
Parasite Lance --- A puzzle game by Ivlivs (Rawle Nyanzi)

User avatar
PyTom
Ren'Py Creator
Posts: 15447
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 » Thu Sep 13, 2007 10:48 am

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 118 times
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom

Post Reply

Who is online

Users browsing this forum: Google [Bot], yurikha