mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 15:47:45 +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
1 changed files with 3 additions and 3 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue