raphlinus / font-rs

Apache License 2.0
756 stars 49 forks source link

Panic during GID 3 rendering in calibrili.ttf #41

Closed RazrFalcon closed 5 years ago

RazrFalcon commented 5 years ago

calibrili.ttf (md5 51991bce388163d3e30701ab1fdf6318) in Windows 10 has a space glyph that contains a singe point. This causes a panic at:

https://github.com/raphlinus/font-rs/blob/5ef0f71a0c7a8f33632140e8a6326998a1640450/src/font.rs#L980