You can still use defaults:
defaults write com.apple.Safari com.apple.Safari.ContentPageGroupIdentifier.WebKit2StandardFontFamily Georgia
defaults write com.apple.Safari com.apple.Safari.ContentPageGroupIdentifier.WebKit2DefaultFontSize 16
defaults write com.apple.Safari com.apple.Safari.ContentPageGroupIdentifier.WebKit2FixedFontFamily Menlo
defaults write com.apple.Safari com.apple.Safari.ContentPageGroupIdentifier.WebKit2DefaultFixedFontSize 14
Another option is to set a CSS file like this as as the default style sheet in the advanced preferences:
body {
font: 16px Georgia;
}
pre, code, tt {
font: 14px Menlo;
}
Both options have precedence over the default stylesheet but not over styles specified by websites. So like the preferences in Safari 5 and earlier, they mostly apply to pages that would normally use 15px Times or 13px Courier.
!importantbefore the semi-colon, it will work. However, that will force all websites to use your specifications. Will screw up sites that use special fonts to display special glyphs (e.g. github.com). – imanuelcostigan Jun 15 '13 at 00:30bodyfont doesn't work well. I'd suggest applying thefontmodification tobody, p, span, aat least. – Pierre-Adrien Jun 25 '13 at 08:36