In Windows 10 Microsoft went with Segoe UI, a font that users are forced to use because the option to change the font that was present in Windows 7 is completely removed. But all is not lost, there still is a way to change the font, but the procedure is not as easy or as simple as it once was. Jun 14, 2017 'Emoji Font' illustrates 731 Colored Font Characters from the new Microsoft Windows 8.1 font - 'Segoe UI Emoji'. Hover over a font character to create a pop-up. Emoji Font for Windows 10. Segoe is a trademark of the Microsoft group of companies. Microsoft Corporationmicrosoft. Com/typography/fonts/You may use this font as permitted by the. Microsoft Office 2016 who receive updates through Windows Installer technology (MSI): Download KB 3203471 to install the update to the Segoe UI Emoji font. Microsoft Office 2013 users who have Click-to-Run version installed in Windows 7 or who receive updates through Windows Installer technology (MSI): For those who have Office 2013 MSI. The Emoji in Windows 8.1 are inside of the Segoe UI Emoji font, and are NOT PNGs (as on other systems) which allows them to scale. Instead, they are layered and each layer has a color. Instead, they are layered and each layer has a color. I recently saw that Windows 10 provides a new 'Segoe UI Emoji' font, that potentially allows text functions to draw colored emojis. I found several examples using Direct2D, but none with pure GDI functions.
On Windows Phone 8, the following xaml displays an emoji character in colour:
However, when this code is run on Windows Phone 8.1, the emoji's background colour is unfilled. That is, it's not got a yellow background; the emoji's outlines are only coloured.
So, for example, it looks like this in Windows Phone 8.0:
But it looks like this in Windows Phone 8.1:
I've seen that Windows Phone 8.1. introduces a new 'IsColorFontEnabled' property. I don't know if this fixes it on 8.1, but I do know in order to use it, I must migrate the app to 8.1, which I don't want to as I want to keep 8.0 backward compatibility for the time being.
So, is there a way to have a Windows Phone 8.0 Silverlight app that uses a color emoji, that would also display it in colour on Windows Phone 8.1?
Jerry Nixon1 Answer
In Windows Phone 8.1, We can use IsColorFontEnabled in TextBlock to display emoji with colour. IsColorFontEnabled is type of Boolean, and it's default value is false(means don't display colour). But if you set FontFamily='Segoe UI Symbol',
the colour emoji also don't display.
The sample code like this:
And If you don't want to re-target your project to Windows Phone 8.1, Just remove FontFamily='Segoe UI Symbol' , like this:
Because if you set fontfamily to Segoe UI Symbol
, the emoji will be displayed as character.
Not the answer you're looking for? Browse other questions tagged c#windows-phone-8colorscharacterwinrt-xaml or ask your own question.
Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upComments
commented Mar 12, 2016
The readme currently says:
Is there a method to override |
commented Apr 19, 2016
I mashed together a small Greasemonkey script which modifies the CSS in your browser to include the font in the body. |
commented Apr 19, 2016
@mienaikage That's a good start! A long term solution IMO need to work without Greasemonkey. |
commented Apr 20, 2016
I've made some progress on Windows 8.1. Under Most of the emoji are now showing correctly in Firefox, however there are issues with some characters in the Windows UI. |
commented Apr 20, 2016
Interesting. What are the character issues? I haven't done any Windows specific optimizations. It may need font hinting since Windows doesn't do that itself. |
commented Apr 20, 2016
I'm not currently at a Windows machine so I don't have a screenshot of the effect, but some of the icons affected are the search and power icons on the top right of the start menu, and the down arrow on the bottom left. They appear as rectangles. For reference: |
commented Apr 20, 2016
They will appear as rectangles if the font glyph is missing. Those characters are probably in the |
commented Apr 21, 2016
Unfortunately I have some free time this evening so may try and do some more investigating. |
commented Jun 23, 2016 • edited
edited
I accomplished this using FontForge to merge Segoe UI Symbols font and an emoji font. Windows' MSDN page on Font Linking made me believe it was possible just using the registry, but it didn't work out. Other than wholesale replacing the Symbols font with an emoji font, this seemed like the only approach that worked decently. |
commented Jun 23, 2016
I can upload a gist of the fontforge script (it's fairly simple), but this is what it ends up looking like in Windows 7. Since 7 doesn't support color, I haven't tested if this would work with the color emojis in the newer Windows versions. |
commented Jun 23, 2016
Is that a screenshot from Chrome? I've actually tested this font to work in color in Windows XP in Firefox. Oh.. Fontforge.. that's probably why. Fontforge doesn't support the SVG table. Which is why I use both Fontfont and Fonttools in SCFBuild. |
commented Jun 23, 2016
Yeah it's from Chrome on Win 7. Do the other tools have merging abilities? |
commented Jun 23, 2016
Fonttools can be used to do it, but it is just a library which is why I wrote SCFbuild. There may be merge scripts in: https://github.com/googlei18n/nototools A concern: I will not be able to distribute a font made from merging with the Microsoft copyrighted Segoe UI Symbols font. |
commented Jun 23, 2016 • edited
edited
Isn't it okay to distribute a script that merges a user's existing fonts? edit: Essentially an 'install' script a user could run (maybe with an uninstall that would put the original symbol font back.) |
commented Jun 23, 2016
Yes, the script is fine, but the font is not. Hmm.. Will Windows Resource Protection allow the file to be changed? |
commented Jun 23, 2016
You can copy the file out of the fonts folder, merge them. Then either copy it to the fonts directory (requiring admin privileges), or open the new merged font with the font viewer and ask the user to click the Install button. I know the install button will make it override the old unmerged font, but I'm not sure if copying into the folder will if they have different filenames (you might also have to change the font registry entry for it with that route). |
commented Jun 23, 2016
Ah. So overriding a font with the same name works? This what I do for the OSX version: https://github.com/eosrei/emojione-color-font/blob/master/scfbuild-osx.yml#L24-L25 |
commented Jun 23, 2016
Yeah, however, if you just put in a new font with the same name without the other glyphs in the Symbols font, you will have the problem @mienaikage had where there are parts of the UI that use non-emoji glyphs from the font. I'm not positive how much of 7 uses it, but it does seem that 8.1 uses it. |
commented Jul 3, 2016
So I successfully got color emojis to be added to the segoe ui symbol font on Win7. I cleared out the font of everything above 0xFFFF using FontForge, then modified SCFBuild to take in the cleaned font instead of creating a new font. However, it's not perfect since some of the b/w glyphs give me tofu, and there were quite a few errors that were thrown while it was building. |
commented Jul 3, 2016
Interesting! Good progress! |
windows: Add windows build
commented Jul 5, 2016
Let me know how this PR looks. I decided to go a much simpler route that worked very well once I figured out why pyftmerge was creating a font that Windows considered invalid. I will probably also submit a PR to https://github.com/behdad/fonttools which would make the extra python script unnecessary eventually. I've been using OSX to build and the final font works fine on Windows 7. I'll try and see if I can find a way to test it on newer versions of Windows. |
Segoe Ui Emoji Windows 10 Version
added a commit to yincrash/emojione-color-font that referenced this issuewindows: Add windows build
windows: Make windows build a package with install script
windows: Add windows install package
windows: Add windows install package
windows: Add windows install package
windows: Add windows install package
windows: Add windows install package
windows: Add windows install package
windows: Add windows install package
Segoe Ui Emoji Codes
a50ca53