Is it only me or font families are not working in SL? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Is it only me or font families are not working in SL?

https://code.sololearn.com/W2MGnAJYmq87/?ref=app

15th Oct 2017, 6:45 AM
Isair Calhawk
Isair Calhawk - avatar
2 Answers
+ 8
@Niush is correct. When a custom font was used the browser will look for corresponding font in the device. If it was not installed then the default font will rendered. One common way to deliver font custom font online would be using the WOFF standard. By the way, HTML5 allows us to serve TTF files too. You may check the installed font in your PC then upload it and serve on your page. However, don't do this for commercial sites if you're unsure about its font license. 😉
15th Oct 2017, 8:21 AM
Zephyr Koo
Zephyr Koo - avatar
+ 5
Fonts needs to be installed in the Device or needs to be downloaded via css, or importing fonts. Check out: fonts.google.com
15th Oct 2017, 7:06 AM
Niush
Niush - avatar