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:
parent
808f1f63ff
commit
3b1e05f714
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue