2011-05-25, 16:01:01
angelazou Wrote:Well, I think font hosting only solves part of my issue. You see, when I select to use a particular font, for example, verdana, it's set in the CSS files. Fonts for another language, like Chinese, of course uses a different font. And because verdana (in this example) doesn't have its Chinese corresponding fonts, then the browser falls back to use the default, whatever that's available on this system.
I want to know how I can tell GetSimple to use a different font when using a different language. I think this may be something to do with how the I18N plugin works.
Regards,
Angela
You can add a CSS class with the current language to e.g. the body of the page
Code:
<body ... class="<?php echo @$language; ?>">
Code:
body.zh {
font-family: ...
}