Add Noto Sans Symbols2 to font fallbacks
Also use the correct symbol for the return key (we were using another similar arrow because this one was not available in DejaVu Sans). Fixes #14034. Note that build/jam/repositories/HaikuPorts ships an old version of the Noto package that does not include the Symbols2 font. It should be updated. Adding this to the pile of lagging behind packages, alongside icu, mawk/gawk, and tnftp. Can anyone take care of it?
This commit is contained in:
parent
2c08d25325
commit
5d1042057b
@ -42,8 +42,7 @@ const char* kUTF8ControlMap[] = {
|
||||
NULL, NULL,
|
||||
NULL, /* B_BACKSPACE */
|
||||
"\xe2\x86\xb9", /* B_TAB U+21B9 */
|
||||
"\xe2\x86\xb5", /* B_ENTER, U+21B5 */
|
||||
//"\xe2\x8f\x8e", /* B_ENTER, U+23CE it's the official one */
|
||||
"\xe2\x8f\x8e", /* B_ENTER, U+23CE */
|
||||
NULL, /* B_PAGE_UP */
|
||||
NULL, /* B_PAGE_DOWN */
|
||||
NULL, NULL, NULL,
|
||||
|
@ -927,7 +927,7 @@ KeyboardLayoutView::_SpecialMappedKeySymbol(const char* bytes, size_t numBytes)
|
||||
if (bytes[0] == B_TAB)
|
||||
return "\xe2\x86\xb9";
|
||||
if (bytes[0] == B_ENTER)
|
||||
return "\xe2\x86\xb5";
|
||||
return "\xe2\x8f\x8e";
|
||||
if (bytes[0] == B_BACKSPACE)
|
||||
return "\xe2\x8c\xab";
|
||||
|
||||
|
@ -337,7 +337,8 @@ GlyphLayoutEngine::_PopulateAndLockFallbacks(
|
||||
"Noto Sans Display",
|
||||
"Noto Sans Thai",
|
||||
"Noto Sans CJK JP",
|
||||
"Noto Sans Symbols"
|
||||
"Noto Sans Symbols",
|
||||
"Noto Sans Symbols2"
|
||||
};
|
||||
|
||||
if (!gFontManager->Lock())
|
||||
|
Loading…
Reference in New Issue
Block a user