Skip to content

Commit cbfcd1d

Browse files
authored
Merge pull request #5769 from plotly/image-test-with-dosis-font
Provide Dosis font for image test
2 parents 03c7be0 + 4db6169 commit cbfcd1d

File tree

5 files changed

+10
-1
lines changed

5 files changed

+10
-1
lines changed

.circleci/config.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ jobs:
105105
name: install NotoSansCJK fonts
106106
command: sudo apt install fonts-noto-cjk
107107
- run:
108-
name: download google fonts e.g. GravitasOne, NotoSansMono, NotoSans, NotoSerif, Old_Standard_TT, PT_Sans_Narrow, Raleway and Roboto
108+
name: download google fonts e.g. Dosis, GravitasOne, NotoSansMono, NotoSans, NotoSerif, Old_Standard_TT, PT_Sans_Narrow, Raleway and Roboto
109109
command: python3 ./.circleci/download_google_fonts.py
110110
- run:
111111
name: install downloaded google fonts

.circleci/download_google_fonts.py

+9
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/eliheuer/dosis-vf/blob/master/fonts/static-fonts/',
15+
'Dosis',
16+
[
17+
'-Regular',
18+
'-Bold'
19+
]
20+
)
21+
1322
download(
1423
'https://github.com/googlefonts/noto-fonts/blob/main/hinted/ttf/NotoSansMono/',
1524
'NotoSansMono',
-563 Bytes
Loading
442 Bytes
Loading
241 Bytes
Loading

0 commit comments

Comments
 (0)