font is cut off
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.
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.
font is cut off
The lower part of a certain pixel font that I am using in Ren'Py is being cut off, like so:
Can I rectify this? How?
Changing line_spacing does nothing.
Can I rectify this? How?
Changing line_spacing does nothing.
- jack_norton
- Lemma-Class Veteran
- Posts: 4087
- Joined: Mon Jul 21, 2008 5:41 pm
- Completed: Too many! See my homepage
- Projects: A lot! See www.winterwolves.com
- Tumblr: winterwolvesgames
- Contact:
Re: font is cut off
I have a similar problem but only with the latest version (before was working ok). If you want you can download renpy 6.12 and check if the same font works fine, in this case is a bug of the new renpy and you only need to wait for pytom to fix it
- Camille
- Eileen-Class Veteran
- Posts: 1227
- Joined: Sat Apr 23, 2011 2:43 pm
- Completed: Please see http://trash.moe
- Projects: the head well lost
- Organization: L3
- Tumblr: narihira
- Deviantart: crownwaltz
- itch: lore
- Contact:
Re: font is cut off
Have you tried also changing line_leading? Sometimes this happened in my game, but changing line_spacing helped... D:
- PyTom
- Ren'Py Creator
- Posts: 16097
- 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: font is cut off
If you can, please post the font you're using, so I can analyze it.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom(When was the last time you backed up your game?)
Software > Drama • https://www.patreon.com/renpytom
Re: font is cut off
line_leading does something really weird in that the first line displays as in the screenshot above, but as the line below it rolls in (from slow_cps), the bottom half of the first line is revealed.
This is the font: http://www.mediafire.com/?00dm0f2rha5ru28
This is the font: http://www.mediafire.com/?00dm0f2rha5ru28
Re: font is cut off
PyTom, did you get around to this?
- PyTom
- Ren'Py Creator
- Posts: 16097
- 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: font is cut off
I did.
The problem is with the font. According to the font, it has a positive descender - which means that instead of descending below the baseline, characters like j and p end 7 pixels above it. That's nonsensical.
Since I don't think any real fonts would have this problem, I went ahead and added a check for this problem. This isn't a bug fix, but rather a kludge that improves compatibility. The upshot is that 6.13.1 will be able to read this, eventually.
The problem is with the font. According to the font, it has a positive descender - which means that instead of descending below the baseline, characters like j and p end 7 pixels above it. That's nonsensical.
Since I don't think any real fonts would have this problem, I went ahead and added a check for this problem. This isn't a bug fix, but rather a kludge that improves compatibility. The upshot is that 6.13.1 will be able to read this, eventually.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom(When was the last time you backed up your game?)
Software > Drama • https://www.patreon.com/renpytom
- jack_norton
- Lemma-Class Veteran
- Posts: 4087
- Joined: Mon Jul 21, 2008 5:41 pm
- Completed: Too many! See my homepage
- Projects: A lot! See www.winterwolves.com
- Tumblr: winterwolvesgames
- Contact:
Re: font is cut off
It's the same also for my font? I don't think so since in previous version it was showing OK (so don't think is a problem with the font itself).
- PyTom
- Ren'Py Creator
- Posts: 16097
- 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: font is cut off
jack, your font problem was an actual bug triggered by negative line_spacing. (In fact, several bugs.) Tonight's pre-release will have a fix for it.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom(When was the last time you backed up your game?)
Software > Drama • https://www.patreon.com/renpytom
- jack_norton
- Lemma-Class Veteran
- Posts: 4087
- Joined: Mon Jul 21, 2008 5:41 pm
- Completed: Too many! See my homepage
- Projects: A lot! See www.winterwolves.com
- Tumblr: winterwolvesgames
- Contact:
Who is online
Users browsing this forum: No registered users