Update 'readme.txt'

master
Mohammadreza Maxsusi 2 years ago
parent 53ecce4fb9
commit 4677bf0efd
  1. 26
      readme.txt

@ -0,0 +1,26 @@
### **IconFont creator**
-----
IconFont creator is a node.js code for making iconFont from svg files by using svgtofont modual and it creats **.ttf** , **.woff2** , **eot**, **woff** and **css** file to use icons with its special unicode in font unicode table.
-----
### **how to use**
The svg files stored in the database with their own unicodes are categorized by the name of the iconFont create for use.
server generate a name for each file and then create iconFont that use in css styles with this syntax :
.icon:after{
font-family: "fontName that created ";
content: "\f101"; #unicode of icon that we need to use
}
-----
### **Application**
1. Our site fetches only the required icons from the server and this improves the speed and performance of the server
2. Also, in this way, it is used to hash the documents inside the site in order to respect the copy right in the next updates
Loading…
Cancel
Save