[Qt-interest] missing first character in labels

Joost Heijne joost.heijne at qconsultancy.nl
Tue May 10 08:55:14 CEST 2011


Dear all,

I have been struggling with the exact same issue and found only one hit
on
google, which was this old message. I was wondering if someone would
have
found a solution yet, or if anyone could tell me what I'm doing wrong.

I'm using Qt 4.7.3 on embedded linux now, but some previous versions
have shown the same symptoms.

Regards,

Joost


> I'm having an intermittent problem that seems to be related to fonts.
> I'm using Qt 4.5.2 on embedded linux. 
>
>
> 
> The problem is that sometimes the first character is missing from
> on-screen text. The problem only shows up about half the time.
Sometimes
> when I start up the app, it's there. If I restart the app, it might
> disappear. The reason I think it's related to a font problem is that
the
> problem will only show up once for every font/size/style combination.
In
> other words, if I use the same font/size/style throughout the app, I
> only get one string in the whole app with a missing first character.
If
> I add another font/size/style combo, I get another missing character
on
> strings with that font configuration.
>
>  
>
> I tried using QFontDatabase.addApplicationFont, but this doesn't seem
to
> have an effect.
>
>  
>
> Any ideas out there? 
>
>  
>
> Thanks in advance.
>
>  
>
> Chris
>




More information about the Qt-interest-old mailing list