Skip to content

Commit 45a4974

Browse files
authored
Merge pull request #14016 from bbc/WS-2611-Update-Reith-Font
DNM Reith font updated
2 parents a16967f + e769204 commit 45a4974

2 files changed

Lines changed: 10 additions & 9 deletions

File tree

src/app/components/ThemeProvider/fontFaces.ts

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ import { Font, FontFace, FontName } from '#app/models/types/theming';
66
*/
77

88
const REITH_BASE_URL = 'https://static.files.bbci.co.uk/fonts/';
9-
export const REITH_FONTS_DIR = `${REITH_BASE_URL}reith/r2.512/`;
9+
const FONT_VERSION = '2.610';
10+
export const REITH_FONTS_DIR = `${REITH_BASE_URL}reith/${FONT_VERSION}/`;
1011

1112
const FONTS_BASE_URL = `https://static.files.bbci.co.uk/ws/simorgh-assets/public/fonts/`;
1213
const NOTO_SERIF_SINHALA_FONTS_DIR = `${FONTS_BASE_URL}NotoSerifSinhala/v1.00/`;
@@ -257,22 +258,22 @@ export const fontInfo: Record<FontName, FontInfo> = {
257258
BBCReithSans_W_Bd: {
258259
...REITH_SANS_BOLD['@font-face'],
259260
downloadSrc: `${REITH_FONTS_DIR}BBCReithSans_W_Bd.woff2`,
260-
version: 'r2.512',
261+
version: FONT_VERSION,
261262
},
262263
BBCReithSans_W_Rg: {
263264
...REITH_SANS_REGULAR['@font-face'],
264265
downloadSrc: `${REITH_FONTS_DIR}BBCReithSans_W_Rg.woff2`,
265-
version: 'r2.512',
266+
version: FONT_VERSION,
266267
},
267268
BBCReithSerif_WNumbers_Lt: {
268269
...REITH_SERIF_LIGHT['@font-face'],
269270
downloadSrc: `${REITH_FONTS_DIR}subsets/BBCReithSerif_WNumbers_Lt.woff2`,
270-
version: 'r2.512',
271+
version: FONT_VERSION,
271272
},
272273
BBCReithSerif_W_Md: {
273274
...REITH_SERIF_MEDIUM['@font-face'],
274275
downloadSrc: `${REITH_FONTS_DIR}BBCReithSerif_W_Md.woff2`,
275-
version: 'r2.512',
276+
version: FONT_VERSION,
276277
},
277278
BBCReithQalam_W_Bd: {
278279
...REITH_QALAM_BOLD['@font-face'],

src/app/legacy/psammead/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,17 +49,17 @@ You can do this in pure CSS:
4949
font-family: 'ReithSans';
5050
font-style: normal;
5151
font-weight: 400;
52-
src: url('https://static.files.bbci.co.uk/fonts/reith/r2.512/BBCReithSans_W_Rg.woff2')
53-
format('woff2'), url('https://static.files.bbci.co.uk/fonts/reith/r2.512/BBCReithSans_W_Rg.woff')
52+
src: url('https://static.files.bbci.co.uk/fonts/reith/2.610/BBCReithSans_W_Rg.woff2')
53+
format('woff2'), url('https://static.files.bbci.co.uk/fonts/reith/2.610/BBCReithSans_W_Rg.woff')
5454
format('woff');
5555
}
5656
@font-face {
5757
font-display: optional;
5858
font-family: 'ReithSerif';
5959
font-style: normal;
6060
font-weight: 600;
61-
src: url('https://static.files.bbci.co.uk/fonts/reith/r2.512/BBCReithSerif_W_Md.woff2')
62-
format('woff2'), url('https://static.files.bbci.co.uk/fonts/reith/r2.512/BBCReithSerif_W_Md.woff')
61+
src: url('https://static.files.bbci.co.uk/fonts/reith/2.610/BBCReithSerif_W_Md.woff2')
62+
format('woff2'), url('https://static.files.bbci.co.uk/fonts/reith/2.610/BBCReithSerif_W_Md.woff')
6363
format('woff');
6464
}
6565
</style>

0 commit comments

Comments
 (0)