hismailbulut / Neoray

Simple and lightweight GUI client for Neovim
MIT License
148 stars 5 forks source link

Resolution Problem On macOS #41

Closed Corgile closed 8 months ago

Corgile commented 2 years ago

OS or distro:

image

neoray version: 0.2.5

Describe the bug

1. right after startup

image

2. press any key

image

3. tried to set guifont smaller but still.

everything works fine but the resolution is malfunctioning on macOS 13 Ventura.

please fix this, thank you

hismailbulut commented 2 years ago

Thanks for reporting. Is the second image correct? In my understanding the problem only happens at startup and fixed after a key press. And I need to ask your vim configuration (only include Neoray related part)

Corgile commented 2 years ago

Is the second image correct?

sorry for confusing, here is full screen capture of the second picture

after pressing some key or mouse clicking, the text size goes very big, and :set guifont=JetBrains\ Mono:h16 takes no effect (font exists), also the viewing area doesn't fill up the window

image

And I click the maximize button to full-screen it

image

and there are no special Neoray configs currently

image

ps: actually I don't know how to write configurations on Neoray in lua LOL

hismailbulut commented 2 years ago

What happens when you start Neoray with -u NORC --noplugin options? And for the font write the filename of the font. It may be JetBrainsMono without space.

annacrombie commented 1 year ago

I have a fix for this issue here: https://github.com/annacrombie/Neoray/commit/393d29bb47f5c93cf13c268661f55baa7849037f. I'm not sure if its worth making a PR though.

hismailbulut commented 1 year ago

I have a fix for this issue here: annacrombie@393d29b. I'm not sure if its worth making a PR though.

I will be happy to review it if you make a pr