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

text on the F1 help screen is difficult to read--glyphs are stretched without anti-aliasing #178

Open
xandark opened this issue Oct 6, 2021 · 1 comment

Comments

@xandark
Copy link

xandark commented Oct 6, 2021

Can anti-aliasing be used to draw this screen? It's hard to read and doesn't put a good face on this nice project:
Screenshot 2021-10-05 (19∶03∶50)
?

@ghedger
Copy link
Contributor

ghedger commented Feb 20, 2022

I actually had it working with the Apple II character font at one point. It looked pretty good, nice and sharp, not ugly, with a size ratio of 1:1, 2:1, 4:1 -- no fractions and no anti-aliasing really needed. Somehow that work never made it to the main repository and even mine is jacked up again.

As to anti-aliasing that possibly wades into the territory of the display engine. SDL 1.2 is limited -- there might be a way to do it, dunno, might not be. All the Apple II screen rendering is done in software, no GPU. That's how it was originally done and how it currently stands.

In the interest of efficiency it's been my practice to keep a screen resolution that matches a multiple of 280 in the x and 192 in the y -- 1120 x 768 looks very natural and is a nice native PC resolution. Maybe not the "modern" way to do it with GPUs nowadayas, but easy and fits the Apple II graphics nicely.

I don't have time to look at this for the foreseeable future (real job, real bills to pay, etc.) but I agree with your suggestion. If you want to have a look it's in Frame.cpp. Not my code, desperately needs a re-factor if you've got the spare cycles.

Anyhow, those are some random thoughts.

Edit: It's 1120 x 768 letterboxed within 1152x864

Code is in Frame.cpp line 557 in my fork, https://github.com/ghedger/linapple

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

2 participants