# woff **Repository Path**: xindong92_admin/woff ## Basic Information - **Project Name**: woff - **Description**: 解析woff文件 - **Primary Language**: Java - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2018-09-08 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README 解析woff结尾的字体文件 将字体的unicode码和坐标提取出来 使用 WoffParse.parse 方法解析文件 WoffFont类中封装了woff文件各种表的结构数据 通过getGraphicsData获取cmap和glyf表的数据对应关系 getGraphicsPathData方法获取cmap和glyf表的数据对应关系,并且包含了java的Graphics2D画图的GeneralPath, 图形画法具体细节封装到此对象中,绘制时只需叫此对象交给Graphics2D即可