neovim-qt icon indicating copy to clipboard operation
neovim-qt copied to clipboard

Direct Write support?

Open harg opened this issue 7 years ago • 7 comments

Does Neovim-qt support Direct Write on Microsoft Windows?

neovim_directwrite

harg avatar May 04 '17 08:05 harg

AFAIK Qt does not enable directwrite by default. I think you would need to rebuild Qt to support it.

equalsraf avatar May 04 '17 09:05 equalsraf

We don't support windows xp, so should we not enable this by default? this and this suggest Windows Vista and later will work.

justinmk avatar May 04 '17 09:05 justinmk

Its not under my control, it is configured in the Qt library at compile time.

(note: In order to get support for the DirectWrite back-end, you need to build Qt with the configuration flag “-directwrite” which will make your applications depend on DirectWrite support from your target platforms.)

I think the default Qt builds dont have it enabled, but I may me wrong.

equalsraf avatar May 04 '17 09:05 equalsraf

According to the changelog of 5.6.0: "DirectWrite support is now the default if available". I checked the latest source, and there is a command line option to disable it.

suy avatar May 04 '17 12:05 suy

Is there any chance that you'll provide windows builds with direct write support in the future? Thanks

harg avatar Jul 02 '17 08:07 harg

@harg How do you confirm that DirectWrite is not enabled? The rendering output is not very relevant, given that neovim-qt uses it's own way to render text looping over the characters of the line. That will skip shaping features, as I understand it.

suy avatar Jul 03 '17 07:07 suy

Sorry, i thought that Direct Write was enabled based on the rendering. Is it possible to have the same rendering as Gvim on Windows?

harg avatar Jul 09 '17 18:07 harg

We don't really have a path forward here. Closing. But feel free to open issues with good approaches that improve this.

equalsraf avatar Jul 13 '23 07:07 equalsraf