diff options
Diffstat (limited to 'src/distancefieldgenerator/mainwindow.cpp')
-rw-r--r-- | src/distancefieldgenerator/mainwindow.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/distancefieldgenerator/mainwindow.cpp b/src/distancefieldgenerator/mainwindow.cpp index a3f48cb0a..94f5c8ebb 100644 --- a/src/distancefieldgenerator/mainwindow.cpp +++ b/src/distancefieldgenerator/mainwindow.cpp @@ -438,7 +438,6 @@ QByteArray MainWindow::createSfntTable() sizeof(QtdfHeader)); // Maximum height allocator to find optimal number of textures - QRect allocatedArea; QVector<QRect> allocatedAreaPerTexture; struct GlyphData { @@ -496,7 +495,6 @@ QByteArray MainWindow::createSfntTable() rect.width(), rect.height()); - allocatedArea |= rect; glyphData.texCoord.xMargin = QT_DISTANCEFIELD_RADIUS(m_model->doubleGlyphResolution()) / qreal(QT_DISTANCEFIELD_SCALE(m_model->doubleGlyphResolution())); glyphData.texCoord.yMargin = QT_DISTANCEFIELD_RADIUS(m_model->doubleGlyphResolution()) / qreal(QT_DISTANCEFIELD_SCALE(m_model->doubleGlyphResolution())); |