Font problem: Space Between Letters- Spacing - Metrics

DarkSearinox92

Veteran
Veteran
Joined
Jan 8, 2013
Messages
516
Reaction score
91
First Language
Italian
Primarily Uses
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 software, the font is good and spacing is perfect.

I found an old topic: https://forums.rpgmakerweb.com/index.php?threads/increase-space-between-letters.71336/ when people say to modify the font. But the font is good. It doesn't have problems. It's RPG Maker that create this strange issue...

Screen1.JPG Normal message.

Screen2.JPG Yanfly Quest Window

Screen3.JPG In Word, normal spacing between letters.
 
Last edited:

zzmmorgan

I've used punchcards
Veteran
Joined
Jul 10, 2020
Messages
120
Reaction score
197
First Language
English
Primarily Uses
RMMV
Have you tried modifying the padding in the settings for Yanfly's Quest plugin? It's got some settings for how it handles fonts you can tinker with.
 

DarkSearinox92

Veteran
Veteran
Joined
Jan 8, 2013
Messages
516
Reaction score
91
First Language
Italian
Primarily Uses
Have you tried modifying the padding in the settings for Yanfly's Quest plugin? It's got some settings for how it handles fonts you can tinker with.

I tried to modify the padding, but absolutely nothing changes and I don't understand why.

Could you try to do the same with that font? So you will see the problem...
 

DarkSearinox92

Veteran
Veteran
Joined
Jan 8, 2013
Messages
516
Reaction score
91
First Language
Italian
Primarily Uses
UP? Guys? Anybody can help with this problem?
 

DarkSearinox92

Veteran
Veteran
Joined
Jan 8, 2013
Messages
516
Reaction score
91
First Language
Italian
Primarily Uses
BUMP! Is it possible that nobody can know this thing? :(
 

DarkSearinox92

Veteran
Veteran
Joined
Jan 8, 2013
Messages
516
Reaction score
91
First Language
Italian
Primarily Uses
Nobody can help with a question like this? :( 2 month ç_ç
 

DarkSearinox92

Veteran
Veteran
Joined
Jan 8, 2013
Messages
516
Reaction score
91
First Language
Italian
Primarily Uses
Really NOBODY can answer to this question ? :(
 

mlogan

Global Moderators
Global Mod
Joined
Mar 18, 2012
Messages
16,054
Reaction score
8,906
First Language
English
Primarily Uses
RMMV
Have you tried the same font in a new project without the plugin?
 

DarkSearinox92

Veteran
Veteran
Joined
Jan 8, 2013
Messages
516
Reaction score
91
First Language
Italian
Primarily Uses
Have you tried the same font in a new project without the plugin?

Yes, i tried. I also tried this script for change the space between letters, and... letters are spaced correctly, but some letters didn't space in the right way and they still attached. It's a very strange thing.

Try yourself with this font for see the result. In a simple project, you can immediately see some letters not writted good...
 

Attachments

  • anklada.rar
    13.7 KB · Views: 2

ShadowDragon

Realist
Veteran
Joined
Oct 8, 2018
Messages
4,014
Reaction score
1,523
First Language
Dutch
Primarily Uses
RMMV
there are some wyas I know off, but html/css related, for js
is a different story and nothing in the Window_Base say something on
spacing in general, and have to be made.

I dont know if the html index reads can be used to add spaces as well
combined with css function in it. ( need to test this to be certain ).

because it should be an default option in case this might happen, there
are parts of fonts that works how it should, but not when you use it in
a browser (which rpg is also browserbased), and some spacing need to
be added.

a plugin for this with the added function seems usefull in cases like this.
I might do some test later this week if I dont forget it, (kinda busy atm)
to see if the html/css will work in it, otherwise a plugin is required.

I might dig into my MC plugin how I the confirmation is made,
which has similair for the window box adjustment and spacing for those.
which might be doable for the window_base as well, not sure how to
target the letters in general atm.

but I hope someone have a better solution or able to make this happen
for you, because it is really usefull for some fonts with the same issue.

EDIT:
@DarkSearinox92
while the change is slim on fixing it by html is there, but with JS there
can be problems, specially how the quest journal is written.
if you use more fonts for example, this will affact as well and while
it is a browser based, this can be quite complicated to make and it
wont be easy to do so because how the drawTextEx functions.

if you use more fonts to choose from, the and more fonts have this type
of issue, the best way for you is to look for a similair font that looks closely
to the one you use, or use a different font enterly!

I'm not sure if someone would make this plugin, while it is possible, but
more complicated how it should behave, specially with other plugins that
use drawTextEx function!

because if you solve the Quest journal with it, another problem might arise
and should be fix, than another, so this wont be an easy one in overal.
 
Last edited:

DarkSearinox92

Veteran
Veteran
Joined
Jan 8, 2013
Messages
516
Reaction score
91
First Language
Italian
Primarily Uses
there are some wyas I know off, but html/css related, for js
is a different story and nothing in the Window_Base say something on
spacing in general, and have to be made.

I dont know if the html index reads can be used to add spaces as well
combined with css function in it. ( need to test this to be certain ).

because it should be an default option in case this might happen, there
are parts of fonts that works how it should, but not when you use it in
a browser (which rpg is also browserbased), and some spacing need to
be added.

a plugin for this with the added function seems usefull in cases like this.
I might do some test later this week if I dont forget it, (kinda busy atm)
to see if the html/css will work in it, otherwise a plugin is required.

I might dig into my MC plugin how I the confirmation is made,
which has similair for the window box adjustment and spacing for those.
which might be doable for the window_base as well, not sure how to
target the letters in general atm.

but I hope someone have a better solution or able to make this happen
for you, because it is really usefull for some fonts with the same issue.

EDIT:
@DarkSearinox92
while the change is slim on fixing it by html is there, but with JS there
can be problems, specially how the quest journal is written.
if you use more fonts for example, this will affact as well and while
it is a browser based, this can be quite complicated to make and it
wont be easy to do so because how the drawTextEx functions.

if you use more fonts to choose from, the and more fonts have this type
of issue, the best way for you is to look for a similair font that looks closely
to the one you use, or use a different font enterly!

I'm not sure if someone would make this plugin, while it is possible, but
more complicated how it should behave, specially with other plugins that
use drawTextEx function!

because if you solve the Quest journal with it, another problem might arise
and should be fix, than another, so this wont be an easy one in overal.

Thank you for your reply, Shadow.
I want to add a particular that maybe it's not explained well with screenshot (or maybe you understood right): the problem is not in the quest journal, the problem is in evey type of messages. Some letters are too much near, and other letters are written with the right space.

As I said, I tried a plugin that add space between letters, but it didn't resolve the problem. Letters that are near, will be near in the same way, spaced but not with the right spacing xD is very incredible...

I will try another font, however this thing is very strange... the fact is that the font works well in word, for example...
 

ShadowDragon

Realist
Veteran
Joined
Oct 8, 2018
Messages
4,014
Reaction score
1,523
First Language
Dutch
Primarily Uses
RMMV
word, and other does work normally, browsers can have it differently.
it might be solved with html/css but if you use more fonts, this will
also mess up.

I got 8 fonts that has the exact same issue, works perfect word and
other software, but not in browser, and while rpg is browser based,
it can be solved, but it's very complex to fix it.

if you fix this issue, it get an issue with another plugin, so you keep
basicly fixing or patching for all those plugins and can mess up
the other again.

it's do able, but it require alot of work, best way is a similair font reacting corectly
or another one that looks good to you that fit the game.

I dont know if people are willing to do this with spacing.
html/css is a bit easier target, js is not so much, unless you want to target
the pixi.js and cavas where I dont have knowledge off or want to mess with it.

but I wish you good luck on your project further ;)
 

DarkSearinox92

Veteran
Veteran
Joined
Jan 8, 2013
Messages
516
Reaction score
91
First Language
Italian
Primarily Uses
word, and other does work normally, browsers can have it differently.
it might be solved with html/css but if you use more fonts, this will
also mess up.

I got 8 fonts that has the exact same issue, works perfect word and
other software, but not in browser, and while rpg is browser based,
it can be solved, but it's very complex to fix it.

if you fix this issue, it get an issue with another plugin, so you keep
basicly fixing or patching for all those plugins and can mess up
the other again.

it's do able, but it require alot of work, best way is a similair font reacting corectly
or another one that looks good to you that fit the game.

I dont know if people are willing to do this with spacing.
html/css is a bit easier target, js is not so much, unless you want to target
the pixi.js and cavas where I dont have knowledge off or want to mess with it.

but I wish you good luck on your project further ;)


Thank you for your reply.

So basically you're advise me to use another font, correct? Uff ç_ç

Thank you so much for for the good luck :)
 

ShadowDragon

Realist
Veteran
Joined
Oct 8, 2018
Messages
4,014
Reaction score
1,523
First Language
Dutch
Primarily Uses
RMMV
thats what I said, best is to use similair, there are similair looking fonts,
with very low changes, just add 5 different font in a clean project,
use YEP_CUstom font and loading font, use the text command
for each line in a test mode font and looong wording spacing,
or idk what line, just to test and see how it goes, if your happy,
add it to your project, but it's the best what you can do.

to avoid more problems and to avoid plugin compability that uses the
drawTextEx function. or alot need to be modified to fit those.

I'm no expert in js though, but I did some research before replieing :)
 

DarkSearinox92

Veteran
Veteran
Joined
Jan 8, 2013
Messages
516
Reaction score
91
First Language
Italian
Primarily Uses
thats what I said, best is to use similair, there are similair looking fonts,
with very low changes, just add 5 different font in a clean project,
use YEP_CUstom font and loading font, use the text command
for each line in a test mode font and looong wording spacing,
or idk what line, just to test and see how it goes, if your happy,
add it to your project, but it's the best what you can do.

to avoid more problems and to avoid plugin compability that uses the
drawTextEx function. or alot need to be modified to fit those.

I'm no expert in js though, but I did some research before replieing :)

Thank you very much. I will try to search another similar font. I'm sad about this because i very like Anklada... T.T

Thank you for your time
 

DarkSearinox92

Veteran
Veteran
Joined
Jan 8, 2013
Messages
516
Reaction score
91
First Language
Italian
Primarily Uses
thats what I said, best is to use similair, there are similair looking fonts,
with very low changes, just add 5 different font in a clean project,
use YEP_CUstom font and loading font, use the text command
for each line in a test mode font and looong wording spacing,
or idk what line, just to test and see how it goes, if your happy,
add it to your project, but it's the best what you can do.

to avoid more problems and to avoid plugin compability that uses the
drawTextEx function. or alot need to be modified to fit those.

I'm no expert in js though, but I did some research before replieing :)

Hey @ShadowDragon. I tried other fonts, and they have always this problem. Is it possible? What the hell...

i also found other topics opened by people with the same problem.

It's horrible that nobody cares about this problem.



 
Last edited:

ShadowDragon

Realist
Veteran
Joined
Oct 8, 2018
Messages
4,014
Reaction score
1,523
First Language
Dutch
Primarily Uses
RMMV
I read that, but to looking deeper, this can be hard to fix in general.
it might be possible, but if you return to the default font, or use a
"hard pixel" or "Tahoma" font, does the same problem persist?

if it does, I cannot help you, I can try to find some similair fonts and the current
you use now for test purpose together with YEP_CustomFonts and Load them,
to see if its working or similair issue.

if you really want to aim for this font and no color change,
you can to make mockup and use SFont of victorSant if it's working.
otherwise, I have no clue.

the way the text is made is not easy to fix, and if you use more fonts, this
can be a problem, but if 1 way is fix, another will occure else where, if you fix
that, than the other might break again, but test a couple of fonts, see if those
work or if they persist overlapping.

otherwise, choose a couple of fonts that you like, and test them out for use :)
 

DarkSearinox92

Veteran
Veteran
Joined
Jan 8, 2013
Messages
516
Reaction score
91
First Language
Italian
Primarily Uses
I read that, but to looking deeper, this can be hard to fix in general.
it might be possible, but if you return to the default font, or use a
"hard pixel" or "Tahoma" font, does the same problem persist?

if it does, I cannot help you, I can try to find some similair fonts and the current
you use now for test purpose together with YEP_CustomFonts and Load them,
to see if its working or similair issue.

if you really want to aim for this font and no color change,
you can to make mockup and use SFont of victorSant if it's working.
otherwise, I have no clue.

the way the text is made is not easy to fix, and if you use more fonts, this
can be a problem, but if 1 way is fix, another will occure else where, if you fix
that, than the other might break again, but test a couple of fonts, see if those
work or if they persist overlapping.

otherwise, choose a couple of fonts that you like, and test them out for use :)

I tried it all, I went crazy, but maybe I managed to solve it.

Basically, with Font-Forge, I created more spacing between each individual symbol. Even if word and other programs read CORRECTLY the spacing created, the Engine DOES NOT SEEM TO READ CORRECTLY the spacing of a font, which may have letters very close together. Seeing the base font, for example, the letters have an almost "fixed" spacing from each other.

unknown.png

This is my font, for example, and manually i added value for right shoulder and left shoulder of each character. And then i've don a trial and error by reading something in the game and see how is it, and fixing then letters that i found overlapped.

Incredible that this is not supported by the engine. @Archeia

Very good "change font support"...
 
Last edited:

Latest Threads

Latest Posts

Latest Profile Posts

When there's a will, there's a lifehack. :ninja:

Before i mess with battle UI further, does it look decent enough? :hswt:
Free MZ? That's good. I should go try it out then.
Let's see if I can make it in time xD
Knipsel.PNG

Forum statistics

Threads
112,522
Messages
1,068,894
Members
146,202
Latest member
fmovieswebsite
Top