Skip to content

Fix Chinese font loading#894

Merged
d0k3 merged 1 commit intod0k3:masterfrom
danny8376:support-fsize-fix
Oct 17, 2025
Merged

Fix Chinese font loading#894
d0k3 merged 1 commit intod0k3:masterfrom
danny8376:support-fsize-fix

Conversation

@danny8376
Copy link
Contributor

@danny8376 danny8376 commented Mar 21, 2025

Fix buffer allocation properly so Chinese fonts can be loaded properly
(without this fix, it can only be loaded when switching language since it's the only place that allocate buffer by font size)

Copy link
Contributor

@Epicpkmn11 Epicpkmn11 left a comment

Choose a reason for hiding this comment

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

This looks good, I just stuck with the arbitrary buffers because that's how it was before, but I kept running into issues with the CJK ones cause well... Those fonts get large.

@d0k3 d0k3 merged commit 320a3fe into d0k3:master Oct 17, 2025
1 check passed
@d0k3
Copy link
Owner

d0k3 commented Oct 17, 2025

Merged, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants