Why use @font-face over font API? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Why use @font-face over font API?

Is there any benefit of using @font-face to get your font from a file, over just retrieving a font from a font API (e.g. Google)? It seems like additional hastle to declare a new font for each font decoration (like bold). The only reason i could think to use it would be if you had designed your own custom font. Any other suggestions?

30th Aug 2018, 9:50 PM
David Foster
David Foster - avatar
0 Answers