Results 1 to 5 of 5

Thread: Making fonts

  1. #1
    Join Date
    Feb 2012
    Posts
    25
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Making fonts

    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
    Last edited by Velvet Glam; 07-11-2012 at 12:04 AM.

  2. #2
    Join Date
    Feb 2006
    Location
    Amsterdam
    Posts
    13,692
    Mentioned
    146 Post(s)
    Quoted
    130 Post(s)

    Default

    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.



    The best way to contact me is by email, which you can find on my website: http://wizzup.org
    I also get email notifications of private messages, though.

    Simba (on Twitter | Group on Villavu | Website | Stable/Unstable releases
    Documentation | Source | Simba Bug Tracker on Github and Villavu )


    My (Blog | Website)

  3. #3
    Join Date
    Feb 2012
    Posts
    25
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Wizzup? View Post
    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?

  4. #4
    Join Date
    Feb 2012
    Location
    Somewhere, over the rainbow...
    Posts
    2,272
    Mentioned
    3 Post(s)
    Quoted
    45 Post(s)

    Default

    Quote Originally Posted by Velvet Glam View Post
    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.

  5. #5
    Join Date
    Feb 2012
    Posts
    25
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by abu_jwka View Post
    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

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •