[webkit-dev] finding chinese fonts based on xml:lang/lang

Eric Welch 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.


 

For example:

 

<blockquote xml:lang="zh-CN" lang="zh-CN">

 

<p>&#x5b50;&#x66f0; ... </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,

Eric Welch

BSquare

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20100203/78cb1f9a/attachment.html>


More information about the webkit-dev mailing list