- 
          
- 
        Couldn't load subscription status. 
- Fork 5.9k
Color Emoji (DirectX support improvements) #2375
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
keep `type:directx` use old renderer. `type:directx2` for new renderer.
with log of bugs ;-)
ignore lib files for debug executables
BindDC is not called when turn on DirectX(3) because of IS_ENABLE_DIRECTX() guard in directx_binddc(). The flag which be checked in the macro is not set at where called it. fix #3
* high speed * without color emoji * with some bugs related #4
* Character on cursor was not shown. * Hollow cursor was not shown. * Flush before using GDI functions.
we don't know enough about taamode:3
* add mattn as contributors * change link to referenced code
No need to use "void" for functions without parameters.
| Codecov Report
 @@            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
 Continue to review full report at Codecov. 
 | 
| From your example it looks like some emojis are cut-off? Does the change in directx rendering fix #1520 perhaps? | 
| As we wrote in   | 
| Where would I get the current test font (Segoe UI Mono)? | 
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 vim#2375)
    
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. 😄😄😄