generate iconFont
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Mohammadreza Maxsusi 4677bf0efd Update 'readme.txt' 2 years ago
bin Upload final project of fonIcon 2 years ago
iconFont/iconFontsOficonsax2 Upload final project of fonIcon 2 years ago
models Upload final project of fonIcon 2 years ago
node_modules Upload final project of fonIcon 2 years ago
public/stylesheets Upload final project of fonIcon 2 years ago
routes Upload final project of fonIcon 2 years ago
svgs Upload final project of fonIcon 2 years ago
views Upload final project of fonIcon 2 years ago
app.js Upload final project of fonIcon 2 years ago
package-lock.json Upload final project of fonIcon 2 years ago
package.json Upload final project of fonIcon 2 years ago
readme.txt Update 'readme.txt' 2 years ago

readme.txt

### **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