diff --git a/assets/fonts/NotoSansSC-Months.ttf b/assets/fonts/NotoSansSC-Months.ttf new file mode 100644 index 000000000000..0d081c8666f2 Binary files /dev/null and b/assets/fonts/NotoSansSC-Months.ttf differ diff --git a/src/components/Charts/constants.ts b/src/components/Charts/constants.ts index 0f310f3647b5..5f3297ce1fb5 100644 --- a/src/components/Charts/constants.ts +++ b/src/components/Charts/constants.ts @@ -1,5 +1,5 @@ /** Font families used by all chart label components (Paragraph API multi-font fallback). */ -const CHART_FONT_FAMILIES = ['ExpensifyNeue', 'NotoSansSymbols']; +const CHART_FONT_FAMILIES = ['ExpensifyNeue', 'NotoSansSymbols', 'NotoSansSCMonths']; /** Number of Y-axis ticks (including zero) */ const Y_AXIS_TICK_COUNT = 5; diff --git a/src/components/Charts/hooks/useChartFontManager/useChartFontManager.native.ts b/src/components/Charts/hooks/useChartFontManager/useChartFontManager.native.ts index 5c597cfaea7b..5b3f293c2def 100644 --- a/src/components/Charts/hooks/useChartFontManager/useChartFontManager.native.ts +++ b/src/components/Charts/hooks/useChartFontManager/useChartFontManager.native.ts @@ -10,6 +10,7 @@ function useChartFontManager(): SkTypefaceFontProvider | null { require('@assets/fonts/native/ExpensifyNeue-BoldItalic.otf') as DataModule, ], NotoSansSymbols: [require('@assets/fonts/NotoSans-Symbols.ttf') as DataModule], + NotoSansSCMonths: [require('@assets/fonts/NotoSansSC-Months.ttf') as DataModule], }); } diff --git a/src/components/Charts/hooks/useChartFontManager/useChartFontManager.ts b/src/components/Charts/hooks/useChartFontManager/useChartFontManager.ts index 8e27d57a7c10..6c5062a02086 100644 --- a/src/components/Charts/hooks/useChartFontManager/useChartFontManager.ts +++ b/src/components/Charts/hooks/useChartFontManager/useChartFontManager.ts @@ -18,6 +18,7 @@ function useChartFontManager(): SkTypefaceFontProvider | null { webFont(require('@assets/fonts/web/ExpensifyNeue-BoldItalic.woff2') as string), ], NotoSansSymbols: [webFont(require('@assets/fonts/NotoSans-Symbols.ttf') as string)], + NotoSansSCMonths: [webFont(require('@assets/fonts/NotoSansSC-Months.ttf') as string)], }); }