Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Force use of online webfont instead of installed webfont

Tags:

html

css

webfonts

The downloaded version of a font that I would like to use is different to the one that Google provides, and I was wondering if it was possible to force the user into using Google's version.

like image 919
eygrr Avatar asked Jun 21 '13 13:06

eygrr


1 Answers

According to this question's comment, if you use @font-face to embed your custom font onto your webpage, it will use your custom font not the one you installed on the computer.

My solution, while creating the custom font make sure to change its name and set it not equal to the one with which it's installed on the computer.

Hope I am clear and I solved your problem :)

like image 196
Mohammad Areeb Siddiqui Avatar answered Oct 12 '22 21:10

Mohammad Areeb Siddiqui