[mythtv-firehose] mythtv/master commit: 69a371859 by John Poet (jpoet)

MythTV noreply at mythtv.org
Fri Feb 17 00:46:43 UTC 2012


      Author:  John Poet <jpoet at mythtv.org>
 Change Date:  2012-02-16T16:42:01-08:00
   Push Date:  2012/02/16 16:46:31 -0800
  Repository:  mythtv
      Branch:  master
New Revision:  69a37185980c9f031603d6f161c136af52aa4cc7
   Changeset:  https://github.com/MythTV/mythtv/commit/69a371859

Log:

MythUI: Handle characters in fonts which exceed the "width" and "height" of the font.

QTextLayout blissfully ignores the problem of characters which exceed the
defined dimensions of the font.  QFontMetrics can be used to find out how
much a character exceeds the font's dimensions, so use it to see if we need
more space on our "canvas".

Modified:

   mythtv/libs/libmythui/mythuitext.cpp
   mythtv/libs/libmythui/mythuitext.h



More information about the mythtv-firehose mailing list