# FontZip **Repository Path**: YpwCode/FontZip ## Basic Information - **Project Name**: FontZip - **Description**: 字体提取工具(APP瘦身神器、APK压缩工具) - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 2 - **Created**: 2021-01-12 - **Last Updated**: 2022-04-25 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 字体提取工具 >可用作APK字体压缩 用于提取仅需要的美化文字,来压缩assets下的字体文件大小。 ![](https://img.shields.io/badge/support-OpenType-blue.svg) ![](https://img.shields.io/badge/support-TrueType-green.svg) ### Download - [**FontZip.jar**](https://github.com/forJrking/FontZip/raw/master/FontZip/FontZip2.0.rar) - [**FontZip32.exe**](https://github.com/forJrking/FontZip/raw/master/FontZip/FontZip32.exe) - [**FontZip64.exe**](https://github.com/forJrking/FontZip/raw/master/FontZip/FontZip64.exe) - [历史版本和其他下载链](https://github.com/forJrking/FontZip/wiki/%E5%8E%86%E5%8F%B2%E7%89%88%E6%9C%AC) ## Gif ![GUI](/img/gif2.gif) ### FontZip2 使用说明: Windows下运行```run.bat```,选字体文件填入提取文字,2.0加入选择输出文件类型,点击OK,在字体同级目录下会生成```fontmin```文件, 关闭GUI/命令窗口,稍等待2-5s后即可。 mac linux 等请选择[**FontZip.jar**](https://github.com/forJrking/FontZip/raw/master/FontZip/FontZip2.0.rar) 经过测试,已经把项目***5MB***的艺术字体,按需求提取后,占用只有***20KB***,并且可正常使用。大大压缩了apk包的大小,还可以减小资源加载的占用。有此需要的同学赶紧用起来吧。支持otf、ttf、ttc、woff、eof 均测试提取成功。 ## ~~sfntly~~(请使用FontZip) [***~~sfnttool.jar~~下载***](https://github.com/forJrking/FontZip/raw/master/FontZip/sfnttool.jar) [***sfnttool.jar源码***](https://github.com/googlei18n/sfntly) ### ~~sfnttool.jar使用说明~~: * 先提取需要特殊字体美化的文字, * 把字体和jar包放在同目录下,按下Shift再点击鼠标右键,此处打开命令窗口,输入下面命令 java -jar sfnttool.jar -s '此处放入需要提取的文字' font.ttf fontc.ttf font.ttf ------ 原字体文件名 fontc.ttf------ 提取后的字体文件名 ## 联系 Jrking 邮箱:forjrking@sina.com