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

GLK: Embed the Infocom fonts in the executable #4695

Merged
merged 2 commits into from Mar 5, 2023

Conversation

ccawley2011
Copy link
Member

The Infocom fonts were the only files in fonts.dat that don't require FreeType. The overall increase in executable size shouldn't be noticeable.

@@ -0,0 +1,42 @@
#define infocom6x8_width 192
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you append a .h extension to xbm files?
It's better as they are not xbm now.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a valid XBM file - they're designed to allow including them into C/C++ source code, which is why I chose it instead of BMP.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Woah! I didn't know! Thanks for the explanation

@sev-
Copy link
Member

sev- commented Mar 5, 2023

Yes, it makes sense. I'll regenerate fonts.dat when there are other significant changes.

@sev- sev- merged commit c569e4d into scummvm:master Mar 5, 2023
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants