dankrusi / WindowsVirtualDesktopHelper

App to help manage Virtual Desktops for Windows 10 and Windows 11
Other
555 stars 36 forks source link

Support symbol (like emoji) in initial name icon #119

Closed SleepyBag closed 1 year ago

SleepyBag commented 1 year ago

Support symbol (like emoji) in initial name icon by

dankrusi commented 1 year ago

Hi @SleepyBag , great - many thanks! This unfortunately doesn't seem to work on Windows 10. Also, wouldn't - useSymbolsFont = text.Length > 1 would break support for 2-char icons such as "AB", for example? The use symbols font is used to render the MS UI icons for things like <>, they are different from the regular font, so your change uses the wrong arrow icons font. Maybe a better approach would be to actually check if the nameToShow is a emojii, then use the symbols font. Can you confirm on Windows 11 to display emojis one must use the symbols font (I would think not - my guess is its an issue with the substring I have in there)? Best, -dan

dankrusi commented 1 year ago

Emoji support implemented by https://github.com/dankrusi/WindowsVirtualDesktopHelper/commit/41d240afca0f85aa7b31db3d18b0c2290919d025