Help with how to use a custom font via a ttf file #1405
Answered
by
alshan
chrisHassan
asked this question in
Q&A
-
Beta Was this translation helpful? Give feedback.
Answered by
alshan
Oct 2, 2025
Replies: 2 comments 1 reply
-
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Hi, the problem is that the browser cannot access local font files from ~/Library/Fonts/ directly. Browser can access fonts installed at the system level or Web fonts loaded via CSS. In a Jupyter notebook, you can load Google Web Fonts like this: After running this cell, the fonts should be available for use in your plots with |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
chrisHassan
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


Hi, the problem is that the browser cannot access local font files from ~/Library/Fonts/ directly. Browser can access fonts installed at the system level or Web fonts loaded via CSS.
In a Jupyter notebook, you can load Google Web Fonts like this:
After running this cell, the fonts should be available for use in your plots with
family="VT323"orfamily="Share Tech Mono".