Lata:

  When your app is running, Qt should produce temporary .qpf files
  in your system's fonts folder (for example, 
/usr/lib/fonts/helvetica_100_50.qpf).
  These represent a cache of glyphs that Qt has already rendered from
  the scalable font file. (In the case of my example, the Helvetica font
  rendered at 10.0 points, normal weight.)

  See if these files are there; that may give you some clue as to how
  far font processing got.

                                      Atlant


From: interest-bounces+aschmidt=dekaresearch....@qt-project.org 
[mailto:interest-bounces+aschmidt=dekaresearch....@qt-project.org] On Behalf Of 
Lata Agrawal
Sent: Wednesday, June 27, 2012 11:12 AM
To: Konstantin Tokarev
Cc: interest@qt-project.org
Subject: Re: [Interest] Fonts not rendering!

In configure command for QT, I have used -qt-freetype. That should build 
freetype support, right?
On 27 June 2012 20:38, Konstantin Tokarev 
<annu...@yandex.ru<mailto:annu...@yandex.ru>> wrote:


27.06.2012, 19:06, "Lata Agrawal" 
<lata.agra...@enrouteinc.com<mailto:lata.agra...@enrouteinc.com>>:
> Hi,
>
> I am working with an Embedded Linux/MIPS device. It has qt-4.6.2 libs 
> compiled using gcc-4.2.4 installed on it. LD_LIBRARY_PATH is set 
> appropriately.
>
> I tried running a simple QT app with a button on device. The app runs fine 
> but the text on button is not showing. I also executed the same app with 
> strace (log attached here). In strace log, app appears to find the fonts in 
> <QTDIR>/lib/fonts folder but still it is not rendering the text.
> When I execute the same app on similar device having Qt-4.6.2 libs compiled 
> using gcc-3.4.4, it shows the text properly.
>
> Can someone please check the strace and help me find out the reason for fonts 
> not rendering?
Do you build Qt with freetype? If not, you need fonts to be rasterized to qpf2 
format.

--
Regards,
Konstantin



--

Lata Agrawal
9699750643
En Route Media Pvt. Ltd.

Winner of 'Innovative Creation of a New Medium' at the E4M & N2M Awards 2012




Click 
here<https://www.mailcontrol.com/sr/M!ePE60z3YrTndxI!oX7UsdpzMR7Bo2KDoBOKt9jAz5UoueUz592!RQ5DfdRFI1dgpf1MfYpnnz55a0nEA+RCg==>
 to report this email as spam.

________________________________
This e-mail and the information, including any attachments, it contains are 
intended to be a confidential communication only to the person or entity to 
whom it is addressed and may contain information that is privileged. If the 
reader of this message is not the intended recipient, you are hereby notified 
that any dissemination, distribution or copying of this communication is 
strictly prohibited. If you have received this communication in error, please 
immediately notify the sender and destroy the original message.

Thank you.

Please consider the environment before printing this email.
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to