Skip to content

Commit 70d5b66

Browse files
committed
Add Verdana fonts to OCR
Wanted to wait a couple days till everyone had the new fonts in the cache so it wouldn't cause a bunch of errors for people. Seems like a good time ahead of sailing release.
1 parent deac59e commit 70d5b66

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

utils/ocr.simba

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,9 @@ type
9797
BOLD_SHADOW: TPixelFont;
9898
QUILL_8: TPixelFont;
9999
QUILL: TPixelFont;
100+
VERDANA_13: TPixelFont;
101+
VERDANA_13_Bold:TPixelFont;
102+
VERDANA_15: TPixelFont;
100103
Unzipping: Boolean;
101104
Timeout: TCountDown;
102105

@@ -126,6 +129,10 @@ begin
126129

127130
Self.QUILL_8 := OCR.Engine.LoadFont(Self.PATH + 'Quill 8', 4);
128131
Self.QUILL := OCR.Engine.LoadFont(Self.PATH + 'Quill', 4);
132+
133+
Self.VERDANA_13 := OCR.Engine.LoadFont(Self.PATH + 'Verdana 13', 4);
134+
Self.VERDANA_13_Bold := OCR.Engine.LoadFont(Self.PATH + 'Verdana 13 Bold', 4);
135+
Self.VERDANA_15 := OCR.Engine.LoadFont(Self.PATH + 'Verdana 15', 4);
129136
end;
130137

131138
procedure TRSFonts._UnzipFinished(constref result: TASyncUnzipResult);

0 commit comments

Comments
 (0)