-
Notifications
You must be signed in to change notification settings - Fork 48
readme: Add how to override the Windows default Segoe UI Emoji font #15
Comments
I mashed together a small Greasemonkey script which modifies the CSS in your browser to include the font in the body. https://gist.github.com/mienaikage/4f487dcee7d04ba2f6d4c615812af668 |
@mienaikage That's a good start! A long term solution IMO need to work without Greasemonkey. |
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. |
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. |
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: |
They will appear as rectangles if the font glyph is missing. Those characters are probably in the |
Unfortunately I have some free time this evening so may try and do some more investigating. |
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. |
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. |
Yeah it's from Chrome on Win 7. Do the other tools have merging abilities? |
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. |
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.) |
Yes, the script is fine, but the font is not. Hmm... Will Windows Resource Protection allow the file to be changed? |
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). |
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 |
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. |
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. |
Interesting! Good progress! |
This requires the builder to supply a Segoe UI Symbol input font and will merge the regular font with the input font. For 13rac1#15
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. |
This requires the builder to supply a Segoe UI Symbol input font and will merge the regular font with the input font. For 13rac1#15
This makes a zip package with un/install commands. For 13rac1#15
Adds an install process to replace Emoji on Windows. It merges the EmojiOne font with Segoe UI Symbol on the user's machine, and replaces Segoe UI Emoji as well on Win 8 and 10. An uninstall script is also included to assist the user in restoring the original Windows fonts. Fixes 13rac1#15
Adds an install process to replace Emoji on Windows. It merges the EmojiOne font with Segoe UI Symbol on the user's machine, and replaces Segoe UI Emoji as well on Win 8 and 10. An uninstall script is also included to assist the user in restoring the original Windows fonts. README also updated. Fixes 13rac1#15
Adds an install process to replace Emoji on Windows. It merges the EmojiOne font with Segoe UI Symbol on the user's machine, and replaces Segoe UI Emoji as well on Win 8 and 10. An uninstall script is also included to assist the user in restoring the original Windows fonts. README also updated. Fixes 13rac1#15
Adds an install process to replace Emoji on Windows. It merges the EmojiOne font with Segoe UI Symbol on the user's machine, and replaces Segoe UI Emoji as well on Win 8 and 10. An uninstall script is also included to assist the user in restoring the original Windows fonts. README also updated. Fixes 13rac1#15
Adds an install process to replace Emoji on Windows. It merges the EmojiOne font with Segoe UI Symbol on the user's machine, and replaces Segoe UI Emoji as well on Win 8 and 10. An uninstall script is also included to assist the user in restoring the original Windows fonts. README also updated. Fixes 13rac1#15
Adds an install process to replace Emoji on Windows. It merges the EmojiOne font with Segoe UI Symbol on the user's machine, and replaces Segoe UI Emoji as well on Win 8 and 10. An uninstall script is also included to assist the user in restoring the original Windows fonts. README also updated. Fixes 13rac1#15
Adds an install process to replace Emoji on Windows. It merges the EmojiOne font with Segoe UI Symbol on the user's machine, and replaces Segoe UI Emoji as well on Win 8 and 10. An uninstall script is also included to assist the user in restoring the original Windows fonts. README also updated. Fixes 13rac1#15
The readme currently says:
Is there a method to override
Segoe UI Emoji
?The text was updated successfully, but these errors were encountered: