Skip to content

Conversation

@ousttrue
Copy link
Contributor

Hello.

I've added flexible initialization with callbacks.
Register the function as follows for UnityEvent.

        io.Fonts.AddFontDefault();
        io.Fonts.AddFontFromFileTTF("C:/Windows/Fonts/MSGothic.ttc", 24, config.Ptr, io.Fonts.GetGlyphRangesJapanese());
        io.Fonts.Build();

This is useful.
Thank you.

@psydack psydack self-requested a review December 25, 2021 12:34
Copy link
Owner

@psydack psydack left a comment

Choose a reason for hiding this comment

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

Those changes will help a lot and I'll add the instructions into readme.

I really appreciate, thanks!

@psydack psydack merged commit 5044f42 into psydack:main Dec 25, 2021
yCatDev pushed a commit to yCatDev/uimgui-extended that referenced this pull request Jan 3, 2026
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