mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 05:07:45 +00:00
LibGfx: Add a comment to Font::try_load_from_offset()
See #17189 -- this confused me for a bit.
This commit is contained in:
parent
21ffb118af
commit
d3c94d8436
1 changed files with 1 additions and 0 deletions
|
@ -258,6 +258,7 @@ ErrorOr<NonnullRefPtr<Font>> Font::try_load_from_offset(ReadonlyBytes buffer, u3
|
|||
}
|
||||
} else if (platform.value() == Cmap::Subtable::Platform::Macintosh) {
|
||||
cmap.set_active_index(i);
|
||||
// Intentionally no `break` so that Windows (value 3) wins over Macintosh (value 1).
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue