trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: January 2018

[SOLVED] Re: Looking for a hint

From: deloptes <deloptes@...>
Date: Sun, 14 Jan 2018 12:52:09 +0100
deloptes wrote:

> Hi,
> I was wondering if someone knows where this font functionality is hidden -
> I guess it would be qt so tqt3, but you would save me some time.
> 
> I was willing to investigate on this bug
> https://bugs.trinitydesktop.org/show_bug.cgi?id=2828
> 
> I am just wondering why the font symbols are of such size 0x1234 while
> there are other that we are missing in TDE with 0x12345 etc
> 
> thanks in advance
> regards

man tqchar

       The QChar class provides a lightweight Unicode character.

       Unicode characters are (so far) 16-bit entities without any markup or
structure. This class represents such an entity. It is lightweight, so it
       can be used everywhere. Most compilers treat it like a "short int".
(In a few years it may be necessary to make QChar 32-bit when more than
       65536 Unicode code points have been defined and come into use.)

       QChar provides a full complement of testing/classification functions,
converting to and from other formats, converting from composed to
       decomposed Unicode, and trying to compare and case-convert if you ask
it to.

       The classification functions include functions like those in ctype.h,
but operating on the full range of Unicode characters. They all return
       TRUE if the character is a certain type of character; otherwise they
return FALSE. These classification functions are isNull() (returns TRUE if
       the character is U+0000), isPrint() (TRUE if the character is any
sort of printable character, including whitespace), isPunct() (any sort of
       punctation), isMark() (Unicode Mark), isLetter (a letter), isNumber()
(any sort of numeric character), isLetterOrNumber(), and isDigit()
       (decimal digits). All of these are wrappers around category() which
return the Unicode-defined category of each character.