QPlatformFontDatabase: compress requiredUnicodeBits table
All values in the table fit into 8 bits, so don't use a 16-bit type. Change-Id: I685727e16a264a49ea501d36eb6815c6d5aaa9b2 Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com> Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com>
This commit is contained in:
parent
91ab18c0c9
commit
fa4b57e8c5
@ -473,7 +473,7 @@ QFontEngine::SubpixelAntialiasingType QPlatformFontDatabase::subpixelAntialiasin
|
||||
// ### copied to tools/makeqpf/qpf2.cpp
|
||||
|
||||
// see the Unicode subset bitfields in the MSDN docs
|
||||
static const ushort requiredUnicodeBits[QFontDatabase::WritingSystemsCount][2] = {
|
||||
static const quint8 requiredUnicodeBits[QFontDatabase::WritingSystemsCount][2] = {
|
||||
{ 127, 127 }, // Any
|
||||
{ 0, 127 }, // Latin
|
||||
{ 7, 127 }, // Greek
|
||||
|
Loading…
Reference in New Issue
Block a user