Having issues with changing the font ypos when certain situations pop up
Posted: Sat Oct 22, 2022 8:24 pm
The issue I'm running into is, I change fonts in certain circumstances, but, Font B, the one I switch to, is lower than Font A.
(Additional info that I don't think you need to know, but it adds more context, Font A is a regular font, however, no italic version of it exists, so I'm switching to another font to fix that issue)
I've narrowed it down to number that changes its Y position is in this part, "ypos":
Try as I may, I can't figure out how to set it up to change this value for certain sentences.
I tried a lot of things, a lot, I can't crack it. Feels like there should be a simple fix, but my tiny brain can't solve it.
Thank you again for any help offered.
BONUS QUESTION (optional)
Also, if you know a way to adjust the space between fonts (vertically), that would help.
Sentence A, Sentence A, Sentence A, Sentence A, Sentence A, Sentence A,
<this is the space I'm talking about>
Sentence B, Sentence B, Sentence B, Sentence B, Sentence B, Sentence B,
(Additional info that I don't think you need to know, but it adds more context, Font A is a regular font, however, no italic version of it exists, so I'm switching to another font to fix that issue)
I've narrowed it down to number that changes its Y position is in this part, "ypos":
Code: Select all
style say_dialogue:
properties gui.text_properties("dialogue")
justify True
xpos 30
xsize 440
ypos -20I tried a lot of things, a lot, I can't crack it. Feels like there should be a simple fix, but my tiny brain can't solve it.
Thank you again for any help offered.
BONUS QUESTION (optional)
Also, if you know a way to adjust the space between fonts (vertically), that would help.
Sentence A, Sentence A, Sentence A, Sentence A, Sentence A, Sentence A,
<this is the space I'm talking about>
Sentence B, Sentence B, Sentence B, Sentence B, Sentence B, Sentence B,