Browse files

patch 8.0.1343: MS-Windows: does not show colored emojis

Problem:    MS-Windows: does not show colored emojis.
Solution:   Implement colored emojis. Improve drawing speed. Make 'taamode'
            work. (Taro Muraoka, Yasuhiro Matsumoto, Ken Takata, close #2375)
  • Loading branch information...
brammool committed Nov 26, 2017
1 parent fb1db0e commit d7ccc4d81dbcfa3ac0352bacea6e294fc9e33fda
Showing with 572 additions and 302 deletions.
  1. +1 −0 appveyor.yml
  2. +26 −3 runtime/doc/options.txt
  3. +416 −250 src/gui_dwrite.cpp
  4. +7 −4 src/gui_dwrite.h
  5. +120 −44 src/gui_w32.c
  6. +0 −1 src/proto/
  7. +2 −0 src/version.c
@@ -16,6 +16,7 @@ matrix:
- '"C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /x64 /release'
- 'set INCLUDE=%INCLUDE%C:\Program Files (x86)\Windows Kits\8.1\Include\um'
- src/appveyor.bat
@@ -6154,11 +6154,34 @@ A jump table for the options with a short description can be found at |Q_op|.
Example: >
set encoding=utf-8
set gfn=Ricty_Diminished:h12:cSHIFTJIS
set gfn=Ricty_Diminished:h12
set rop=type:directx
If select a raster font (Courier, Terminal or FixedSys) to
'guifont', it fallbacks to be drawn by GDI automatically.
If select a raster font (Courier, Terminal or FixedSys which
have ".fon" extension in file name) to 'guifont', it will be
drawn by GDI as a fallback. This fallback will cause
significant slow down on drawing.
NOTE: It is known that some fonts and options combination
causes trouble on drawing glyphs.
- 'rendmode:5' and 'renmode:6' will not work with some
special made fonts (True-Type fonts which includes only
bitmap glyphs).
- 'taamode:3' will not work with some vector fonts.
NOTE: With this option, you can display colored emoji
(emoticon) in Windows 8.1 or later. To display colored emoji,
there are some conditions which you should notice.
- If your font includes non-colored emoji already, it will
be used.
- If your font doesn't have emoji, the system chooses an
alternative symbol font. On Windows 10, "Segoe UI Emoji"
will be used.
- When this alternative font didn't have fixed width glyph,
emoji might be rendered beyond the bounding box of drawing
Other render types are currently not supported.
Oops, something went wrong.

0 comments on commit d7ccc4d

Please sign in to comment.