vega-lite and font not installed

49 views
Skip to first unread message

Andrea Borruso

unread,
Apr 13, 2020, 4:31:37 AM4/13/20
to vega-js
Hi all,
if I set a "Lato" font for my title, the final web user will see it in my chart if he/she will have Lato font installed in the PC he/she uses.

Is there a way to define and use something like google fonts?

Thank you

Dominik Moritz

unread,
Apr 13, 2020, 12:37:53 PM4/13/20
to Andrea Borruso, vega-js
You have to embed the font on the same page as a webfont. This is independent of Vega. 

--
You received this message because you are subscribed to the Google Groups "vega-js" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vega-js+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vega-js/44f30479-e5f0-4d89-a1f3-1d52e3fbcc87%40googlegroups.com.

Andrea Borruso

unread,
Apr 14, 2020, 5:15:20 AM4/14/20
to vega-js
Thank you very much, in this way I have solved
Reply all
Reply to author
Forward
0 new messages