mirror of
https://github.com/SerenityOS/serenity
synced 2024-10-15 12:23:15 +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
|
@ -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…
Reference in a new issue