1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 00:47:45 +00:00

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(); TODO();
} }
if (flags & (u16)CompositeGlyfFlags::UseMyMetrics) { 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) { if (flags & (u16)CompositeGlyfFlags::ScaledComponentOffset) {
TODO(); TODO();