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

[no sq] Use Minetest's wide/utf8 conversion function from inside Irrlicht #14523

Merged
merged 2 commits into from Apr 10, 2024

Conversation

sfan5
Copy link
Member

@sfan5 sfan5 commented Apr 6, 2024

gets rid of the annoying codecvt deprecation warning

@sfan5 sfan5 added Maintenance Tasks to keep the codebase and related parts in order, including architectural improvements Bugfix 🐛 PRs that fix a bug labels Apr 6, 2024
removes any dynamic linking capability, which will stop being possible soon anyway.
@grorp
Copy link
Member

grorp commented Apr 10, 2024

I've tested this and it fixes the error reported in #14527. However, there still seems to be some problem with emojis on Windows. With fallback_font_path = /usr/share/fonts/unifont/unifont_upper.ttf on Linux, emojis are somewhat visible:

emojis on Linux

On Windows, doing the same (obviously with a different font path) results in this instead:

emojis on Windows

@sfan5
Copy link
Member Author

sfan5 commented Apr 10, 2024

since windows has 16-bit wchar surrogate-pairs might be involved here 🤷

Copy link
Member

@grorp grorp left a comment

Choose a reason for hiding this comment

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

This is better than before.

@sfan5 sfan5 merged commit 30e280b into minetest:master Apr 10, 2024
13 checks passed
@sfan5 sfan5 deleted the isc branch April 10, 2024 13:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bugfix 🐛 PRs that fix a bug Maintenance Tasks to keep the codebase and related parts in order, including architectural improvements One approval ✅ ◻️
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants