Skip to content

Commit 1afa2fe

Browse files
committed
download NotoSans fonts instead of Driod_Sans
1 parent 1a7461f commit 1afa2fe

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

.circleci/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,10 +102,10 @@ jobs:
102102
name: install NotoSansCJK fonts
103103
command: sudo apt install fonts-noto-cjk
104104
- run:
105-
name: download google fonts e.g. Old_Standard_TT, PT_Sans_Narrow, Raleway and Roboto
105+
name: download google fonts e.g. NotoSans, Old_Standard_TT, PT_Sans_Narrow, Raleway and Roboto
106106
command: python3 ./.circleci/download_google_fonts.py
107107
- run:
108-
name: install all google fonts
108+
name: install download and other google fonts
109109
command: |
110110
sudo cp -r .circleci/fonts/ /usr/share/
111111
sudo fc-cache -f

.circleci/download_google_fonts.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,16 @@ def download(repo, family, types) :
1010
req = requests.get(url, allow_redirects=True)
1111
open(dirOut + name, 'wb').write(req.content)
1212

13+
download(
14+
'https://github.com/googlefonts/noto-fonts/blob/main/hinted/ttf/NotoSans/',
15+
'NotoSans',
16+
[
17+
'-Regular',
18+
'-Italic',
19+
'-Bold'
20+
]
21+
)
22+
1323
download(
1424
'https://github.com/google/fonts/blob/main/ofl/oldstandardtt/',
1525
'OldStandard',

0 commit comments

Comments
 (0)