I'm using a different font and the characters are grouped together a bit closely. Is there a way to increase the space in between letters?
Increase Space Between Letters
JS Plugin RequestsOn all screens or just the message window?
You're going to need a plugin.
You're going to need a plugin.
Can you confirm that it's drawing too close on all screens? Can you give screenshots showing a message, the Item window (with an item selected and the description showing in the help window), and the Status screen for one character? Also battle log text.
Reason I ask is that the message window and some of the other windows draw text quite differently to others, so need to be sure that ALL text is affected and not just that on some screens.
Reason I ask is that the message window and some of the other windows draw text quite differently to others, so need to be sure that ALL text is affected and not just that on some screens.
Here's some screenshots.
As you can see a lot of letters overlap.
Not signed in
Not signed in
As you can see a lot of letters overlap.
Not signed in
I've moved this thread to JS Plugin Requests. Please be sure to post your threads in the correct forum next time. Thank you.
I tried but this is quite complicated and I'm not sure there's a good solution...
I'd suggest you to just edit the font with a font editor.
However, you could try with this:
Right Click to Download
It won't work with right alignment (like Hp values in the menu), but maybe it could be done... I'll try to fix it when I have some spare time.
Istructions:
- space1 space between the Characters in the title. Default is 0.5.
- space2 space between the Characters in messages. Default is 2.
Plugin Commands:
- txtspace1 x Change the space between the Characters to x in the title.
- txtspace2 x Change the space between the Characters to x in messages.
I'd suggest you to just edit the font with a font editor.
However, you could try with this:
Right Click to Download
It won't work with right alignment (like Hp values in the menu), but maybe it could be done... I'll try to fix it when I have some spare time.
Istructions:
- space1 space between the Characters in the title. Default is 0.5.
- space2 space between the Characters in messages. Default is 2.
Plugin Commands:
- txtspace1 x Change the space between the Characters to x in the title.
- txtspace2 x Change the space between the Characters to x in messages.
@SEK thanks for trying!
Though, it didn't work for me because it would remove some text from my menu options, I wanna thank you for taking the time to try and help me.
I'm gonna try to manually edit the font so it's not so close together but I've never done anything like that before. Hopefully I can get it done correctly.
If not maybe the fixed version of your plugin might work! <3
Though, it didn't work for me because it would remove some text from my menu options, I wanna thank you for taking the time to try and help me.
I'm gonna try to manually edit the font so it's not so close together but I've never done anything like that before. Hopefully I can get it done correctly.
If not maybe the fixed version of your plugin might work! <3
Could still use some help with this.
http://www.w3schools.com/cssref/tryit.asp?filename=trycss_letter-spacing
try to add in the font.css of rmmv
more info here.
http://stackoverflow.com/questions/8952909/letter-spacing-in-canvas-element
I dont think the rmmv engine, canvas, can take this css attribute, so you need to do in javascript. (slice method) (performance issu)
But the best way, is to edit your Font.ttf with a free editor, is thas i do by my side.
Rmmv dont give good info about where and how the letter are render.
you can make some test to change title distance, with this line. in [rpg_scenes.js]
but i no found way.
I try change maxWidth, is work but resize only ..,
outlineWidth with outlineColor transparent, but no give more distance
For the outlineWidth i test in mine project but you can try in your.
You have no choice to edit your own Font, with a font maker.
https://fontforge.github.io/en-US/
Or do .slice javascript, but performance issu.
Scene_Title.prototype.drawGameTitle = function() {
var x = 20;
var y = Graphics.height / 4;
var maxWidth = Graphics.width - x * 2;
var text = $dataSystem.gameTitle;
this._gameTitleSprite.bitmap.outlineColor = 'black';
this._gameTitleSprite.bitmap.outlineWidth = 8;
this._gameTitleSprite.bitmap.fontSize = 72;
this._gameTitleSprite.bitmap.drawText(text, x, y, maxWidth, 48, 'center');
};
But am very interesting by change space letter, if some can found a way or give more javascript information.
Other more info here but is in Java and not javascript
http://tippinggoat.com/blog/2014/06/sprite-based-text/
It's incredible that this engine has a problem just like this.
However i followed your suggestion, Jon, and i resolved it. Look my topic:
Font problem: Space Between Letters- Spacing - Metrics
Hi guys. I have this strange problem. I changed the default font in this: https://www.dafont.com/anklada.font and i'm facing this strange issue. Letters appear too attached to each other and they doesn't respect the default spacing (metrics) between letters that i see. In word or in other...
forums.rpgmakerweb.com
Original thread: https://forums.rpgmakerweb.com/threads/increase-space-between-letters.71336/
