The RPG Maker Resource Kit

RMRK RPG Maker Creation => RPG Maker General => General Scripting => Topic started by: thomasbradley on November 29, 2012, 12:43:26 AM

Title: [VX] ATS 3.0c Font Name/Size and Name Box Error?
Post by: thomasbradley on November 29, 2012, 12:43:26 AM
So I changed the font name and the size of the font for my game, and now the box is too small. Is there any way to fix this? It's worth noting that shorter names, such as Mia are not cut off. But longer ones, such as Phoenix, are.
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fimg844.imageshack.us%2Fimg844%2F3125%2Fnameboxerror.png&hash=3f5f60e2d8d24f1371aca686e6d1d6514a0b7279) (http://imageshack.us/photo/my-images/844/nameboxerror.png/)
Title: Re: [VX] ATS 3.0c Font Name/Size and Name Box Error?
Post by: modern algebra on November 29, 2012, 01:04:02 AM
Well, the problem is with the text_size method I suspect. Anyway, you could try adding spaces to the name at the end, though that is inconvenient. Otherwise, you would need to do a custom fix for the text_size method to work with that font.
Title: Re: [VX] ATS 3.0c Font Name/Size and Name Box Error?
Post by: thomasbradley on November 29, 2012, 01:44:43 AM
Thanks for the help, the spaces worked great, I don't know why I didn't think of it haha. I know very little about Ruby, so I'm not sure exactly what to do with your second suggestion, I looked around for things called "font_size" in the script but I couldn't seem to work it out. I'll just use the spaces, thanks!
Title: Срочно опубликовать научную статью журналы Уфа
Post by: Jamesmak on August 22, 2019, 04:19:32 PM
Педагогические конференции с публикацией Самара

Научно издательская деятельность в Стерлитамаке (https://efir-msk.ru)