mirror of
https://github.com/wez/wezterm.git
synced 2024-11-23 23:21:08 +03:00
eff3a13847
My original goal was to update to allsorts 0.5 but the API changes are significant and not clearly described. To make that transition easier, the prior commit moved the shaping logic into our allsorts shaper module, leaving the name parsing here in parser.rs. This commit now replaces that logic with ttf_parser, which is potentially faster (there's more emphasis on optimal code in that crate than in allsorts) but definitely simpler. It's not a slam-dunk transition: ttf_parser doesn't know how to decode MacRoman encoded text, so there's a bit of logic borrowed from allsorts here to handle that. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |