I'm trying to use custom icons from https://materialdesignicons.com/.
(defface mdi-face `((t (:family "Material Design Icons"))) "Face for Material design icons.") (insert (propertize "\f004" 'face 'mdi-face)))
The font is installed system-wide and is available to Emacs. All I see is a sequence of little squares as if the font wasn't installed.