From 4677bf0efdf36c6e880e8805de6dba123c2cf096 Mon Sep 17 00:00:00 2001 From: MohamadrezaMaxsusi Date: Sat, 17 Dec 2022 04:15:35 -0500 Subject: [PATCH] Update 'readme.txt' --- readme.txt | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/readme.txt b/readme.txt index e69de29..f83d2fe 100644 --- a/readme.txt +++ b/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 \ No newline at end of file