Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to render without anti-aliasing? #30

Open
JDeeth opened this issue Jan 18, 2024 · 0 comments
Open

How to render without anti-aliasing? #30

JDeeth opened this issue Jan 18, 2024 · 0 comments

Comments

@JDeeth
Copy link

JDeeth commented Jan 18, 2024

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)

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

No branches or pull requests

1 participant