italics font characters cut off
- jack_norton
- Lemma-Class Veteran
- Posts: 4085
- Joined: Mon Jul 21, 2008 5:41 pm
- Completed: Too many! See my homepage
- Projects: A lot! See www.winterwolves.com
- Tumblr: winterwolvesgames
- Contact:
italics font characters cut off
as you can see the character in the beginning of each line is truncated, while the one at the end of it are fine. I checked and the "bug" was present also in the old version, probably I didn't notice it because rarely used italics font.
The font is italics on the TTF, so not using any {i} tag. I also tried with printing simple text (the screenshot above is from a NVL screen) and same problem. I checked 2-3 different italics fonts and got this behavior so I don't think it's a problem related to the font... ?
- jack_norton
- Lemma-Class Veteran
- Posts: 4085
- 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: italics font characters cut off
I also just tried using BMFont (so not TTF, but rendered font) and the same bug happens, so it seems really that somehow Ren'Py cuts the first pixels of the characters on start of each new line.
The font I used is this one (from google webfonts):
The font I used is this one (from google webfonts):
- 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: italics font characters cut off
Tracking this here:
https://github.com/renpy/renpy/issues/34
I'm not sure if this is in the font data, or in Ren'Py. Until I figure it out, I recommend setting:
Indenting the text evenly will add some extra space, which might help things.
https://github.com/renpy/renpy/issues/34
I'm not sure if this is in the font data, or in Ren'Py. Until I figure it out, I recommend setting:
Code: Select all
init python:
style.whatever.first_indent = 10
style.whatever.rest_indent = 10
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: 4085
- 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: italics font characters cut off
Thanks, that fixed it! I really think is something in Ren'Py, since I have tried several other fonts with same results:
- Attachments
-
[The extension ttf has been deactivated and can no longer be displayed.]
-
[The extension ttf has been deactivated and can no longer be displayed.]
Re: italics font characters cut off
What do you think the best font for a beginner would be? Or am I overthinking this? I just don't run to run into any issues early on
Who is online
Users browsing this forum: No registered users