Hello,

I am running QtWebkit 2.3.2 + Qt 4.8.5 embedded on a MIPS system.

I'm having issues with fonts handling. Basically QtWebkit says I have only 1 
font installed (using this: http://flippingtypical.com/). 
So I can't see any unicode character, arabic or whatever characters. (for 
example on this page: http://en.wikipedia.org/wiki/Unicode_and_HTML)

I've done a quick test on Qt by calling QFontDatabase::families() and it 
returns the correct number of fonts installed. I have fontconfig version 2.6.0.
So I guess the problem is in QtWebkit.

Digging around in the config files I found this:

# We need fontconfig to set up the test fonts for DumpRenderTree and 
WebKitTestRunner.
haveQt(5) {
    config_fontconfig:!mac {
        DEFINES += HAVE_FONTCONFIG=1
    }
} else {
    # Qt 4
    unix:!mac:!embedded {
        DEFINES += HAVE_FONTCONFIG=1
    }
}

Does it mean it won't use fontconfig for Qt embedded systems ? If so, is there 
a particular reason for it ?
What is the correct way to tell QtWebkit where to look for fonts or to retrieve 
them from Qt ?

Thanks,
Massimo
_______________________________________________
webkit-qt mailing list
webkit-qt@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-qt

Reply via email to