This patch introduces two big features and one small fix to Vim's
DirectX rendering.
Emoji was started from Japan and now widely used in the World as you
know. It has became very important parts for the communication. Recent
Windows supports colored emoji with DirectX, but Vim couldn't use it.
This patch implements colored emoji for Vim.
Vim's DirectX support was not enough about drawing speed. It was caused
by wrong use of DirectX. Now Vim's DirectX rendering is equal or faster
than GDI.
The 'taamode' option didn't work entirely because of incorrect use of
DirectX. This patch fixes it.
And last, this patch is written by collaborating mattn, k-takata and me.
Please enjoy colored 🍣 emoji with this patch. 😄😄😄
https://github.com/vim/vim/pull/2375
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
Merging #2375 into master will increase coverage by
0.01%.
The diff coverage isn/a.
@@ Coverage Diff @@ ## master #2375 +/- ## ========================================== + Coverage 74.52% 74.54% +0.01% ========================================== Files 91 91 Lines 132413 132412 -1 Branches 29082 29083 +1 ========================================== + Hits 98682 98701 +19 - Misses 33706 33707 +1 + Partials 25 4 -21
| Impacted Files | Coverage Δ | |
|---|---|---|
| src/if_xcmdsrv.c | 84.53% <0%> (-0.18%) |
⬇️ |
| src/if_py_both.h | 76.45% <0%> (-0.15%) |
⬇️ |
| src/gui.c | 47.4% <0%> (-0.11%) |
⬇️ |
| src/channel.c | 82.48% <0%> (-0.05%) |
⬇️ |
| src/gui_gtk_x11.c | 47.65% <0%> (ø) |
⬆️ |
| src/window.c | 81.78% <0%> (+0.03%) |
⬆️ |
| src/libvterm/src/screen.c | 73.3% <0%> (+0.51%) |
⬆️ |
| src/gui_beval.c | 63.09% <0%> (+0.85%) |
⬆️ |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact),ø = not affected,? = missing data
Powered by Codecov. Last update fb1db0e...b98eab5. Read the comment docs.
From your example it looks like some emojis are cut-off? Does the change in directx rendering fix #1520 perhaps?
As we wrote in :help renderoptions, if alternative font doesn't have fixed with glyph for the emoji, it will be cut-off.
- When this alternative font didn't have fixed width glyph,
emoji might be rendered beyond the bounding box of drawing
cell.
Where would I get the current test font (Segoe UI Mono)?