• Joined on 2020年03月10日
nikp123 commented on issue dnkl/foot#9 2020年03月14日 21:48:44 +01:00
foot detects DPI incorrectly after resing font

@dnkl I used fontsize instead of size in footrc. Maybe that's the issue?

Also can confirm that by using size instead of fontsize everything works as expected.

nikp123 opened issue dnkl/foot#9 2020年03月14日 20:42:51 +01:00
foot detects DPI incorrectly after resing font
nikp123 commented on issue dnkl/foot#8 2020年03月14日 17:52:35 +01:00
Fractional scaling still doesn't work

Attached log:

nikp123@HP-Laptop /home/nikp123 $ foot
info: config.c:841: loading configuration from /home/nikp123/.config/footrc
info: wayland.c:798: eDP-1: 1366x768+0x645@60Hz 0x0354 13.23" scale=2 PPI=124x128 (physical) PPI=99x102 (logical)
info: wayland.c:798: HDMI-A-1: 1920x1080+1092x0@60Hz 2343 23.10" scale=1 PPI=96x98 (physical) PPI=96x98 (logical)
info: wayland.c:834: cursor theme: (null), size: 24
info: terminal.c:482: using 4 rendering threads
info: wayland.c:1027: requesting SSD decorations
info: fcft.c:451: /usr/share/fonts/TTF/TerminusTTF.ttf: size=12.00pt/34px, dpi=204
info: fcft.c:451: /usr/share/fonts/TTF/TerminusTTF-Bold.ttf: size=12.00pt/34px, dpi=204
info: fcft.c:451: /usr/share/fonts/TTF/TerminusTTF-Italic.ttf: size=12.00pt/34px, dpi=204
info: fcft.c:451: /usr/share/fonts/TTF/TerminusTTF-Bold Italic.ttf: size=12.00pt/34px, dpi=204
info: terminal.c:526: cell width=17, height=37
info: wayland.c:634: using SSD decorations
info: fcft.c:451: /usr/share/fonts/TTF/TerminusTTF.ttf: size=12.50pt/13px, dpi=75
info: fcft.c:451: /usr/share/fonts/TTF/TerminusTTF-Bold.ttf: size=12.50pt/13px, dpi=75
info: fcft.c:451: /usr/share/fonts/TTF/TerminusTTF-Italic.ttf: size=12.50pt/13px, dpi=75
info: fcft.c:451: /usr/share/fonts/TTF/TerminusTTF-Bold Italic.ttf: size=12.50pt/13px, dpi=75
info: terminal.c:526: cell width=7, height=14
info: fcft.c:451: /usr/share/fonts/TTF/TerminusTTF.ttf: size=13.00pt/13px, dpi=75
info: fcft.c:451: /usr/share/fonts/TTF/TerminusTTF-Bold.ttf: size=13.00pt/13px, dpi=75
info: fcft.c:451: /usr/share/fonts/TTF/TerminusTTF-Italic.ttf: size=13.00pt/13px, dpi=75
info: fcft.c:451: /usr/share/fonts/TTF/TerminusTTF-Bold Italic.ttf: size=13.00pt/13px, dpi=75
info: terminal.c:526: cell width=7, height=14
info: fcft.c:451: /usr/share/fonts/TTF/TerminusTTF.ttf: size=13.50pt/14px, dpi=75
info: fcft.c:451: /usr/share/fonts/TTF/TerminusTTF-Bold.ttf: size=13.50pt/14px, dpi=75
info: fcft.c:451: /usr/share/fonts/TTF/TerminusTTF-Italic.ttf: size=13.50pt/14px, dpi=75
info: fcft.c:451: /usr/share/fonts/TTF/TerminusTTF-Bold Italic.ttf: size=13.50pt/14px, dpi=75
info: terminal.c:526: cell width=8, height=15
info: fcft.c:451: /usr/share/fonts/TTF/TerminusTTF.ttf: size=14.00pt/14px, dpi=75
info: fcft.c:451: /usr/share/fonts/TTF/TerminusTTF-Bold.ttf: size=14.00pt/14px, dpi=75
info: fcft.c:451: /usr/share/fonts/TTF/TerminusTTF-Italic.ttf: size=14.00pt/14px, dpi=75
info: fcft.c:451: /usr/share/fonts/TTF/TerminusTTF-Bold Italic.ttf: size=14.00pt/14px, dpi=75
info: terminal.c:526: cell width=8, height=15
info: fcft.c:451: /usr/share/fonts/TTF/TerminusTTF.ttf: size=14.50pt/15px, dpi=75
info: fcft.c:451: /usr/share/fonts/TTF/TerminusTTF-Bold.ttf: size=14.50pt/15px, dpi=75
info: fcft.c:451: /usr/share/fonts/TTF/TerminusTTF-Italic.ttf: size=14.50pt/15px, dpi=75
info: fcft.c:451: /usr/share/fonts/TTF/TerminusTTF-Bold Italic.ttf: size=14.50pt/15px, dpi=75
info: terminal.c:526: cell width=8, height=16
info: fcft.c:451: /usr/share/fonts/TTF/TerminusTTF.ttf: size=15.00pt/15px, dpi=75
info: fcft.c:451: /usr/share/fonts/TTF/TerminusTTF-Bold.ttf: size=15.00pt/15px, dpi=75
info: fcft.c:451: /usr/share/fonts/TTF/TerminusTTF-Italic.ttf: size=15.00pt/15px, dpi=75
info: fcft.c:451: /usr/share/fonts/TTF/TerminusTTF-Bold Italic.ttf: size=15.00pt/15px, dpi=75
info: terminal.c:526: cell width=8, height=16
info: fcft.c:451: /usr/share/fonts/TTF/TerminusTTF.ttf: size=15.50pt/16px, dpi=75
info: fcft.c:451: /usr/share/fonts/TTF/TerminusTTF-Bold.ttf: size=15.50pt/16px, dpi=75
info: fcft.c:451: /usr/share/fonts/TTF/TerminusTTF-Italic.ttf: size=15.50pt/16px, dpi=75
info: fcft.c:451: /usr/share/fonts/TTF/TerminusTTF-Bold Italic.ttf: size=15.50pt/16px, dpi=75
info: terminal.c:526: cell width=8, height=17
info: fcft.c:451: /usr/share/fonts/TTF/TerminusTTF.ttf: size=16.00pt/16px, dpi=75
info: fcft.c:451: /usr/share/fonts/TTF/TerminusTTF-Bold.ttf: size=16.00pt/16px, dpi=75
info: fcft.c:451: /usr/share/fonts/TTF/TerminusTTF-Italic.ttf: size=16.00pt/16px, dpi=75
info: fcft.c:451: /usr/share/fonts/TTF/TerminusTTF-Bold Italic.ttf: size=16.00pt/16px, dpi=75
info: terminal.c:526: cell width=8, height=17
info: fcft.c:451: /usr/share/fonts/TTF/TerminusTTF.ttf: size=16.50pt/17px, dpi=75
info: fcft.c:451: /usr/share/fonts/TTF/TerminusTTF-Bold.ttf: size=16.50pt/17px, dpi=75
info: fcft.c:451: /usr/share/fonts/TTF/TerminusTTF-Italic.ttf: size=16.50pt/17px, dpi=75
info: fcft.c:451: /usr/share/fonts/TTF/TerminusTTF-Bold Italic.ttf: size=16.50pt/17px, dpi=75
info: terminal.c:526: cell width=9, height=19
nikp123 commented on issue dnkl/foot#8 2020年03月14日 17:51:33 +01:00
Fractional scaling still doesn't work

However one more issue persists. When the font is resized with ctrl in combination -/+ it always starts from the smallest font possible.

nikp123 closed issue dnkl/foot#8 2020年03月14日 17:49:30 +01:00
Fractional scaling still doesn't work
nikp123 commented on issue dnkl/foot#8 2020年03月14日 17:49:14 +01:00
Fractional scaling still doesn't work

Yup, this is not a bug. But rather an issue with my setup.

I just found out that ~/.config/fontconfig/fonts.conf had dpi set to 96.

Now it works as expected.

Thanks a lot.

nikp123 commented on issue dnkl/foot#8 2020年03月14日 13:44:15 +01:00
Fractional scaling still doesn't work

Sorry, my mistake I forgot to do git pull after checking out master.

But, the issue still persists as far as I can notice.

Here's the updated log:

nikp123@HP-Laptop /home/nikp123/Projects/git/foot/build $ ./foot --version
foot version 1.2.1-63-gce68041 (Mar 14 2020, branch 'master')
nikp123@HP-Laptop /home/nikp123/Projects/git/foot/build $ ./foot 
info: config.c:841: loading configuration from /home/nikp123/.config/footrc
info: wayland.c:798: eDP-1: 1366x768+0x645@60Hz 0x0354 13.23" scale=2 PPI=124x128 (physical) PPI=99x102 (logical)
info: wayland.c:798: HDMI-A-1: 1920x1080+1092x0@60Hz 2343 23.10" scale=1 PPI=96x98 (physical) PPI=96x98 (logical)
info: wayland.c:834: cursor theme: (null), size: 24
info: terminal.c:482: using 4 rendering threads
info: wayland.c:1027: 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:634: 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
^Cinfo: main.c:393: goodbye
nikp123 opened issue dnkl/foot#8 2020年03月14日 13:10:10 +01:00
Fractional scaling still doesn't work
nikp123 commented on pull request dnkl/foot#6 2020年03月11日 19:23:20 +01:00
Use logical DPI+scale factor when scaling fonts

@dnkl Sorry for the late response, but it doesn't seem to work. It produces the same result.

nikp123 commented on issue dnkl/foot#3 2020年03月10日 19:13:27 +01:00
Terminal window auto-resize leads to intability

@dnkl Neither, dpi or pixelsize options seem to work. It resizes anyway

nikp123 commented on issue dnkl/foot#3 2020年03月10日 18:55:33 +01:00
Terminal window auto-resize leads to intability

Thank you for fixing, however there's one more issue:

When the window is resized by moving the window to the other monitor, the font is improperly resized.

fxp. when i move the window from a monitor of x1 scale to x1.25 scale the font shrinks instead of growing

nikp123 opened issue dnkl/foot#3 2020年03月10日 08:43:38 +01:00
Terminal window auto-resize leads to intability