Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

For example, this is the source code of a test page:

<!doctype html>
<html>
    <head>
        <meta charset="utf-8" />
        <style type="text/css">
            body
            {
                font-family: sans-serif;
            }
        </style>
    </head>
    <body>
        <div lang="en-US">Test.</div>
        <div lang="zh-CN">Test.</div>
    </body>
</html>

If Google Chrome's display language is English, the second line's font is SimSun even I set the browser's sans-serif font to Microsoft YaHei. It only works for the language that your browser uses. Is it possible to set the browser's font for different languages?

share|improve this question
add comment

1 Answer

up vote 0 down vote accepted

Yes, Chrome provides several APIs to help people write extensions to do so: http://developer.chrome.com/extensions/fontSettings.html.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.