-
Notifications
You must be signed in to change notification settings - Fork 216
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WSTEAM1-1005: Gujarati Telugu font updates #11599
Changes from all commits
975c9a5
7c544d1
df0d778
d56178e
9bc5805
6ddc6bd
a429d2e
fdf38d1
9385809
c59fb47
3d312e0
d440586
41c48db
e8b1279
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,8 +6,11 @@ const NOTO_SERIF_SINHALA_FONTS_DIR = | |
const NOTO_SANS_TAMIL_FONTS_DIR = | ||
'https://ws-downloads.files.bbci.co.uk/fonts/NotoSansTamil/v1.00/'; | ||
|
||
const MALLANA_FONTS_DIR = | ||
'https://ws-downloads.files.bbci.co.uk/fonts/Mallanna/v1.0.4/'; | ||
const NOTO_SANS_TELUGU_FONTS_DIR = | ||
'https://ws-downloads.files.bbci.co.uk/fonts/NotoSansTelugu/v1.00/'; | ||
|
||
const NOTO_SANS_GUJARATI_FONTS_DIR = | ||
'https://ws-downloads.files.bbci.co.uk/fonts/NotoSansGujarati/v1.00/'; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Not live yet, hence 'do not merge' label There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. is there a PR for the font server repo or is that already up there/has it been merged? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yep it's linked in this ticket: https://jira.dev.bbc.co.uk/browse/WSTEAM1-1003 It has been merged but I'm still working through the steps to deploy |
||
|
||
const NOTO_SANS_ETHIOPIC_FONTS_DIR = | ||
'https://ws-downloads.files.bbci.co.uk/fonts/NotoSansEthiopic/v1.901/'; | ||
|
@@ -186,12 +189,42 @@ export const NOTO_SANS_TAMIL_BOLD = { | |
}, | ||
}; | ||
|
||
export const MALLANNA_REGULAR = { | ||
export const NOTO_SANS_TELUGU_REGULAR = { | ||
'@font-face': { | ||
fontFamily: 'Noto Sans Telugu', | ||
fontWeight: 400, | ||
fontStyle: 'normal', | ||
src: `url('${NOTO_SANS_TELUGU_FONTS_DIR}normal.woff') format('woff'), url('${NOTO_SANS_TELUGU_FONTS_DIR}normal.eot') format('eot'), url('${NOTO_SANS_TELUGU_FONTS_DIR}normal.ttf') format('ttf')`, | ||
fontDisplay: 'swap', | ||
}, | ||
}; | ||
|
||
export const NOTO_SANS_TELUGU_BOLD = { | ||
'@font-face': { | ||
fontFamily: 'Noto Sans Telugu', | ||
fontWeight: 700, | ||
fontStyle: 'normal', | ||
src: `url('${NOTO_SANS_TELUGU_FONTS_DIR}bold.woff') format('woff'), url('${NOTO_SANS_TELUGU_FONTS_DIR}bold.eot') format('eot'), url('${NOTO_SANS_TELUGU_FONTS_DIR}bold.ttf') format('ttf')`, | ||
fontDisplay: 'swap', | ||
}, | ||
}; | ||
|
||
export const NOTO_SANS_GUJARATI_REGULAR = { | ||
'@font-face': { | ||
fontFamily: 'Mallanna', | ||
fontFamily: 'Noto Sans Gujarati', | ||
fontWeight: 400, | ||
fontStyle: 'normal', | ||
src: `url('${MALLANA_FONTS_DIR}normal.woff') format('woff'), url('${MALLANA_FONTS_DIR}normal.eot') format('eot'), url('${MALLANA_FONTS_DIR}normal.ttf') format('ttf')`, | ||
src: `url('${NOTO_SANS_GUJARATI_FONTS_DIR}normal.woff') format('woff'), url('${NOTO_SANS_GUJARATI_FONTS_DIR}normal.eot') format('eot'), url('${NOTO_SANS_GUJARATI_FONTS_DIR}normal.ttf') format('ttf')`, | ||
fontDisplay: 'swap', | ||
}, | ||
}; | ||
|
||
export const NOTO_SANS_GUJARATI_BOLD = { | ||
'@font-face': { | ||
fontFamily: 'Noto Sans Gujarati', | ||
fontWeight: 700, | ||
fontStyle: 'normal', | ||
src: `url('${NOTO_SANS_GUJARATI_FONTS_DIR}bold.woff') format('woff'), url('${NOTO_SANS_GUJARATI_FONTS_DIR}bold.eot') format('eot'), url('${NOTO_SANS_GUJARATI_FONTS_DIR}bold.ttf') format('ttf')`, | ||
fontDisplay: 'swap', | ||
}, | ||
}; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not live yet, hence 'do not merge' label