RMMV Change Font Size for different language using SRD (SRDude) Translation Engine

yiling

Villager
Member
Joined
Feb 10, 2018
Messages
15
Reaction score
1
First Language
chinese
Primarily Uses
RMMV
View attachment 189234
Hi everyone!
I have some issue using SRD's Translation Engine plugin (http://sumrndm.site/translation-engine/)
I used a larger font (42pt) for the entire game, and when it was for the other two languages (Chinese and Japanese), the font size works fine. When it was English, the lines always exceed the borders.
Would it be possible to modify the plugin, or somehow manipulate it, so that, whenever it is in English, the font size goes down to about 30?
 

ShadowDragon

Realist
Veteran
Joined
Oct 8, 2018
Messages
4,008
Reaction score
1,523
First Language
Dutch
Primarily Uses
RMMV
not sure, but you can do a runup autorun on the start of the game?
and check if the language = english, change font to x, otherwise
if it's chinese,, change font to x.

I dont know if you can change font on the fly by scriptcall, but that is what
comes to mind if it does work.

but I think there is a way to check the language regardless.
 

yiling

Villager
Member
Joined
Feb 10, 2018
Messages
15
Reaction score
1
First Language
chinese
Primarily Uses
RMMV
Thank you ShadowDragon! You have helped me out so many times and I couldn't find a way to express my appreciation of your kind help. Your method sounds very promising, and I will give this a try!
not sure, but you can do a runup autorun on the start of the game?
and check if the language = english, change font to x, otherwise
if it's chinese,, change font to x.

I dont know if you can change font on the fly by scriptcall, but that is what
comes to mind if it does work.

but I think there is a way to check the language regardless.
 

ShadowDragon

Realist
Veteran
Joined
Oct 8, 2018
Messages
4,008
Reaction score
1,523
First Language
Dutch
Primarily Uses
RMMV
looking around, you can change the fontSize probably by using this:

JavaScript:
this.contents.fontSize = x ;

x is the size, default is 24 I think, but there is 1 slight problem if this works,
it would change the entire fonts (scene menu, scene title, scene item, scene equip,
battles etc).

if you want to do it in pure messages only, you probably need a plugin,
that target the message system, and maybe a variable if using choices.

so you can use a fix variable ID, and change size for the message accordenly.
I am not yet able to do this or what to look for the message window.

but if it require a plugin, hopefully someone is able to do so.
 

Latest Threads

Latest Posts

Latest Profile Posts

Pretty much stopped posting in the progress thread cuz it feels like talking to the void, lol, so I've just been posting on IG instead. But someone finally liked my post there, lol. Dunno if I'll continue tho. Probably not xD

My game's progressing quite well. Just kinda stuck on mapping right now. Decided to go the side, slightly top down view route. I'm drawing everything from scratch for a personal touch uwu
Stomach isn't feeling too good last time. Perhaps something I ate
Phew! logged back. Seems I was too occupied with 3D learning (yeah for RPGM purposes) creating IRL space, trying to grow catnip, dealing with health and DC is good. (so MrC) ^^
Tyler.stewart wrote on Cherry's profile.
I was wondering if you've heard anything about the patch that allows you to show text anywhere on the screen utilizing pictures being upgraded to work with the official 2k3 release? Your work with 2k3 is awesome dude, keep it alive. I'm 33 and am still playing with 2k3 largely thanks to your work with the game engine. I appreciate the official patch updates you post. Please continue posting
Currently trying to add items in the same style as Kyrise's excellent icons. I like having a large variety of items :3 KyriseandMe.PNG

Forum statistics

Threads
112,333
Messages
1,067,471
Members
145,973
Latest member
Arcanica
Top