Ignore:
Timestamp:
Mar 8, 2010, 12:52:58 PM (15 years ago)
Author:
Dmitry A. Kuminov
Message:

trunk: Merged in qt 4.6.2 sources.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/src/gui/painting/qtextureglyphcache.cpp

    r561 r651  
    11/****************************************************************************
    22**
    3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
     3** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
    44** All rights reserved.
    55** Contact: Nokia Corporation (qt-info@nokia.com)
     
    4747#include "private/qnativeimage_p.h"
    4848#include "private/qfontengine_ft_p.h"
     49
     50#ifndef QT_DEFAULT_TEXTURE_GLYPH_CACHE_WIDTH
     51#define QT_DEFAULT_TEXTURE_GLYPH_CACHE_WIDTH 256
     52#endif
    4953
    5054QT_BEGIN_NAMESPACE
     
    113117    rowHeight += margin * 2;
    114118    if (isNull())
    115         createCache(256, rowHeight);
     119        createCache(QT_DEFAULT_TEXTURE_GLYPH_CACHE_WIDTH, rowHeight);
    116120
    117121    // now actually use the coords and paint the wanted glyps into cache.
Note: See TracChangeset for help on using the changeset viewer.