Git Product home page Git Product logo

font-spider-plus's Introduction

安装font-spider-plus

npm i font-spider-plus -g

项目目录执行命令:

fsp local index/font.html

使用font-spider-plus对中文字体进行压缩,注意以下几点:

1、压缩的字体必须为ttf格式

2、font-spider-plus压缩时是以执行font.html中的中文进行压缩的,也就是只包含font.html中的中文,项目中的font.html默认包含6000常用中文

3、每次执行完需要重新关闭命令行窗口,否则会提示字体被占用,无法操作

目录说明

before_compression:为压缩前的字体目录,备份用

font:压缩完的字体,压缩前需要把字体放入该目录,

​ ->.font-spider:执行fsp local index/font.html命令后备份字体的目录

index:转换和测试的html

font-spider-plus's People

Contributors

wafu7969 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.