字体相关开源库

https://github.com/PhenX/php-font-lib

This library can be used to:

  • Read TrueType, OpenType (with TrueType glyphs), WOFF font files
  • Extract basic info (name, style, etc)
  • Extract advanced info (horizontal metrics, glyph names, glyph shapes, etc)
  • Make an Adobe Font Metrics (AFM) file from a font

http://ttf2pt1.sourceforge.net/
TTF2PT1 is a modification of Andrew Weeks TTF2PFA True Type to Postscript Type 3 converter. Which will convert Most True Type Fonts to an Adobe Type 1 .pfa file. And also the other font formats supported by the FreeType library to an Adobe Type 1 .pfa file. And the BDF fonts to an Adobe Type 1 .pfa file. Yet another use is as a hinting engine: feed it an unhinted or poorly hinted Adobe Type 1 font through the FreeType library and get it back with freshly generated hints. If you want .pfb files, don't despair: they can be produced too. The files produced by default are in human readable form, which further needs to be encoded with the t1utilities, to work with most software requiring type 1 fonts. But for the lazy people ttf2pt1 includes a built-in portion of t1utilities as well.

https://github.com/lzl124631x/ttf_parser

TTF Parser can load TrueType fonts, display glyphs and dump out glyph data to XML files.

https://github.com/PhenX/ttf2ufm

https://github.com/googlefonts/fontcrunch

fontcrunch is a program that optimizes TrueType font splines - a "simplify" command. It tries to create a visual match for the spline using the smallest number of TrueType points. It is notable for counting on-curve points interpolated between two off-curve points as "free," making useful filesize savings.

https://github.com/luckyaibin/truetypefontparsetoy

读取ttf ttc文件,解析里面的glyph的x,y坐标,并且画出轮廓.本来打算完善,但是能找到的资料太少,未能完成ttf readtime auto hint,以及光栅化.<<TrueType字体引擎的研究与实现.pdf>>

https://github.com/Janak-Nirmal/truetype_to_svg

https://github.com/seirion/TrueType (C++)

https://github.com/fonttools/fonttools (python)

https://github.com/googlefonts/fontcrunchfontcrunch (python)

is a program that optimizes TrueType font splines - a "simplify" command. It tries to create a visual match for the spline using the smallest number of TrueType points. It is notable for counting on-curve points interpolated between two off-curve points as "free," making useful filesize savings. It depends on fonttools.

https://github.com/spiderofmean/thorax_truetype

https://github.com/dluco/ttf

https://github.com/revivalizer/refonter

https://github.com/kseo/sfnt2woff

https://github.com/oss-forks/stb_truetype

https://github.com/Jim-Eckerlein/fontgen FontGen TrueType Font to PNG Fontmap rasterizer Reads a TrueType Font file using FreeType and composes a PNG font file using an instruction file telling which characters should be loaded and where to place them.

https://github.com/joede/embedded-font-gen

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值