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
parent 808f1f63ff
commit 3b1e05f714

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();