Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added assets/fonts/NotoSansSC-Months.ttf
Binary file not shown.
2 changes: 1 addition & 1 deletion src/components/Charts/constants.ts
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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],
});
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)],
});
}

Expand Down
Loading