Skip to content

Commit c1341fa

Browse files
committed
download PT_Sans-Narrow-Web
1 parent 141e40d commit c1341fa

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ jobs:
102102
name: install NotoSansCJK fonts
103103
command: sudo apt install fonts-noto-cjk
104104
- run:
105-
name: download google fonts e.g. Raleway, Roboto
105+
name: download google fonts e.g. PT_Sans_Narrow, Raleway and Roboto
106106
command: python3 ./.circleci/download_google_fonts.py
107107
- run:
108108
name: install all google fonts

.circleci/download_google_fonts.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,15 @@ 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/google/fonts/blob/main/ofl/ptsansnarrow/',
15+
'PT_Sans-Narrow-Web',
16+
[
17+
'-Regular',
18+
'-Bold'
19+
]
20+
)
21+
1322
download(
1423
'https://github.com/impallari/Raleway/blob/master/fonts/v3.000%20Fontlab/TTF/',
1524
'Raleway',

0 commit comments

Comments
 (0)