Font Substitution in Safari?

Discussion in 'Mac Apps and Mac App Store' started by Diomedes, Aug 4, 2005.

  1. Diomedes macrumors 6502

    Joined:
    Oct 5, 2004
    Location:
    San Francisco
    #1
    Is there a way to substitute font display/size in Safari? On some sites, for example, the page is displayed in Geneva (which is a horrible looking font), whereas some display in very tiny Helvetica, and I would like to substitute one of my nice built-in faces. (I don't have Verdana installed.)
     
  2. Mitthrawnuruodo Moderator emeritus

    Mitthrawnuruodo

    Joined:
    Mar 10, 2004
    Location:
    Bergen, Norway
    #2
    First thing you can try is to set Standard (and Fixed-width) font in Safari -> Preferences -> Appearance.

    If that's not enough you may make your own css file with all the fonts you want and tell Safari to use that in Safari -> Preferences -> Advanced -> Style Sheet.
     
  3. Diomedes thread starter macrumors 6502

    Joined:
    Oct 5, 2004
    Location:
    San Francisco
    #3
    Whenever I see Geneva, it's not using the fixed-width font I've specified.

    I kind of thought the CSS method would work..unfortunately, I don't know anything about CSS beyond its name and function...
     
  4. Mitthrawnuruodo Moderator emeritus

    Mitthrawnuruodo

    Joined:
    Mar 10, 2004
    Location:
    Bergen, Norway
    #4
    Try making just a very simple css file (i.e. a text file with .css file ending):
    Code:
    body {
    	font-family: skia, helvetica, sans-serif;
    }
    And tell Safari to use that... (I haven't actually tried this, but it should work... ;))

    Edit: This works for me some places, coloring and size didn't work...
     
  5. Diomedes thread starter macrumors 6502

    Joined:
    Oct 5, 2004
    Location:
    San Francisco
    #5
    Does the CSS file need to live anywhere in particular for Safari to use it?

    I forgot I had Dreamweaver on my PowerBook, so I created a CSS file from one of the templates, and told Safari to use it...but nothing seems to be changing.
     
  6. Mitthrawnuruodo Moderator emeritus

    Mitthrawnuruodo

    Joined:
    Mar 10, 2004
    Location:
    Bergen, Norway
    #6
    Nah... I had mine at the Desktop while testing...

    But you might have to empty Safari's cache to see any changes. Reloading doesn't always help (Safari is quite difficult that way sometimes)...
     

Share This Page