qt5base-lts/tools/configure
Eskil Abrahamsen Blomfeldt 33044b83c2 Add color font support on Windows
Detect if DirectWrite 2 is available, and support color fonts if possible.
One limitation worth mentioning is that if the color font contains regular,
monochrome glyphs as well, then these will be drawn in black, and not in the
pen color. Fixing this would require some elaborate rewrites in the font
rendering system, since we would have to have two font caches per
color font (one for mono and one for colors), or do some sort of trick where
we make argb(r, g, b, 0) mean subpixel alpha instead, and detect glyphs that
are not correctly premultiplied when blitting to the screen.

Another limitation is that the approach does not work with distance field
rendering. In principle we could support this on Windows, since the
format is vector based, but it would also require substantial work and
it is not possible to support for Apple/Google fonts anyway, so it would
just lead to code which is not cross-platform.

[ChangeLog][Windows] Added support for color fonts (color emojis) when
DirectWrite 2 is available.

Change-Id: I6a608dd5d2aa3a7e762a06830902bddac7c550a5
Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
2016-04-13 07:30:35 +00:00
..
configure_pch.h Updated license headers 2016-01-21 18:55:18 +00:00
configure.pro tools/configure: enable QStringBuilder 2016-04-08 12:24:07 +00:00
configureapp.cpp Add color font support on Windows 2016-04-13 07:30:35 +00:00
configureapp.h Updated license headers 2016-01-21 18:55:18 +00:00
environment.cpp Add Intel copyright to files that Intel has had non-trivial contribution 2016-01-21 22:44:21 +00:00
environment.h Updated license headers 2016-01-21 18:55:18 +00:00
main.cpp Updated license headers 2016-01-21 18:55:18 +00:00
Makefile.mingw tools/configure: enable QStringBuilder 2016-04-08 12:24:07 +00:00
Makefile.win32 tools/configure: enable QStringBuilder 2016-04-08 12:24:07 +00:00
tools.cpp Updated license headers 2016-01-21 18:55:18 +00:00
tools.h Updated license headers 2016-01-21 18:55:18 +00:00