Skip to content

Commit

Permalink
Merge pull request #38408 from Expensify/scott-revertFlagFont
Browse files Browse the repository at this point in the history
Revert "Merge pull request #35790 from dragnoir/33653-fix"
  • Loading branch information
Hayata Suenaga authored Mar 15, 2024
2 parents f44c5f4 + 43acdb5 commit 90ff6b8
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions assets/css/fonts.css
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@
}

@font-face {
font-family: Noto Color Emoji;
src: url('/fonts/NotoColorEmoji-Regular.woff2') format('woff2'), url('/fonts/NotoColorEmoji-Regular.woff') format('woff');
font-family: Windows Segoe UI Emoji;
src: url('/fonts/seguiemj.ttf');
}

* {
Expand Down
Binary file removed assets/fonts/web/NotoColorEmoji-Regular.woff
Binary file not shown.
Binary file removed assets/fonts/web/NotoColorEmoji-Regular.woff2
Binary file not shown.
4 changes: 2 additions & 2 deletions src/styles/utils/FontUtils/fontFamily/multiFontFamily.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import type FontFamilyStyles from './types';
const fontFamily: FontFamilyStyles = {
EXP_NEUE_ITALIC: 'ExpensifyNeue-Italic, Segoe UI Emoji, Noto Color Emoji',
EXP_NEUE_BOLD: multiBold,
EXP_NEUE: 'ExpensifyNeue-Regular, Segoe UI Emoji',
EXP_NEUE: 'ExpensifyNeue-Regular, Segoe UI Emoji, Noto Color Emoji',
EXP_NEW_KANSAS_MEDIUM: 'ExpensifyNewKansas-Medium, Segoe UI Emoji, Noto Color Emoji',
EXP_NEW_KANSAS_MEDIUM_ITALIC: 'ExpensifyNewKansas-MediumItalic, Segoe UI Emoji, Noto Color Emoji',
SYSTEM: 'System',
Expand All @@ -20,7 +20,7 @@ const fontFamily: FontFamilyStyles = {

if (getOperatingSystem() === CONST.OS.WINDOWS) {
Object.keys(fontFamily).forEach((key) => {
fontFamily[key as keyof FontFamilyStyles] = fontFamily[key as keyof FontFamilyStyles].replace('Segoe UI Emoji', 'Noto Color Emoji');
fontFamily[key as keyof FontFamilyStyles] = fontFamily[key as keyof FontFamilyStyles].replace('Segoe UI Emoji', 'Windows Segoe UI Emoji');
});
}

Expand Down

0 comments on commit 90ff6b8

Please sign in to comment.