Ignore:
Timestamp:
Nov 13, 2009, 11:57:53 PM (16 years ago)
Author:
Dmitry A. Kuminov
Message:

gui/text: Keep track of scripts supported by individual styles within a font family to make sure that if some style doesn't support all scripts the other style does, the font matching algorithm will select another family for this style instead of drawing empty boxes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gui/text/qfontdatabase.cpp

    r223 r318  
    145145                                uint yres = 0, uint avgwidth = 0, bool add = false);
    146146#endif // Q_WS_X11
     147
     148
     149
    147150#if defined(Q_WS_QWS) || defined(Q_WS_PM)
    148151    QByteArray fileName;
     
    224227            free(pixelSizes[count].encodings);
    225228#endif
     229
     230
     231
    226232#if defined(Q_WS_QWS) || defined(Q_WS_PM)
    227233            pixelSizes[count].fileName.~QByteArray();
     
    279285    pixelSizes[count].count = 0;
    280286    pixelSizes[count].encodings = 0;
     287
     288
     289
    281290#endif
    282291#if defined(Q_WS_QWS) || defined(Q_WS_PM)
     
    965974#endif // Q_WS_X11
    966975
     976
     977
     978
     979
     980
     981
     982
     983
     984
     985
     986
     987
     988
     989
     990
    967991#if !defined(Q_WS_MAC)
    968992static
     
    10461070                }
    10471071#endif
     1072
     1073
     1074
     1075
     1076
     1077
     1078
    10481079
    10491080                unsigned int d;
     
    10901121        }
    10911122#endif // Q_WS_X11
     1123
     1124
     1125
     1126
     1127
     1128
     1129
     1130
     1131
    10921132
    10931133        unsigned int this_score = 0x0000;
Note: See TracChangeset for help on using the changeset viewer.