Font is far lower than it should be?

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
Kita
Newbie
Posts: 4
Joined: Thu Jan 29, 2015 6:04 pm
Contact:

Font is far lower than it should be?

#1 Post by Kita » Thu Feb 05, 2015 6:50 pm

http://i.imgur.com/CQ5zHod.png

Here's my issue. This font I'm using for whatever reason is quite a few pixels lower than it should be. It works fine in microsoft word, but goes bananas here.

I looked at this thread here http://lemmasoft.renai.us/forums/viewto ... ne_leading

But considering that that's from 2011, I was wondering if there's an update on how to fix this. I think the font will be useful for my audience (the font helps dyslexic students, and is bubbly enough for those with autism)

Thanks in advance

User avatar
octacon100
Regular
Posts: 163
Joined: Thu Sep 12, 2013 11:23 pm
Projects: Regeria Hope
Organization: Golden Game Barn
IRC Nick: Octacon100
Location: Boston, MA
Contact:

Re: Font is far lower than it should be?

#2 Post by octacon100 » Fri Feb 06, 2015 11:42 am

Hi Kita,

New fonts are sometimes finicky, you can change the location of where text goes using styles:

Code: Select all

style.say_vbox.ypos = -0.04
    
    style.say_label.font = "FjallaOne-Regular.ttf"
    style.say_label.size = 28
    style.say_label.outlines = {(3, "#000", -0.25, -0.25)}

    style.say_dialogue.ypos = -0.1
style.say_dialogue.ypos = -0.1 is the one you will want to edit, I think.
Image
Current Digital Projects -
Image
Regiera Hope Completed Game Forum Post

Kita
Newbie
Posts: 4
Joined: Thu Jan 29, 2015 6:04 pm
Contact:

Re: Font is far lower than it should be?

#3 Post by Kita » Tue Feb 10, 2015 1:22 pm

IDK what it does, but it works. I even liked the outline stuff you provided for names. Probably saved me future time.

Post Reply

Who is online

Users browsing this forum: zyric