![]() It's possible that it won't even flash because I might have done something wrong. The reason you don't have to overwrite any actual fonts is because the fallback_fonts.xml has been amended to look at the new (AppleColorEmoji.ttf) font before checking the standard android ones. Set AppleColorEmoji.ttf's file permissions to rw-r-r. (Don't worry about overwriting anything, because this is a new file, it doesn't overwrite any of your other fonts).ĥ. Copy the AppleColorEmoji.ttf into the /system/fonts/ directory. Set fallback_fonts.xml's file permissions to rw-r-r-Ĥ. Copy the new fallback_fonts.xml into the /system/etc/ directory.ģ. Backup your fallback_fonts.xml file on your phone (found at: /system/etc/fallback_fonts.xml)Ģ. If you don't want to use the zip, simply download it and then extract the files (TTF and XML) out of the /etc and /fonts directories.ġ. Post added at 10:35 AM - Previous post was at 09:35 AM -įirstly, BIG THANKS to Angelsel, FusionAlex and cclaxx! ![]() Thank Google for deciding to implement colour emoji (and releasing their tools for creating those fonts too!) in KitKat, because they essentially did all the work. Update: I've updated this for the iOS 9.1/unicorn emoji. If anyone wishes to create a flashable zip for this, please do so. The font size and kerning (all the emojis are the same size!) doesn't seem all that great, but someone who knows fonts better can fix that using ttx. Just adjust the platEncID/platformID in the cmap of AppleColorEmoji.ttf. Later versions of Android support sbix out of the box. This is unlikely to work on versions of Android pre-KitKat, unless support for CBDT/CBLC tables in font files is present (or backported from KitKat). Took the resulting TTF file and threw it into /system/fonts/, modifying /system/etc/fallback_fonts.xml accordinglyĪnd it works.Used this code by Google to add the extracted PNGs into the empty TTF file in CBDT/CBLC (the OpenType extension Google created) tables.Used fonttools (ttx) to create an empty TTF file based on the original Apple Color Emoji.ttf and this template by Google.Used code available here to extract the PNG files from the TTF file's SBIX table.Asked someone (jakew02 on #cyanogenmod-dev) to help me grab Apple Color Emoji.ttf off an OS X 10.9 system.They work the same way KitKat's colour emojis work.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |