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

Is possible to use emojis on segments? #114

Open
echeverrisantiago opened this issue Jul 2, 2022 · 2 comments
Open

Is possible to use emojis on segments? #114

echeverrisantiago opened this issue Jul 2, 2022 · 2 comments

Comments

@echeverrisantiago
Copy link

I'm using text right now but if could be possible to add emojis instead of text would be great 🔫

@zarocknz
Copy link
Owner

zarocknz commented Jul 4, 2022

Possibly; I have not tried it myself. See https://stackoverflow.com/questions/56312457/how-to-load-and-draw-emojis-on-canvas-efficiently This seems to suggest you can provided the font used to render the text on the wheel supports it.

@lafkpages
Copy link

This wouldn't be a Winwheel.js limitation but a limitation of the Canvas API itself. According to the linked StackOverflow question, it is possible to just provide the emojis in the segment text.

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

No branches or pull requests

3 participants