Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I did some experimenting on getting @clort81's ClortSans font into the game.
It turns out that the resource manager had already been updated to support bdf files. The one problem was that Scons would only copy ttf files, so I fixed that, and that should suffice to Fix #229. (Note: they also asked for PCX fonts, but SFML does not support those:
Having made that change, I tried loading ClortSans-12 which can be downloaded here:
https://github.com/calref/cboe/files/4143613/bdftest.tar.gz
I changed the code to use ClortSans wherever
FONT_PLAIN
was requested. This broke an enormous amount of in-game text which tries to renderFONT_PLAIN
in sizes other than 12-point. Unfortunately, in the places where 12-point was requested and it rendered correctly, it didn't look as good in-game as in the mockup images (I assume because of weird rendering issues). It became apparent to me that even if I could make it render well, it would be an enormous amount of work to make sure that all text in the game switched to the bitmap font and still looked good. I'm not interested in doing that work. We also would need the font in a bunch of other sizes that I don't think it exists in.Also, these other links to ClortSans bitmap fonts are dead:
https://clort.shell.ircnow.org/ClortSans1_0.zip
https://clort.shell.ircnow.org/ClortSansBold1_0.zip
I don't know if they were to variants in any of the other sizes we'd need.