Get Unicode Icon Value from Custom Font

I need to write CSS to assemble an icon font using the flaticon site . I am developing using MAC from 10.10 and cannot find any way to get a unique Unicode value that I need to insert into my CSS

.font-icon-pencil:before {
    content: "\e038";
}

How can I read the contents of a font file to get the icon codes in this custom font?

+5
source share
3 answers

On MacOS Sierra, I can get the value of the unicode character in the Font of a book (default app).

  • Set the font.
  • , .
  • . , unicode .

Font book

+11

(29 2015 .)

@al404it : " , CSS. , :" xxxxx ";"


1)
Font Viewer,
.

  1. FontViewer
  2. - , Rishida Unicode Code Converter, CSS

...

2)
icomoon

  1. ( "+ ") enter image description here
  2. "" ( ) .

.


@font-face {
    font-family: icons;
    src: url(MyFont.ttf); /* Replace with thatever your font file is */
}
.font-icon-pencil:before {
    font-family: icons, sans-serif;;
    content: "\e038";
}
+7

All Articles