Page 1 of 1

Strange font issues

Posted: Thu Sep 27, 2007 6:14 pm
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?

Re: Strange font issues

Posted: Thu Sep 27, 2007 7:10 pm
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.

Re: Strange font issues

Posted: Thu Sep 27, 2007 7:31 pm
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.