Closed aufflick closed 10 years ago
+1
Missed this before. Apple Color Emoji do work in the new "native mac" fork of Emacs (https://github.com/railwaycat/emacs-mac-port), which uses a different font backend than the official Cocoa.
Appropriate mappings for Apple's Emoji are given in the comments of this library.
Great! Thanks!
For reference, this is what I did to make it go:
(defun emagician/update-unicode-block-with-font (block font)
"Adds FONT to BLOCK in `unicode-fonts-block-font-mapping"
(let ((b (assoc block unicode-fonts-block-font-mapping)))
(when (not b)
(error "Block %s not found!" block))
(setf (cdr b) (list (cons font (cadr b))))
b))
(emagician/update-unicode-block-with-font "Dingbats" "Apple Color Emoji")
(emagician/update-unicode-block-with-font "Emoticons" "Apple Color Emoji")
(emagician/update-unicode-block-with-font "Miscellaneous Symbols and Pictographs" "Apple Color Emoji")
(emagician/update-unicode-block-with-font "Transport and Map Symbols" "Apple Color Emoji")
; This may be dumb, but it works.
(setq unicode-fonts-setup-done nil)
(unicode-fonts-setup)
Hi,
I assume the reason it doesn't work is because Emacs doesn't support it's flavour of bitmap fonts?