+ 5

Load google font in p5js

Hi, does someone have an example how it works? Attached one does not work. https://code.sololearn.com/WBNo72CLx7km/?ref=app

12th Dec 2021, 7:40 AM
Oma Falk
Oma Falk - avatar
3 Answers
+ 2
Add this line in head of the html. <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Trirong">
12th Dec 2021, 7:39 PM
Nilesh Singh
Nilesh Singh - avatar
+ 2
Thanks to both
13th Dec 2021, 7:51 AM
Oma Falk
Oma Falk - avatar