Unable to underline strings with a capitalized "P"

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
User avatar
Zalor
Newbie
Posts: 22
Joined: Wed Jan 18, 2017 3:02 pm
Contact:

Unable to underline strings with a capitalized "P"

#1 Post by Zalor » Sat Feb 06, 2021 10:16 am

I am unable to underline any string of text that contains a capitalized "P". In my script.rpy I wrote the following:

"{u}Writer, Director, Project Lead and Image Editor:{/u} Zalor"
"{u}Artist: Eternalsweatyhands{/u}"
"{u}Proofreader and Editor: Zakamutt{/u}"
"{u}Engine Used: Renpy{/u}"

However when I check my VN, the "Proofreader and Editor: Zakamutt" part is not underlined at all. I have tinkered around with this sentence and have found that the exact problem is that I have a capital "P". If I lowercase the "p" then it works as it should. I have linked an image where I demonstrate this problem. Could anybody tell me why this is an issue?

Image

User avatar
Potato0095
Regular
Posts: 84
Joined: Sun May 08, 2016 8:40 pm
Projects: LoveCraft
itch: potato95
Location: Brazil
Contact:

Re: Unable to underline strings with a capitalized "P"

#2 Post by Potato0095 » Sat Feb 06, 2021 6:46 pm

Try putting that line as

Code: Select all

{u}Proofreader and Editor{/u}: Zakamutt
I assume the " : " might be conflicting with the underline function.
"There are two types of lies: Lies that hurt, and lies that don't."

User avatar
Zalor
Newbie
Posts: 22
Joined: Wed Jan 18, 2017 3:02 pm
Contact:

Re: Unable to underline strings with a capitalized "P"

#3 Post by Zalor » Sat Feb 06, 2021 8:41 pm

Potato0095 wrote:
Sat Feb 06, 2021 6:46 pm
Try putting that line as

Code: Select all

{u}Proofreader and Editor{/u}: Zakamutt
I assume the " : " might be conflicting with the underline function.
Hey, thanks for the suggestion. I tried it but I still have the same problem. If I put the {/u} after the colon in the other entries I don't have a problem either. From tinkering around, the only solid conflict I can find is that Renpy has a problem with capitalized P's when underlining.

User avatar
Potato0095
Regular
Posts: 84
Joined: Sun May 08, 2016 8:40 pm
Projects: LoveCraft
itch: potato95
Location: Brazil
Contact:

Re: Unable to underline strings with a capitalized "P"

#4 Post by Potato0095 » Sat Feb 06, 2021 10:09 pm

Could it be font-related? I just tried like this on mine and it worked fine:

Code: Select all

"{u}Writer, Director, Project Lead and Image Editor:{/u} Zalor"
"{u}Artist: Eternalsweatyhands{/u}"
"{u}Proofreader and Editor: Zakamutt{/u}"
"{u}Engine Used: Renpy{/u}"
Here's how it showed itself (NVL mode)
Image
"There are two types of lies: Lies that hurt, and lies that don't."

User avatar
Zalor
Newbie
Posts: 22
Joined: Wed Jan 18, 2017 3:02 pm
Contact:

Re: Unable to underline strings with a capitalized "P"

#5 Post by Zalor » Sun Feb 07, 2021 3:17 am

Potato0095 wrote:
Sat Feb 06, 2021 10:09 pm
Could it be font-related? I just tried like this on mine and it worked fine:
I think the problem is probably with my font, as I can't see anything else that would be the problem. Thanks for the help by the way!

Post Reply

Who is online

Users browsing this forum: Bing [Bot]