glacambre / firenvim

Embed Neovim in Chrome, Firefox & others.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

guifont doesn't respect HiDPI scale

Freed-Wu opened this issue · comments

commented
❯ firefox --version
Mozilla Firefox 117.0.1
❯ uname -r
6.5.4
  • Browser Addon Version: latest
  • Neovim Plugin Version: latest

What I tried to do

I have a laptop with a 3120x2080 screen, which means it is a HiDPI device. I use scale = 2 to use it:

Screenshot from 2023-10-07 14-26-58

I expect set guifont=XXX:h12 will be scaled to set guifont=XXX:h24.

What happened

firenvim doesn't respect scale.

Hi, thanks for the report, and sorry for not replying earlier - I was not able to answer when I received your issue's notification and then forgot about it. HiDPI scaling has been a sore point in Firenvim for a long time ( #972 , #869 , #1124 ), I probably won't be able to fix it properly before buying a HiDPI monitor.