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

MaterialLabel: Chinese can only display half #110

Closed
xukai19941231 opened this issue Sep 21, 2020 · 1 comment · Fixed by #112
Closed

MaterialLabel: Chinese can only display half #110

xukai19941231 opened this issue Sep 21, 2020 · 1 comment · Fixed by #112

Comments

@xukai19941231
Copy link

image

@xukai19941231
Copy link
Author

NativeTextRenderer.cs

// Draw Text for multiline format
Rect region = new Rect(new Rectangle(pos, size));
DrawText(memoryHdc, str, -1, ref region, fmtFlags);

It can be displayed completely after modifying the code, but I don’t know if it will cause other problems

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 a pull request may close this issue.

1 participant