Lemma Soft Forums

Supporting creators of visual novels and story-based games since 2003.


Visit our new games list, blog aggregator, IRC, and wiki.
Activation problem? Email [email protected]
It is currently Sun May 19, 2013 3:56 am

All times are UTC - 5 hours [ DST ]


Forum rules


Ren'Py support questions should go here. This forum is for discussing changes to Ren'Py itself.



Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Sun Jan 29, 2012 2:01 pm 
Veteran
User avatar

Joined: Fri Mar 13, 2009 5:26 pm
Posts: 316
Location: Canada
Completed: Frozen Essence, Legend of the Piper Girl, Heartstring Bugs
Projects: Unnamed VN
Organization: Unbroken Hours
I don't know what causes this but maybe it's the type of font I'm using. Did something happen to the text-display-something in the newest RenPy? It's fine in RenPy version 6.12.

This doesn't happen all the time but it happens maybe during 5-10% of dialogue. The white specks below the first line is bits of the next line of text.

I don't know if there is a fix but my other option is to find a new font and then adjust all the lines in case they go outside the text box, or to reuse 6.12 just to keep this font.

I'm also bringing it up in case the new RenPy doesn't support other fonts.

The font I'm using is here.
http://www.dafont.com/kurzetstype.font

Oh, and ignore the red error at the top of the screenshot.


Attachments:
screenshot0003.png
screenshot0003.png [ 443.46 KiB | Viewed 374 times ]

_________________
Send me a pm if I forget or fall behind on something you need if you're still working on your project /

Available for download: Frozen Essence, Legend of the Piper Girl, Heartstring Bugs
Forum / Twitter/ Facebook
Top
 Profile Send private message  
 
PostPosted: Mon Jan 30, 2012 6:19 pm 
Ren'Py Creator
User avatar

Joined: Mon Feb 02, 2004 10:58 am
Posts: 10770
Location: Kings Park, NY
Completed: Moonlight Walks
Projects: Ren'Py
There was a major change to the way 6.13 handled text. In previous versions, Ren'Py would draw the text one character at a time, sending a new texture to the video card each time. This prevented future characters from showing up, but lead to some problem with peformance when displaying big screens of text. (IIRC, there was one game that had a paragraph long enough that you'd see a visible slowdown while typing out that paragraph.)

6.13 draws each block of text once, sends it to the video card, and then blits one line at a time to the card. This is way faster, but if the font is made such that lines overlap, you can get the effect you see above.

While we can't do anything in the case where two lines actually overlap, it looks like in your case, we're dealing with an overlap in the whitespace between lines. I included a setting in Ren'Py for just this case. You'll want to write:

Code:
init python:
    style.default.line_overlap_split = -1


Adjust the number to allocate more of the overlap to the first line, decrease it to allocate more to the second - you should see a change with each adjustment, and hopefully you'll be able to find a setting that is pleasing to you. You can also increase line_leading or line_spacing, but those will increase the vertical spacing of your text.

Hope this helps.

_________________
Another Old-Fashioned Bishoujo Gamer
Supporting creators since 2004; Code > Drama
(When was the last time you backed up your game?)
"It is not the critic who counts; not the man who points out how the strong man stumbles, or where the doer of deeds could have done them better. The credit belongs to the man who is actually in the arena, whose face in marred by dust and sweat and blood; who strives valiantly; who errs, who comes short again and again, because there is no effort without error and shortcoming" - Theodore Roosevelt


Top
 Profile Send private message  
 
PostPosted: Mon Jan 30, 2012 7:17 pm 
Veteran
User avatar

Joined: Fri Mar 13, 2009 5:26 pm
Posts: 316
Location: Canada
Completed: Frozen Essence, Legend of the Piper Girl, Heartstring Bugs
Projects: Unnamed VN
Organization: Unbroken Hours
The line_overlap_split on it's own cuts off the bottom of the g's, and y's. I tried all of the three suggestions you mentioned and the adjustments work. Thank you. =)

_________________
Send me a pm if I forget or fall behind on something you need if you're still working on your project /

Available for download: Frozen Essence, Legend of the Piper Girl, Heartstring Bugs
Forum / Twitter/ Facebook


Top
 Profile Send private message  
 
PostPosted: Mon Jan 30, 2012 10:40 pm 
Ren'Py Creator
User avatar

Joined: Mon Feb 02, 2004 10:58 am
Posts: 10770
Location: Kings Park, NY
Completed: Moonlight Walks
Projects: Ren'Py
You might be able to find a setting for it where it works. But if you can live with the spacing, then bully for you.

_________________
Another Old-Fashioned Bishoujo Gamer
Supporting creators since 2004; Code > Drama
(When was the last time you backed up your game?)
"It is not the critic who counts; not the man who points out how the strong man stumbles, or where the doer of deeds could have done them better. The credit belongs to the man who is actually in the arena, whose face in marred by dust and sweat and blood; who strives valiantly; who errs, who comes short again and again, because there is no effort without error and shortcoming" - Theodore Roosevelt


Top
 Profile Send private message  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Protected by Anti-Spam ACP
Powered by phpBB® Forum Software © phpBB Group