Skip to content

Instantly share code, notes, and snippets.

View torarnv's full-sized avatar

Tor Arne Vestbø torarnv

  • The Qt Company
  • Oslo, Norway
View GitHub Profile
<img src='http://decodeunicode.org/en/data/glyph/196x196/2044.gif'><br>
<a href='http://graphemica.com/2044'>U+2044</a>: 23 (8 + 15)<br>
<img src='http://decodeunicode.org/en/data/glyph/196x196/0361.gif'><br>
<a href='http://graphemica.com/0361'>U+0361</a>: 15 (6 + 9)<br>
<img src='http://decodeunicode.org/en/data/glyph/196x196/0338.gif'><br>
<a href='http://graphemica.com/0338'>U+0338</a>: 12 (12 + 0)<br>
<img src='http://decodeunicode.org/en/data/glyph/196x196/0305.gif'><br>
<a href='http://graphemica.com/0305'>U+0305</a>: 12 (12 + 0)<br>
<img src='http://decodeunicode.org/en/data/glyph/196x196/006A.gif'><br>
<a href='http://graphemica.com/006A'>U+006A</a>: 11 (11 + 0)<br>
#-------------------------------------------------
#
# Project created by QtCreator 2013-06-19T13:24:50
#
#-------------------------------------------------
QT += core core-private gui gui-private opengl #quick
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
diff --git i/src/gui/text/qfontengine.cpp w/src/gui/text/qfontengine.cpp
index 0725ca4..83e64a5 100644
--- i/src/gui/text/qfontengine.cpp
+++ w/src/gui/text/qfontengine.cpp
@@ -1355,6 +1355,28 @@ QFixed QFontEngine::lastRightBearing(const QGlyphLayout &glyphs, bool round)
return 0;
}
+
+QFontEngine::GlyphCacheEntry::GlyphCacheEntry()
diff --git i/src/opengl/gl2paintengineex/qpaintengineex_opengl2.cpp w/src/opengl/gl2paintengineex/qpaintengineex_opengl2.cpp
index ec4ff5a..b8c039d 100644
--- i/src/opengl/gl2paintengineex/qpaintengineex_opengl2.cpp
+++ w/src/opengl/gl2paintengineex/qpaintengineex_opengl2.cpp
@@ -1482,9 +1482,10 @@ void QGL2PaintEngineEx::drawStaticTextItem(QStaticTextItem *textItem)
// don't try to cache huge fonts or vastly transformed fonts
QFontEngine *fontEngine = textItem->fontEngine();
if (shouldDrawCachedGlyphs(fontEngine, s->matrix)) {
- QFontEngine::GlyphFormat glyphFormat = fontEngine->glyphFormat >= 0
- ? QFontEngine::GlyphFormat(textItem->fontEngine()->glyphFormat)
commit d2c662b0f51bbef57454529ce2d1eae01ff61431
Author: Tor Arne Vestbø <tor.arne.vestbo@digia.com>
Date: Thu Feb 27 15:59:09 2014 +0100
Don't pretend to be PLATFORM(IPHONE) or PLATFORM(IPHONE_SIMULATOR) for Qt
As that ends up triggering other code paths such as JIT on ARM.
Change-Id: I14238c0913bd60e07de5015a82bcde0ab08a3a19
commit 6c6fde809a5f380b2a1bab99e45c4c085fbcfb9d
Author: Tor Arne Vestbø <tor.arne.vestbo@digia.com>
Date: Mon Dec 2 12:44:14 2013 +0100
iOS: Use DWARF instead of DWARF with dSYM for debug builds
Generating the dSYM file takes a long time due to our relatively large
static libraries, and is not really useful for a debug build where you
are likely to have the object files and Qt libraries available on your
host system for debugging anyways.
CNAME
CONTRIBUTING.md
INSTALL.md
LICENSE
LICENSE.md
Makefile
README.md
ass-stubs
badge.js
colorscheme.json
CNAME
CONTRIBUTING.md
INSTALL.md
LICENSE
LICENSE.md
Makefile
README.md
ass-stubs
badge.js
colorscheme.json
diff --git i/examples/gui/openglwindow/main.cpp w/examples/gui/openglwindow/main.cpp
index aa1c6d7..d2a4d4a 100644
--- i/examples/gui/openglwindow/main.cpp
+++ w/examples/gui/openglwindow/main.cpp
@@ -139,7 +139,7 @@ void TriangleWindow::render()
const qreal retinaScale = devicePixelRatio();
glViewport(0, 0, width() * retinaScale, height() * retinaScale);
- glClear(GL_COLOR_BUFFER_BIT);
+ //glClear(GL_COLOR_BUFFER_BIT);
diff --git i/src/plugins/platforms/ios/qioscontext.h w/src/plugins/platforms/ios/qioscontext.h
index 52357a5..93be4cb 100644
--- i/src/plugins/platforms/ios/qioscontext.h
+++ w/src/plugins/platforms/ios/qioscontext.h
@@ -88,7 +88,7 @@ private:
bool isComplete;
};
- static void deleteBuffers(const FramebufferObject &framebufferObject);
+ void deleteBuffers(const FramebufferObject &framebufferObject);