Skip to content

Clear embedded font from OutputText.tscn #713

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

Merged
merged 1 commit into from
May 12, 2025

Conversation

gbrock
Copy link
Contributor

@gbrock gbrock commented May 2, 2025

I noticed an unusually large scene in the gui/ directory of the addon: OutputText.tscn, at 8.75 MB. I found an embedded font file Courier Prime and some image data that bloated that scene. By setting the font of the Output node to the font file already included in the project, that file is now only 9 KB. So now the whole addon goes from ~11MB to ~2MB to install.

@bitwes
Copy link
Owner

bitwes commented May 12, 2025

Great find, thanks!

@bitwes bitwes merged commit 42b357f into bitwes:main May 12, 2025
@gbrock gbrock deleted the fix-embedded-font branch May 16, 2025 04:25
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

Successfully merging this pull request may close these issues.

2 participants