opera.customize.general
[Top] [All Lists]

Re: font substitution?

Subject: Re: font substitution?
From: "Robin Zalek" <bteorl@xxxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 04 Jul 2008 23:37:05 +0100
Newsgroups: opera.customize.general


On Fri, 04 Jul 2008 15:13:07 +0100, Swann <guermantes@xxxxxxxxxxx> wrote:

Hi,

In these days of CSS, if I choose to display pages in user mode rather than Author mode, then the whole page usually becomes illegible due to structure. So I am forced to use Author mode.

But if I want to change body copy fonts it gets impossible because most CSS files specify e.g. Verdana, Helvetica, Arial, generic sans serif. Without removing the 3 former typefaces from my computer I can't change the display font. In Opera's settings I can only change the generic sans serif but I can't do any font substitution, e.g. substitute Tahoma for Verdana.

Is there a trick or a hack that could enable this possibility in Opera?

Thanks!

Tools-->Preferences-->Advanced-->Content-->Style Options...-->Presentation Modes
Check "My Fonts and Colours" underneath the Author Mode heading.

Or, and this way is probably preferred if you know how to write CSS files, setup a user.css file
Specify the file's location here: opera:config#UserPrefs|LocalCSSFile
You may need to use !important rules, but I believe entries in user.css override page styles. If the file doesn't seem to be (and you may need to restart Opera to see changes) check the dialog mentioned above and make sure "My Style Sheet" is enabled in both modes.

User.css files can be created in site specific preferences too, so you can override more specific things if a generic list of rules fails to cover an edge case.

--
Do the obvious to get the email.

<Prev in Thread] Current Thread [Next in Thread>