[Development] [QT5] System fonts are not loaded in ubuntu 12.04

Loaden loaden at gmail.com
Sat May 5 09:11:01 CEST 2012

Same issue in Chara.

2012/5/5 liang jian <jianliang79 at gmail.com>

>    I have built Qt 5 in ubuntu 12.04, The simplified chinese
> character can't be displayed.
>    I found that in QBaseFontDatabase::popluateFontDatabase() the font
> path returned by fontDir() is "/mnt/sda8/liang/qt5/qtbase/lib/fonts/"
> which is the path I built my Qt5, there are several fonts file in this
> directory but there are no chinese font files. As a result of this,
> the system font installed on my ubuntu 12.04 was not loaded and the
> simplified chinese character can't be displayed.
>    In Qt5 Windows platform, there is a classe named
> QWindowsFontDatabase which is a subclass of QPlatformFontDatabase
> which will search Windows Font using Windows API, I there any way to
> search system fonts in XCB?
> _______________________________________________
> Development mailing list
> Development at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/development

Please don't ask where I come from, It's a shame!
Best Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20120505/d3db4d1a/attachment.html>

More information about the Development mailing list