Skip to content

Commit d7ccc4d

Browse files
committed
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)
1 parent fb1db0e commit d7ccc4d

7 files changed

Lines changed: 572 additions & 302 deletions

File tree

appveyor.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ matrix:
1616

1717
before_build:
1818
- '"C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /x64 /release'
19+
- 'set INCLUDE=%INCLUDE%C:\Program Files (x86)\Windows Kits\8.1\Include\um'
1920

2021
build_script:
2122
- src/appveyor.bat

runtime/doc/options.txt

Lines changed: 26 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6154,11 +6154,34 @@ A jump table for the options with a short description can be found at |Q_op|.
61546154

61556155
Example: >
61566156
set encoding=utf-8
6157-
set gfn=Ricty_Diminished:h12:cSHIFTJIS
6157+
set gfn=Ricty_Diminished:h12
61586158
set rop=type:directx
61596159
<
6160-
If select a raster font (Courier, Terminal or FixedSys) to
6161-
'guifont', it fallbacks to be drawn by GDI automatically.
6160+
If select a raster font (Courier, Terminal or FixedSys which
6161+
have ".fon" extension in file name) to 'guifont', it will be
6162+
drawn by GDI as a fallback. This fallback will cause
6163+
significant slow down on drawing.
6164+
6165+
NOTE: It is known that some fonts and options combination
6166+
causes trouble on drawing glyphs.
6167+
6168+
- 'rendmode:5' and 'renmode:6' will not work with some
6169+
special made fonts (True-Type fonts which includes only
6170+
bitmap glyphs).
6171+
- 'taamode:3' will not work with some vector fonts.
6172+
6173+
NOTE: With this option, you can display colored emoji
6174+
(emoticon) in Windows 8.1 or later. To display colored emoji,
6175+
there are some conditions which you should notice.
6176+
6177+
- If your font includes non-colored emoji already, it will
6178+
be used.
6179+
- If your font doesn't have emoji, the system chooses an
6180+
alternative symbol font. On Windows 10, "Segoe UI Emoji"
6181+
will be used.
6182+
- When this alternative font didn't have fixed width glyph,
6183+
emoji might be rendered beyond the bounding box of drawing
6184+
cell.
61626185

61636186
Other render types are currently not supported.
61646187

0 commit comments

Comments
 (0)