Disable website fonts
-
A Former User last edited by
Good day,
I configured my system (i3) to use only a Terminus font with disabled antialias. This works pretty well, but I can't disable fonts defined by the websites, as I can do this with firefox.Can somebody hint me on how to force all websites to display in Terminus font, instead of the fonts defined in CSS?
-
gustavwiz last edited by
Try this extension: https://addons.opera.com/extensions/details/custom-style-script
Then go to the extension's options page, and add a custom font in the css box, like this:
@import url(https://fonts.googleapis.com/css?family=Oswald); * { font-family: 'Oswald', sans-serif; }
Add a * in the URL-box in order to apply on all pages.
-
A Former User last edited by
Gustavwiz, thank you, finally making progress!
Unfortunately, the font is not recognized, maybe you have a hint, how to tell my browser to look for a font in a specific directory?
-
gustavwiz last edited by
I think you have to install the font on the system, and I also think it has to be a ttf or woff file. What file is it you have? If you have an other file type, you can probably convert the file with some on-line tool.
In ubuntu you can just double click ttf-files to install them. Then it will be available in css without specifying a directory.