honeyhoney
2013-05-14 09:33:11
Used to be pretty good at this OCR stuff when it came to using the fonts that come with Simba but now I need/want to use a font that doesn't come with it.
I've created the bitmaps for the font (A-Z, capitals only, no spaces/symbols - numbered 65 to 90).
I've messed around with all the different values and can't seem to get this working;
I've defined the area closely round the text (often returns nothing). I've also encompassed multiple lines of text in which case it returns a jumble mess of characters (often some characters that aren't even present!). And finally I've tried to check for individual letters on their own.
This has lead me to believe that I've messed up somewhere when creating the bitmaps for the font.
Here's the A, B, and C bitmaps:

(they got converted to .jpg by tinypic, here's a rar file including the bitmaps I've made: http://up.ht/16wZzlZ)
Here's what they look like when typed out:
Here's a link to the font: http://www.fontspace.com/jackster-productions/pokemon-gb
Any help is appreciated.
I've created the bitmaps for the font (A-Z, capitals only, no spaces/symbols - numbered 65 to 90).
I've messed around with all the different values and can't seem to get this working;
LoadFont('CustomFont', False); //not too sure if this is even necessary as the font is found in Simba\Fonts\
GetTextAtExWrap(119, 95, 214, 190, 0, 0, 0, 0, 0, 'CustomFont');I've defined the area closely round the text (often returns nothing). I've also encompassed multiple lines of text in which case it returns a jumble mess of characters (often some characters that aren't even present!). And finally I've tried to check for individual letters on their own.
This has lead me to believe that I've messed up somewhere when creating the bitmaps for the font.
Here's the A, B, and C bitmaps:


(they got converted to .jpg by tinypic, here's a rar file including the bitmaps I've made: http://up.ht/16wZzlZ)Here's what they look like when typed out:
Here's a link to the font: http://www.fontspace.com/jackster-productions/pokemon-gbAny help is appreciated.

