[Qt-interest] Random load glyph error

Atlant Schmidt aschmidt at dekaresearch.com
Thu Aug 5 14:18:34 CEST 2010


Josh:

  I don't have a solution for you, but since we've
  been attempting to upgraded to Qt 4.6.3, we've
  been routinely seeing that error message as well.

  It's deterministic in that a fixed number of these
  messages appear when we display certain screens in
  our app.

  For us, the glyphs complained about are 832 and 960
  (the Unicode "Accent Grave 'dead-key'" and the "Pi"
  Symbol), but as far as I know, we never use either
  of those code-points at all and certainly don't use
  them on the screens which produce the messages.

  We see another symptom as well: on one of our
  screens (an application failure screen), all of
  the lower-case "u"s in that message are displaced
  downwards so the tops of the "u"s more-or-less
  align with the baseline of the text.*

  For us, both of these symptoms only appear when
  we're using our Luxi Sans TrueType font; they
  *DON'T* appear when we let the system fall-back
  to a Luxi Sans Postscript Type 1 font.**,***.

  How does this match-up with your application?

  I've tried to write a simple reproducer but failed
  utterly; everything my reproducer tries (including
  using that exact same typeface as used on our error
  screen and in the correct size and weight) works
  fine. Proper subscripts work fine as well.

  For us, this problem is a show-stopper for moving
  to Qt 4.6.3. We could work-around some of the problem
  by not using the TrueType Luxi Sans fonts, but we
  also have an Asian font and (AFAIK) that's only
  available to us a TrueType, not Postscript Type 1.

                    Atlant



 *  They're not proper Qt subscripts because they aren't
    reduced in height at all (whereas Qt subscripts are
    reduced to 1/2 height) and they're displaced too far
    downwards (whereas Qt subscripts are displaced downwards
    by 1/6 of the line's full height).

 ** When the .ttf Luxi Sans fonts are in use, Qt generates
    .qsf files in the /tmp/qtembedded-0/fonts/ folder. When
    the PS1 versions of the fonts are in use, the .qsf files
    aren't generated. This surprised me somewhat.

*** I need to conduct a further experiment where I let the
    system fall back even further to the DejaVu Sans TrueType
    fonts.


-----Original Message-----
From: qt-interest-bounces at trolltech.com [mailto:qt-interest-bounces at trolltech.com] On Behalf Of Josh
Sent: Wednesday, August 04, 2010 17:46 PM
To: qt-interest at trolltech.com
Subject: [Qt-interest] Random load glyph error

Hello all,

I got this error message from my Qt only program and was wondering if
anyone could help me track it down. Does anyone know how to figure out
which font and glyph these numbers refer to? I'm assuming this error is in
either the font or Qt... Thanks for any help.

load glyph failed err=6 face=0x2cb0f10, glyph=4160

Thanks for any pointers!

Josh
_______________________________________________
Qt-interest mailing list
Qt-interest at trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-interest

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.




More information about the Qt-interest-old mailing list