What to do when your font glyphs start showing up in multi-color when you dont want them to
I recently released a new game for Windows Phone called Quandry. As part of the design, I was leveraging the font glyphs in Segoe UI Symbol instead of using images in a few places. The result looked like this:
I was pretty happy with it and didnt give it much more thought after I implemented it. Then Microsoft announced their Windows Phone Preview for Developers program which allows registered developers to install OS updates without waiting for carrier approval and general availability. Cool - I clicked a few buttons and within a few minutes, I was running "Update 3" (formerly knowns as GDR3). I fired up Quandry and noticed something weird:
Some (but not all) of my glyphs had been replaced with colored variants. What the ?
I remembered reading about Microsoft's new colored-font proposal awhile back and how it added some new color information to the font tables to enable 'layers' that could be colorized:
Neat stuff, but it was breaking my app! I tried a few things to fix the issue, but didnt have much luck. Then I stumbled across a property I had not heard of before: TextOptions.DisplayColorEmoji. Apparently it is set to
true by default, so I set it to
false on my affected
TextBlock controls and everything was back to normal.
Maybe everybody already knows about this little detail, but I didnt and figured I would share it in case anybody else ran into the same issue.
How to work around an ARM template limitation when using a Key Vault certificate in a Web App
Quick updates on some Roku libraries that I recently released
How to ensure your CORS headers are properly returned with HTTP error responses on ASP.NET Core
Azure Functions Proxies are awesome - here are just a few ways to leverage them
Although AWS Lambdas are the default, it is dead simple to use Azure Functions for your Alexa skill as well