Skip to content

Add TPixelOCR.LoadFont with a TImageArray - #568

Open
Torwent wants to merge 3 commits into
Villavu:simba2000from
WaspScripts:pixelocr
Open

Add TPixelOCR.LoadFont with a TImageArray#568
Torwent wants to merge 3 commits into
Villavu:simba2000from
WaspScripts:pixelocr

Conversation

@Torwent

@Torwent Torwent commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

I only did a compile test of Simba and ran it just to be sure it compiled properly but I did not actually test this as I don't have enough stuff to test it yet sadly but I think I did it properly.

Anyways, this allows people (me) to load a font with images instead of a font path.
It requires a TImageArray with exactly 255 images to be used even if a bunch of them end up being skipped because they are spaces.
Also, their index should be their char code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant