polarsys / b612

Eclipse B612

Home Page:https://projects.eclipse.org/projects/polarsys.b612

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to render without anti-aliasing?

JDeeth opened this issue · comments

Hi, sorry if this is too general a topic for this forum, feel free to close if it is.

I want to use this typeface in something close to an aircraft cockpit application - well, a hobbyist flight sim setup - on an OLED screen whose pixels are either on or off, no greyscale, no anti-aliasing.

If I wanted fixed-width B612 numerals with a letter height of 25-30 pixels, is there a canonical way to render the font like that?

What I've done instead, minimal effort, is to render the font at about the right size and manually select or unselect the anti-aliased pixels. This shows the general (incomplete) idea:
B612 128x32 (1)