OXY2DEV / markview.nvim

An experimental markdown previewer for Neovim
Apache License 2.0
1.22k stars 34 forks source link

Table not display properly #66

Closed faea726 closed 1 month ago

faea726 commented 1 month ago

Issue The last row of table has display issue

OS: Window Terminal: Window Terminal nvim -v: 0.10 Distro: NvChad Font: Hack Nerd Font (download from here)

image image

OXY2DEV commented 1 month ago

That's a font issue. Please use a proper nerd font(or any modern font that supports Unicode characters).

faea726 commented 1 month ago

That's a font issue. Please use a proper nerd font(or any modern font that supports Unicode characters).

Could you suggest some? I download my font from here. They're all nerdfont that support unicode characters.

OXY2DEV commented 1 month ago

Did you try something like JetBrainsMono(the one I am using)?

It could also be a terminal rendering issue. But these are Unicode characters(they also work in normal fonts) so this shouldn't be the cause.

You can try changing the fonts to see if it works or not.

faea726 commented 1 month ago

Did you try something like JetBrainsMono(the one I am using)?

It could also be a terminal rendering issue. But these are Unicode characters(they also work in normal fonts) so this shouldn't be the cause.

You can try changing the fonts to see if it works or not.

It works fine with JetBrainsMono Nerd Font image

Broken when use Hack Nerd Font image

OXY2DEV commented 1 month ago

If you have fontForge you can use that to fix the issue(it might require a bit knowledge and some trial & errors to fix).

Alternatively, if there are maintainers of that font you can ask them to fix it. I don't know if the nerd-font repo owners actively maintain the fonts or not(or if they even take font issues in GitHub). So, take this with a grain of 🧂.

faea726 commented 1 month ago

I think the real problem is: JetBrainsMono is a ligatures font. And Hack is not.