I'm having an issue with websites using the Helvetica font and Helvetica Neue.
I tried getting some help to fix it but its apparently an issue with my Linux installation.
Since I can't fix it myself, I thought to write either a userstyle (Stylish) or a userscript for my Chrome browser to detect websites that use Helvetica or Helvetica Neue.
If those font are used, then replace them with something else.
How could this be implemented?
If this is for just a few websites, use Stylish, and tune for just those offending parts of the page. For example:
@-moz-document domain("stackoverflow.com"), domain("askubuntu.com") {
body, p, div, textarea {
font-family: comic sans !important;
}
}
If it's for all sites, Stylish or a userscript is not your best bet.
This is because:
Or, a blanket approach for Stylish, like:
* {
font-family: comic sans !important;
}
would no-doubt bust the layout of some sites.
A userscript could theoretically replace CSS only if it was set to Helvetica, but one of two problems would occur:
For a blanket approach, the smartest thing to do is to fix or reinstall your Linux OS.
At the very least, you should be able to map your system's Helvetica font to something else (I know you can do this on Windows, so Linux probably has a mechanism too).
Might be best to ask a question on Unix and Linux or on Super User for help fixing the system font problem.