After merging the changes, I've still failed to notice a difference in behaviour.
Here's the attached log:
nikp123@HP-Laptop /home/nikp123/Projects/git/foot/build $ ./foot
info: config.c:663: loading configuration from /home/nikp123/.config/footrc
info: wayland.c:788: eDP-1: 1366x768+0x645@60Hz 0x0354 (13.23", PPI=124x128, scale=2)
info: wayland.c:788: HDMI-A-1: 1920x1080+1092x0@60Hz 2343 (23.10", PPI=96x98, scale=1)
info: wayland.c:823: cursor theme: (null), size: 24
info: terminal.c:482: using 4 rendering threads
info: wayland.c:1014: requesting SSD decorations
info: fcft.c:451: /usr/share/fonts/TTF/TerminusTTF.ttf: size=12.00pt/16px, dpi=96
info: fcft.c:451: /usr/share/fonts/TTF/TerminusTTF-Bold.ttf: size=12.00pt/16px, dpi=96
info: fcft.c:451: /usr/share/fonts/TTF/TerminusTTF-Italic.ttf: size=12.00pt/16px, dpi=96
info: fcft.c:451: /usr/share/fonts/TTF/TerminusTTF-Bold Italic.ttf: size=12.00pt/16px, dpi=96
info: terminal.c:526: cell width=8, height=17
info: wayland.c:624: using SSD decorations
info: fcft.c:451: /usr/share/fonts/TTF/TerminusTTF.ttf: size=12.00pt/16px, dpi=96
info: fcft.c:451: /usr/share/fonts/TTF/TerminusTTF-Bold.ttf: size=12.00pt/16px, dpi=96
info: fcft.c:451: /usr/share/fonts/TTF/TerminusTTF-Italic.ttf: size=12.00pt/16px, dpi=96
info: fcft.c:451: /usr/share/fonts/TTF/TerminusTTF-Bold Italic.ttf: size=12.00pt/16px, dpi=96
info: terminal.c:526: cell width=8, height=17
info: fcft.c:451: /usr/share/fonts/TTF/TerminusTTF.ttf: size=12.00pt/16px, dpi=96
info: fcft.c:451: /usr/share/fonts/TTF/TerminusTTF-Bold.ttf: size=12.00pt/16px, dpi=96
info: fcft.c:451: /usr/share/fonts/TTF/TerminusTTF-Italic.ttf: size=12.00pt/16px, dpi=96
info: fcft.c:451: /usr/share/fonts/TTF/TerminusTTF-Bold Italic.ttf: size=12.00pt/16px, dpi=96
info: terminal.c:526: cell width=8, height=17
info: fcft.c:451: /usr/share/fonts/TTF/TerminusTTF.ttf: size=12.00pt/16px, dpi=96
info: fcft.c:451: /usr/share/fonts/TTF/TerminusTTF-Bold.ttf: size=12.00pt/16px, dpi=96
info: fcft.c:451: /usr/share/fonts/TTF/TerminusTTF-Italic.ttf: size=12.00pt/16px, dpi=96
info: fcft.c:451: /usr/share/fonts/TTF/TerminusTTF-Bold Italic.ttf: size=12.00pt/16px, dpi=96
info: terminal.c:526: cell width=8, height=17
info: fcft.c:451: /usr/share/fonts/TTF/TerminusTTF.ttf: size=12.00pt/16px, dpi=96
info: fcft.c:451: /usr/share/fonts/TTF/TerminusTTF-Bold.ttf: size=12.00pt/16px, dpi=96
info: fcft.c:451: /usr/share/fonts/TTF/TerminusTTF-Italic.ttf: size=12.00pt/16px, dpi=96
info: fcft.c:451: /usr/share/fonts/TTF/TerminusTTF-Bold Italic.ttf: size=12.00pt/16px, dpi=96
info: terminal.c:526: cell width=8, height=17
info: main.c:391: goodbye
nikp123@HP-Laptop /home/nikp123/Projects/git/foot/build $ ./foot
info: config.c:663: loading configuration from /home/nikp123/.config/footrc
info: wayland.c:788: eDP-1: 1366x768+0x645@60Hz 0x0354 (13.23", PPI=124x128, scale=2)
info: wayland.c:788: HDMI-A-1: 1920x1080+1092x0@60Hz 2343 (23.10", PPI=96x98, scale=1)
info: wayland.c:823: cursor theme: (null), size: 24
info: terminal.c:482: using 4 rendering threads
info: wayland.c:1014: requesting SSD decorations
info: fcft.c:451: /usr/share/fonts/TTF/TerminusTTF.ttf: size=12.00pt/16px, dpi=96
info: fcft.c:451: /usr/share/fonts/TTF/TerminusTTF-Bold.ttf: size=12.00pt/16px, dpi=96
info: fcft.c:451: /usr/share/fonts/TTF/TerminusTTF-Italic.ttf: size=12.00pt/16px, dpi=96
info: fcft.c:451: /usr/share/fonts/TTF/TerminusTTF-Bold Italic.ttf: size=12.00pt/16px, dpi=96
info: terminal.c:526: cell width=8, height=17
info: wayland.c:624: using SSD decorations
info: fcft.c:451: /usr/share/fonts/TTF/TerminusTTF.ttf: size=12.00pt/16px, dpi=96
info: fcft.c:451: /usr/share/fonts/TTF/TerminusTTF-Bold.ttf: size=12.00pt/16px, dpi=96
info: fcft.c:451: /usr/share/fonts/TTF/TerminusTTF-Italic.ttf: size=12.00pt/16px, dpi=96
info: fcft.c:451: /usr/share/fonts/TTF/TerminusTTF-Bold Italic.ttf: size=12.00pt/16px, dpi=96
info: terminal.c:526: cell width=8, height=17
info: fcft.c:451: /usr/share/fonts/TTF/TerminusTTF.ttf: size=12.00pt/16px, dpi=96
info: fcft.c:451: /usr/share/fonts/TTF/TerminusTTF-Bold.ttf: size=12.00pt/16px, dpi=96
info: fcft.c:451: /usr/share/fonts/TTF/TerminusTTF-Italic.ttf: size=12.00pt/16px, dpi=96
info: fcft.c:451: /usr/share/fonts/TTF/TerminusTTF-Bold Italic.ttf: size=12.00pt/16px, dpi=96
info: terminal.c:526: cell width=8, height=17
info: main.c:391: goodbye
nikp123@HP-Laptop /home/nikp123/Projects/git/foot/build $ ./foot --version
foot version 1.2.1-27-g5a89ac6 (Mar 14 2020, branch 'master')
nikp123@HP-Laptop /home/nikp123/Projects/git/foot/build $
The issue still persists, when I move the window from one monitor to another the fonts don't seem to scale properly. When i move from 1.0 to 1.25 scaling the text still shrinks in the same way it did before.
Just to double-check it isn't a issue with my setup, I did the same with kitty and it does scale properly. So, investigating how kitty did scaling could reveal the answer.
After merging the changes, I've still failed to notice a difference in behaviour.
Here's the attached log:
```
nikp123@HP-Laptop /home/nikp123/Projects/git/foot/build $ ./foot
info: config.c:663: loading configuration from /home/nikp123/.config/footrc
info: wayland.c:788: eDP-1: 1366x768+0x645@60Hz 0x0354 (13.23", PPI=124x128, scale=2)
info: wayland.c:788: HDMI-A-1: 1920x1080+1092x0@60Hz 2343 (23.10", PPI=96x98, scale=1)
info: wayland.c:823: cursor theme: (null), size: 24
info: terminal.c:482: using 4 rendering threads
info: wayland.c:1014: requesting SSD decorations
info: fcft.c:451: /usr/share/fonts/TTF/TerminusTTF.ttf: size=12.00pt/16px, dpi=96
info: fcft.c:451: /usr/share/fonts/TTF/TerminusTTF-Bold.ttf: size=12.00pt/16px, dpi=96
info: fcft.c:451: /usr/share/fonts/TTF/TerminusTTF-Italic.ttf: size=12.00pt/16px, dpi=96
info: fcft.c:451: /usr/share/fonts/TTF/TerminusTTF-Bold Italic.ttf: size=12.00pt/16px, dpi=96
info: terminal.c:526: cell width=8, height=17
info: wayland.c:624: using SSD decorations
info: fcft.c:451: /usr/share/fonts/TTF/TerminusTTF.ttf: size=12.00pt/16px, dpi=96
info: fcft.c:451: /usr/share/fonts/TTF/TerminusTTF-Bold.ttf: size=12.00pt/16px, dpi=96
info: fcft.c:451: /usr/share/fonts/TTF/TerminusTTF-Italic.ttf: size=12.00pt/16px, dpi=96
info: fcft.c:451: /usr/share/fonts/TTF/TerminusTTF-Bold Italic.ttf: size=12.00pt/16px, dpi=96
info: terminal.c:526: cell width=8, height=17
info: fcft.c:451: /usr/share/fonts/TTF/TerminusTTF.ttf: size=12.00pt/16px, dpi=96
info: fcft.c:451: /usr/share/fonts/TTF/TerminusTTF-Bold.ttf: size=12.00pt/16px, dpi=96
info: fcft.c:451: /usr/share/fonts/TTF/TerminusTTF-Italic.ttf: size=12.00pt/16px, dpi=96
info: fcft.c:451: /usr/share/fonts/TTF/TerminusTTF-Bold Italic.ttf: size=12.00pt/16px, dpi=96
info: terminal.c:526: cell width=8, height=17
info: fcft.c:451: /usr/share/fonts/TTF/TerminusTTF.ttf: size=12.00pt/16px, dpi=96
info: fcft.c:451: /usr/share/fonts/TTF/TerminusTTF-Bold.ttf: size=12.00pt/16px, dpi=96
info: fcft.c:451: /usr/share/fonts/TTF/TerminusTTF-Italic.ttf: size=12.00pt/16px, dpi=96
info: fcft.c:451: /usr/share/fonts/TTF/TerminusTTF-Bold Italic.ttf: size=12.00pt/16px, dpi=96
info: terminal.c:526: cell width=8, height=17
info: fcft.c:451: /usr/share/fonts/TTF/TerminusTTF.ttf: size=12.00pt/16px, dpi=96
info: fcft.c:451: /usr/share/fonts/TTF/TerminusTTF-Bold.ttf: size=12.00pt/16px, dpi=96
info: fcft.c:451: /usr/share/fonts/TTF/TerminusTTF-Italic.ttf: size=12.00pt/16px, dpi=96
info: fcft.c:451: /usr/share/fonts/TTF/TerminusTTF-Bold Italic.ttf: size=12.00pt/16px, dpi=96
info: terminal.c:526: cell width=8, height=17
info: main.c:391: goodbye
nikp123@HP-Laptop /home/nikp123/Projects/git/foot/build $ ./foot
info: config.c:663: loading configuration from /home/nikp123/.config/footrc
info: wayland.c:788: eDP-1: 1366x768+0x645@60Hz 0x0354 (13.23", PPI=124x128, scale=2)
info: wayland.c:788: HDMI-A-1: 1920x1080+1092x0@60Hz 2343 (23.10", PPI=96x98, scale=1)
info: wayland.c:823: cursor theme: (null), size: 24
info: terminal.c:482: using 4 rendering threads
info: wayland.c:1014: requesting SSD decorations
info: fcft.c:451: /usr/share/fonts/TTF/TerminusTTF.ttf: size=12.00pt/16px, dpi=96
info: fcft.c:451: /usr/share/fonts/TTF/TerminusTTF-Bold.ttf: size=12.00pt/16px, dpi=96
info: fcft.c:451: /usr/share/fonts/TTF/TerminusTTF-Italic.ttf: size=12.00pt/16px, dpi=96
info: fcft.c:451: /usr/share/fonts/TTF/TerminusTTF-Bold Italic.ttf: size=12.00pt/16px, dpi=96
info: terminal.c:526: cell width=8, height=17
info: wayland.c:624: using SSD decorations
info: fcft.c:451: /usr/share/fonts/TTF/TerminusTTF.ttf: size=12.00pt/16px, dpi=96
info: fcft.c:451: /usr/share/fonts/TTF/TerminusTTF-Bold.ttf: size=12.00pt/16px, dpi=96
info: fcft.c:451: /usr/share/fonts/TTF/TerminusTTF-Italic.ttf: size=12.00pt/16px, dpi=96
info: fcft.c:451: /usr/share/fonts/TTF/TerminusTTF-Bold Italic.ttf: size=12.00pt/16px, dpi=96
info: terminal.c:526: cell width=8, height=17
info: fcft.c:451: /usr/share/fonts/TTF/TerminusTTF.ttf: size=12.00pt/16px, dpi=96
info: fcft.c:451: /usr/share/fonts/TTF/TerminusTTF-Bold.ttf: size=12.00pt/16px, dpi=96
info: fcft.c:451: /usr/share/fonts/TTF/TerminusTTF-Italic.ttf: size=12.00pt/16px, dpi=96
info: fcft.c:451: /usr/share/fonts/TTF/TerminusTTF-Bold Italic.ttf: size=12.00pt/16px, dpi=96
info: terminal.c:526: cell width=8, height=17
info: main.c:391: goodbye
nikp123@HP-Laptop /home/nikp123/Projects/git/foot/build $ ./foot --version
foot version 1.2.1-27-g5a89ac6 (Mar 14 2020, branch 'master')
nikp123@HP-Laptop /home/nikp123/Projects/git/foot/build $
```
The issue still persists, when I move the window from one monitor to another the fonts don't seem to scale properly. When i move from 1.0 to 1.25 scaling the text still shrinks in the same way it did before.
Just to double-check it isn't a issue with my setup, I did the same with kitty and it does scale properly. So, investigating how kitty did scaling could reveal the answer.