mirror of
https://github.com/SerenityOS/serenity
synced 2024-09-06 17:06:31 +00:00
LibGfx/TTF: Ignore unsupported composite glyph flags
Replace some program-stopping TODO()'s with FIXME comments, since many fonts actually render mostly fine without support for all features.
This commit is contained in:
parent
7c39a5860d
commit
daead75e9c
|
@ -171,16 +171,16 @@ Optional<Glyf::Glyph::ComponentIterator::Item> Glyf::Glyph::ComponentIterator::n
|
|||
e = arg1;
|
||||
f = arg2;
|
||||
} else {
|
||||
TODO();
|
||||
// FIXME: Implement this. There's no TODO() here since many fonts work just fine without this.
|
||||
}
|
||||
if (flags & (u16)CompositeGlyfFlags::UseMyMetrics) {
|
||||
// FIXME: Implement this. There's no TODO() here since many fonts work just fine without this.
|
||||
}
|
||||
if (flags & (u16)CompositeGlyfFlags::ScaledComponentOffset) {
|
||||
TODO();
|
||||
// FIXME: Implement this. There's no TODO() here since many fonts work just fine without this.
|
||||
}
|
||||
if (flags & (u16)CompositeGlyfFlags::UnscaledComponentOffset) {
|
||||
TODO();
|
||||
// FIXME: Implement this. There's no TODO() here since many fonts work just fine without this.
|
||||
}
|
||||
m_has_more = (flags & (u16)CompositeGlyfFlags::MoreComponents);
|
||||
return Item {
|
||||
|
|
Loading…
Reference in a new issue