LibTTF: Don't choke on fonts with CompositeGlyfFlags::UseMyMetrics

This was preventing us from loading JetBrains Mono Regular with LibTTF.
This commit is contained in:
Andreas Kling 2021-07-20 01:21:59 +02:00
commit 3b1e05f714
Notes: sideshowbarker 2024-07-18 08:43:25 +09:00

View file

@ -174,7 +174,7 @@ Optional<Glyf::Glyph::ComponentIterator::Item> Glyf::Glyph::ComponentIterator::n
TODO();
}
if (flags & (u16)CompositeGlyfFlags::UseMyMetrics) {
TODO();
// FIXME: Implement this. There's no TODO() here since many fonts work just fine without this.
}
if (flags & (u16)CompositeGlyfFlags::ScaledComponentOffset) {
TODO();