Custom (Google) fonts in TextItem?

20 views
Skip to first unread message

Richard JE Cooke

unread,
Dec 16, 2021, 1:10:43 PM12/16/21
to Paper.js
Is there a way to use a Google web font (or any other font, I can download it) in my drawing please?

I see there are posts from 10 years ago, but I can't get it to work.
Setting 'fontFamily' of the PointText seems to do nothing.

Adam B

unread,
Dec 16, 2021, 5:24:26 PM12/16/21
to Paper.js
You will have to load the font first. Try something like https://github.com/typekit/webfontloader
Reply all
Reply to author
Forward
0 new messages