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

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

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?

1 Answer 1


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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .