diff options
author | Jian Liang <jianliang79@gmail.com> | 2016-04-01 22:03:15 +0800 |
---|---|---|
committer | jian liang <jianliang79@gmail.com> | 2016-05-03 22:58:49 +0000 |
commit | 347832d7593e2369f8597bbd06213b80b3087433 (patch) | |
tree | 1fa749d3ee7d4bc2f5349457c990669b796ed84f /config.tests | |
parent | 324e2776874e6d09fe53078f4f0da3cab3831322 (diff) |
Support color font rendering for freetype engine
This patch mainly do two things:
1) Support color bitmap font for freetype fontengine. This partially
based on Corentin Jabot's patch
2) Support ARGB opengl glyph cache when workaround_brokenFBOReadBack is
true (It is always true under Android). Some code refactor has been
done in QOpenGLTextureGlyphCache.
This patch also bump the minimal required freetype version to 2.2
[ChangeLog][General][Freetype] Support color font rendering
Task-number: QTBUG-35156
Change-Id: I35aae5f98ba9a27b70a48db3f2647fc070c39c33
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
Diffstat (limited to 'config.tests')
-rw-r--r-- | config.tests/unix/freetype/freetype.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config.tests/unix/freetype/freetype.cpp b/config.tests/unix/freetype/freetype.cpp index 29bbfd8c6d..c051600b02 100644 --- a/config.tests/unix/freetype/freetype.cpp +++ b/config.tests/unix/freetype/freetype.cpp @@ -40,7 +40,7 @@ #include <ft2build.h> #include FT_FREETYPE_H -#if ((FREETYPE_MAJOR*10000 + FREETYPE_MINOR*100 + FREETYPE_PATCH) < 20110) +#if ((FREETYPE_MAJOR*10000 + FREETYPE_MINOR*100 + FREETYPE_PATCH) < 20200) # error "This version of freetype is too old." #endif |