Strange font issues

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
Criptych
Regular
Posts: 87
Joined: Sat Jun 23, 2007 9:19 am
Projects: ALICE.NET
Location: The other end of the internet.
Contact:

Strange font issues

#1 Post by Criptych »

This is just an observation of something really weird I ran across.

It began when I used a custom font for the menu. I noticed that the capital 'S' glyph was misaligned, even though it looked fine when I used the font in other programs.

Image

That was weird enough, but not a big problem. I thought it might just be a bug in the font itself. I considered switching to imagebuttons, but left it alone for the time being.

As if that weren't weird enough, I later added an overlay function, and - voila! - capital 'S' was fixed, completely by accident.

Image

Then, after I fixed a bug in the overlay function (it was showing up during the splash screen - tsk, tsk)... capital 'S' was doing its thing again. Some more experimentation showed that the problem must have something to do with whether the overlay actually adds anything to the screen.

So, pardon my longwindedness, but: what the heck is going on?
Computers are useless. They can only give you answers. —Pablo Picasso

Image

User avatar
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: Strange font issues

#2 Post by PyTom »

No idea. Can you email the game to pytom@bishoujo.us? I'll take it apart and see if it's Ren'Py's fault. But it really shouldn't be, unless you're doing something like using {size=} or something like that.
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

Criptych
Regular
Posts: 87
Joined: Sat Jun 23, 2007 9:19 am
Projects: ALICE.NET
Location: The other end of the internet.
Contact:

Re: Strange font issues

#3 Post by Criptych »

PyTom wrote:No idea. Can you email the game to pytom@bishoujo.us? I'll take it apart and see if it's Ren'Py's fault. But it really shouldn't be, unless you're doing something like using {size=} or something like that.
It's not nearly a game... yet, just a starting framework. But sure.
Computers are useless. They can only give you answers. —Pablo Picasso

Image

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Bing [Bot]