This repository has been archived by the owner on Sep 9, 2019. It is now read-only.
Version 0.2.0
- Read font parameters from OpenType tables for Type 2 fonts similar to other font types.
- Read font x-height and cap-height from the
OS/2
table in addition to the now rarely usedPCLT
table. Also read ascender, descender ans well asstemv
from theOS/2
table. Previously the engine would derive these parameters from the metrics of a hard-coded set of characters and ignore the values supplied by the font. - Update HarfBuzz and Graphite2 to their latest releases.
- Update luaharfbuzz to fix a bug in detecting features supported by the font (#3).
- Drop dependency on ICU in favor of HarfBuzz's own Unicode character property functions, decreasing the binary size significantly (#2). However ICU might return back if we need any of its functionality.
- Emending "wide" Type 1 fonts now using the experimental FontForge-independent code, please report any bugs with such fonts.
- TTC fonts now must set the
index
field in the font structure, otherwise it will be assumed to be zero. Guessing the face index from the font's PostScript name is no longer supported. - Drop old FontForge-based
fontloader
module, further decreasing the binary size. This might break old documents relying on such module.