mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-26 04:35:41 +03: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
Notes:
sideshowbarker
2024-07-16 22:18:54 +09:00
Author: https://github.com/nico Commit: https://github.com/SerenityOS/serenity/commit/d3c94d8436 Pull-request: https://github.com/SerenityOS/serenity/pull/23102
@ -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 New Issue
Block a user