: What is the default serif, sans-serif and monospace font-family for Mac OS X? Beginning with OS X 10.0 Cheetah, and assuming they are the same through the current release 10.8 Mountain Lion,
Beginning with OS X 10.0 Cheetah, and assuming they are the same through the current release 10.8 Mountain Lion, what are the default fonts rendered for the following font-families?
font-family: serif;
font-family: sans-serif;
font-family: monospace;
More posts by @Pope3001725
1 Comments
Sorted by latest first Latest Oldest Best
The default fonts for WebKit/Safari under Mac OS X are as follows:
Monospace -> Courier
Sans-serif -> Helvetica
Serif -> Times
Standard (default) -> Times
This is gleaned directly from the WebKit source, specifically the XML/plist file at Source/WebCore/Resources/DefaultFont.plist.in that's available online here. It includes the following lines:
<dict>
<key>monospace</key>
<string>Courier</string>
<key>standard</key>
<string>Times</string>
<key>sans-serif</key>
<string>Helvetica</string>
<key>serif</key>
<string>Times</string>
</dict>
The same file also includes the default monospace, sans-serif, and serif fonts for Korean, Japanese, Simplified Chinese, and Traditional Chinese, if those are of any interest to you.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.