css - Minimal font file which contains only the text required -


I currently have a webpage that uses 2 font files and many images

    < Li> i have optimized images to a great extent, but my page still loads very slowly, the next option is to customize the font file
  • I'm using the dual-font for the logo, The size of the font file is 55kb.

    I've read Google Fonts by specifying text = value in your font request URL.

    This allows Google to return an optimized font file for your request. In some cases, this can reduce the size of the font file by 90%.

      @ font-face {font-family: 'diavlo'; Src: url ('diavlo_medium_ii_37-webfont.eot'); Src: url ('diavlo_medium_ii_37-webfont.eot? #iefix') format ('embedded-opentype'), url ('diavlo_medium_ii_37-webfont.ttf') format ('truetype'); } I did not find the Diwali in Google Fonts Google Fonts   

    There is no way that I can only provide text that I need to get the minimum .ttf file

    and I'm either . WIF file or should include or both

    If you know that you need special characters, then you can use the font squirel and specify which character you want, this is the only way I am doing this. This will create necessary font files, only those characters you want.

    Note: Make sure you set it to Expert mode

Comments