SRL Archive - OSR Help

Making fonts


Velvet Glam

2012-07-10 20:02:33

I am currently trying to make my own fonts, however, looking @ simba's current fonts it seems the amount of black on any 4 sides of the image is random?….so my question is does that matter? (does it affect the OCR?)

here is an example of what my script produces:
http://tinypic.com/r/53wr48/6

I simply have 2 black spaces on either side of the letter

Wizzup?

2012-07-10 20:14:08

Spacing matters. I can't think of the exact ``rules'', but it's usually a good idea to leave at least one vertical line (horizontal pixel) after each character. Letters aren't usually stuck to each other. Simba strips all spacing internally, but keeps it in memory somewhere to account for min/max spacing etc. The space is used to determine where to search for the next letter. For example, if you add a space at the end (horizontal pixel), Simba won't see the letter is the next letter is stuck to it. Which is usually what you want. Without spaces, it's hard to identify letters. (Possible, but Simba doesn't do this at the moment)

Two spaces on either side is probably too much. Home might know more about this.

Velvet Glam

2012-07-10 22:11:31

From: Wizzup?
Spacing matters. I can't think of the exact ``rules'', but it's usually a good idea to leave at least one vertical line (horizontal pixel) after each character. Letters aren't usually stuck to each other. Simba strips all spacing internally, but keeps it in memory somewhere to account for min/max spacing etc. The space is used to determine where to search for the next letter. For example, if you add a space at the end (horizontal pixel), Simba won't see the letter is the next letter is stuck to it. Which is usually what you want. Without spaces, it's hard to identify letters. (Possible, but Simba doesn't do this at the moment)

Two spaces on either side is probably too much. Home might know more about this.


Thanks for the great explanation, I will reduce it to one space on each side for now(currently in simba fonts, I see some letters with just 0-1 spaces on the left/right & then usually 2-3 spaces on the top to bottom)

is Home the one who makes the fonts that SRL uses?, if not can you point me in the direction of who does so I can speak with them about this "black space" and what is the correct amount to leave?

Abu

2012-07-11 11:20:54

From: Velvet Glam
if not can you point me in the direction of who does so I can speak with them about this "black space" and what is the correct amount to leave?


There is a tutorial here on making your own font set for Simba

You leave no space to the left, but one vertical space on the right.


More images of this are in the tutorial.

Velvet Glam

2012-07-11 12:21:13

From: abu_jwka
There is a tutorial here on making your own font set for Simba

You leave no space to the left, but one vertical space on the right.


More images of this are in the tutorial.


That is not the case.


Anyway..

It seems that GetTextAtEx returns all words with spaces inbetween each letter…and is not 100% perfect :(

And

FindTextTPAInTPA returns true sometimes and other times it does not :(