We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 654381e commit 9954190Copy full SHA for 9954190
Source/simba.pixelocr.pas
@@ -609,14 +609,15 @@ function TPixelOCR.RecognizeLines(Image: TSimbaImage; constref Font: TPixelFont;
609
var
610
isBinary: Boolean;
611
Match: TPixelOCRMatch;
612
+ i: Integer;
613
begin
614
if (Length(Font.Glyphs) = 0) then
615
SimbaException('Font is empty');
616
617
if not AlphaNumSymbolTableInitialized then
618
619
FillChar(AlphaNumSymbolTable, SizeOf(AlphaNumSymbolTable), False);
- for i to High(ALPHA_NUM_SYMBOLS) do
620
+ for i := 0 to High(ALPHA_NUM_SYMBOLS) do
621
AlphaNumSymbolTable[ALPHA_NUM_SYMBOLS[i]] := True;
622
AlphaNumSymbolTableInitialized := True;
623
end;
0 commit comments