[Qt-interest] QFontDatabase::addApplicationFont() always returns -1

Markus Franke markus.franke at informatik.tu-chemnitz.de
Wed Mar 4 15:55:17 CET 2009


Just in case anybody someday has the same problems. My font files were  
broken due to a wrong check-in (text format) to CVS. :-( That's why I  
got the errors below.

Best regards,
Markus

Zitat von Markus Franke <markus.franke at informatik.tu-chemnitz.de>:

> Dear all,
>
> the function QFontDatabase::addApplicationFont() always returns -1,
> nevermind which TTF file I pass to the function. On the console I can
> see the following error message:
>
> ---snip---
> FT_New_Face failed with index 0 : 2
> ---snap---
>
> I am on Qt Embedded 4.5.0 using an ARM9 microcontroller. Btw: Same
> happened with Qt 4.4.3.
>
> Any ideas?
>
> Best Regards,
>
> Markus Franke
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
>






More information about the Qt-interest-old mailing list