[webkit-dev] finding chinese fonts based on xml:lang/lang
Ericwe at bsquare.com
Wed Feb 3 14:35:35 PST 2010
I'm working on a wince port which uses cairo and fontConfig (but not
Pango), but can't seem to find why the html lang tag (usually paired
with xml:lang) does not trigger fontConfig to match with a Chinese font.
<blockquote xml:lang="zh-CN" lang="zh-CN">
<p>子曰 ... </p>
I've verified specifying a Chinese font, or even CSS style params
matching lang(zh) works for me, but the above code alone does not
trigger the same matches.
Thank you for any suggestions,
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the webkit-dev