dumbeau / AutoHotPie

Radial menus in Windows, aka PIE MENYOOS!
MIT License
358 stars 21 forks source link

[Feature Request] Support of Unicode-Symbols #29

Open Born2Root opened 2 years ago

Born2Root commented 2 years ago

Hi,

first of all, thank you for the awesome Pie-Menu. I have a feature request, that is a bit connected to the Material-Design Icon Library.

To expand the look, I wanted to use Unicode-Symbols in the the label-names. Because it is much easier to just copy & paste a symbol or emoji from the web, than saving it as an extra picture and importing it via the custom Icon menu. And in contrast to the Material-Design Icons, that are only single coloured, the Unicode Symbols are multicolour.

In the editor that works like charm, like you see in the screenshot. I just copied the Unicode radio symbol to the label area and it looks pretty awesome.

Screenshot 2022-03-08 083109

Unfortunately the symbol is not rendered properly in the real Pie-Menu. Instead there is just a square rendered, like he can't interpret the Unicode.

Screenshot 2022-03-08 083250

Do you see a possibilitie to get that working? If not in the label area, maybe it is feasible to add in addition to the custom icon, a custom text field, that supports Unicode.

Thanks for the great tool and your work. Best regards and have a nice week!

dumbeau commented 2 years ago

So unfortunately the gdip wrapper I'm using in AHK (gdip.ahk) doesn't support unicode symbols. The best solution I can think of is just to include all of the unicode symbols as icons in the installation, and set the icon to the typed or pasted unicode symbol when detected in the label text field. Would this work for you?

Born2Root commented 2 years ago

Ok, too bad that the wrapper doesn't support Unicode. There also exists the GDI+ version of the wrapper. I don't know what exactly the differences are between the plus and the older standard version regarding the implementation. But plus also supports Unicode.

But to inlcude alle the symbols as icons and to build an extra search function around that seems to be a very big programming effort for a simple extra feature. Furthermore the thousands of extra icon files would just bloat the installer.

In this case I think it makes more sense, that I safe the single icons that I really need and import them via the already implemented "User Icon" section.

Maybe you can check out the GDI+ if that could be useful.

Thank you very much for your response and the great tool ;-)