qt5base-lts/src
Yoann Lopes 5971e09187 Use custom class for storing distance fields instead of QImage.
Distance fields are stored using a one-byte alpha component per pixel, a
format that QImage doesn't currently support. The Indexed8 format was used
instead, limiting what could be done with the QImage.
This patch introduces a new private class, QDistanceField, with a similar
API to QImage and using the Alpha8 pixel format. Unlike QImage which
aligns scanlines on a 4-byte boundary, QDistanceField tightly packs
scanlines together.

Task-number: QTBUG-30908
Task-number: QTBUG-32861
Change-Id: Ic273259ea07dfbd2b81a6358c0ca11a2330eb749
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
2013-08-27 16:03:11 +02:00
..
3rdparty Fix compilation of libGLESv2 with older MinGW-w64 headers 2013-07-11 17:29:39 +02:00
android Android: Get SSL root certificates from TrustManager 2013-08-07 17:28:19 +02:00
angle ANGLE: Fix MSVC compiler warning 2013-08-16 16:04:49 +02:00
concurrent Doc: Removed pages from "technology-apis" group. 2013-05-27 02:45:21 +02:00
corelib Revert "Fix compilation for Android ARMv5" 2013-08-27 16:00:47 +02:00
dbus Revert c3f485c525 2013-08-08 09:22:29 +02:00
gui Use custom class for storing distance fields instead of QImage. 2013-08-27 16:03:11 +02:00
network Update Linux interface getting to make fewer syscalls 2013-08-24 00:06:07 +02:00
opengl Fix upload of glyphs when using RGB32 masks on OpenGL ES 2013-07-30 20:34:11 +02:00
openglextensions Use BSD licensing for QtOpenGLExtensions instead of LGPL 2013-06-24 10:16:32 +02:00
platformsupport JNI Convenience: Make single argument ctors explicit. 2013-08-26 23:52:59 +02:00
plugins Return 1.0 for devicePixelRatio in QCocoaWindow if no valid window 2013-08-23 11:48:00 +02:00
printsupport Fix text being cut off at the right side in print preview. 2013-07-29 15:38:51 +02:00
sql Construct a valid QTime when creating timestamps for iBase SQL driver. 2013-08-21 16:39:55 +02:00
testlib Fix mouse test event in window warning message. 2013-08-18 07:52:54 +02:00
tools Doc: added excludedirs to qdocconf example. 2013-08-23 11:48:00 +02:00
widgets Style: Remove useless background paint for menu scroller 2013-08-22 19:14:03 +02:00
winmain fix path adjustments in installed metafiles 2013-01-30 15:43:00 +01:00
xml xml-processing: Small documentation corrections 2013-07-08 14:21:39 +02:00
src.pro TR_EXCLUDE tools including bootstrap lib 2013-08-15 18:02:42 +02:00