<caveman>
in some monitor, looks very tiny. in some other monitor, looks normal
<caveman>
to rephrase: the other way is true: in one monitor, Terminus:10 looks normal, while in the other machine (laptop) it looks way too big
<rcf>
caveman: a bitmap font should probably be specified with pixelsize
<caveman>
rcf: i didn't have this problem with alacritty.
caveman has quit [Quit: caveman]
caveman has joined #foot
pranjal has joined #foot
caveman has quit [Remote host closed the connection]
pranjal has quit [Ping timeout: 256 seconds]
caveman has joined #foot
pranjal has joined #foot
pranjal has quit [Ping timeout: 256 seconds]
pranjal has joined #foot
pranjal has quit [Ping timeout: 252 seconds]
pranjal has joined #foot
caveman has quit [Quit: restarting..]
caveman has joined #foot
caveman has quit [Client Quit]
<w0rm>
nah, it is actually one thing that is slightly (only slightly) annoying with foot - I had to disable dpi-aware rendering and use pixelsize to actually get somewhat consistent size on different devices with same config
<w0rm>
but - not a big deal since it's a config item
pranjal has quit [Quit: WeeChat 3.3]
pranjal has joined #foot
gtms has joined #foot
<dnkl>
w0rm: hmm, using _both_ pixelsize and dpi-aware=no shouldn't be necessary I think
<dnkl>
should be enough with dpi-aware=no
caveman has joined #foot
<dnkl>
caveman: dpi-aware=yes will only work if all your monitor's are on the *same* viewing distance
<dnkl>
if not, the fonts will *look* different
<caveman>
viewing distance? e.g. physical distance between my eye and the monitor?
<dnkl>
caveman: yup
<caveman>
but it doesn't in my case.
<dnkl>
you're saying the monitors are at the same distance? But font looks different?
<dnkl>
but you're also using a bitmap font, right?
<caveman>
right, bitmap.
<dnkl>
bitmap fonts can't be scaled
<dnkl>
not properly anyway...
<caveman>
looks fine with urxvt.
<dnkl>
let's break this down
<dnkl>
are you using a bitmap font or not?
<dnkl>
if yes, have you enabled bitmap font scaling in fontconfig?
<caveman>
``xos4 Terminus''.
<dnkl>
which version?
<dnkl>
otb?
<dnkl>
pcf?
<dnkl>
actually, an easier start may be to simply look at foots log output (i.e. stderr)
<caveman>
with urxvt, i have this line: urxvt.font: xft:xos4 Terminus, xft:DejaVu Sans Mono
<dnkl>
take a look at foot's log output
<dnkl>
it'll tell you which font, and at which size, it's using
<dnkl>
it'll also tell you the DPI it thinks your monitors have
<caveman>
ok.
<dnkl>
caveman: when you've verified it loads the correct font, make sure you have enabled bitmap font scaling in fontconfig. Otherwise foot will only be able to use the sizes provided by the font
<dnkl>
on arch, this can be done by adding this symlink:
<dnkl>
also make sure to use fcft-2.5.1, as previous version used a scaling filter that doesn't really work well with plain text glyphs (it was mainly intended for emoji glyphs)
* rcf
wonders what sort of monster enables bitmap font scaling
* dnkl
too
<dnkl>
each to his own
<dnkl>
is it too much if I also throw in "fractional scaling"...? 😅
<emersion>
:D
<w0rm>
dnkl: for my case the problem is mostly that I wanted it to work on devices which have different viewing distance (laptop vs normal monitor) and each with a different resolution - I think using just size made the laptop one too small. Not a big deal...
<dnkl>
w0rm: yeah, I got that... but setting dpi-aware=no should be enough. If not, it sounds like a bug
<w0rm>
dnkl: I could have another look, maybe it really isn't needed - I'
<w0rm>
I'll let you know if I find it problematic
<dnkl>
w0rm: thanks
<dnkl>
if so, comparing the log output between the monitors, and between pixelsize vs. size is the first thing I'll ask of you ;)
<w0rm>
ack
pranjal has quit [Ping timeout: 256 seconds]
pranjal has joined #foot
pranjal has quit [Ping timeout: 252 seconds]
pranjal has joined #foot
priner has joined #foot
<priner>
i have this problem, when i accidentally press ctrl-v and then correct myself and press ctrl-shift-v the pasted text gets surrounded with stuff
<pranjal>
It happens to me on zsh, but doesn't occur in ash - so it depends on the shell used
<dnkl>
priner: ctrl+v means "pass through" the next escape
<dnkl>
one use case is to display the escapes a certain key combo generates
* rcf
wonders what sort of monster enables bitmap font scaling ??::::::
jackhill has quit [Remote host closed the connection]
jackhill has joined #foot
<caveman>
dnkl: thanks a lot. i'll read more into it. now i wonder why urxvt was working fine. maybe i was using the otb version? does it make a difference?
<dnkl>
caveman: it shouldn't. But urxvt uses xft, which is an older system. I don't think it uses fontconfig at all? In any case, it's possible it also scales bitmap fonts, but based on another setting somewhere
<caveman>
interesting.
Nulo has quit [Remote host closed the connection]
Nulo has joined #foot
<caveman>
worst case scenario, i'll use include command to include machine-specific commands that are symlinked locally. this way i can sync all my configs in a single git repo, then symlink the chosen one manually.
jackhill is now known as KM4MBG
KM4MBG is now known as jackhill
cvmn has joined #foot
cvmn has quit [Ping timeout: 276 seconds]
caveman has quit [Ping timeout: 276 seconds]
caveman has joined #foot
caveman has quit [Ping timeout: 276 seconds]
cvmn has joined #foot
caveman has joined #foot
an3223 has quit [Remote host closed the connection]
an3223 has joined #foot
caveman has quit [Ping timeout: 276 seconds]
caveman has joined #foot
<brocellous>
rcf: what happened here?
<rcf>
oh dear
<rcf>
I do apologize; computer was left open, dog wanted the warm laptop-shaped pillow
<brocellous>
lol
cvmn has quit [Ping timeout: 276 seconds]
an3223 has quit [Ping timeout: 276 seconds]
an3223 has joined #foot
Arnavion has quit [Ping timeout: 250 seconds]
Arnavion has joined #foot
replaycoding has joined #foot
replaycoding has quit [Client Quit]
mocha has joined #foot
<mocha>
Hi! I'm running foot terminal on manjaro sway, and for some reason it is not reading the `foot.ini` file in my home .config folder. does anyone have tips on how I can troubleshoot?
<rumpelsepp>
It should be in `/.config/foot/foot.ini`
<rumpelsepp>
missed the tilde
<rumpelsepp>
If it doesn't work try `strace` and you will see which files it tries to access: `strace -yyf -e trace=%file foot`
<rumpelsepp>
maybe you should omit `-f`
Biolunar has joined #foot
<mocha>
oh whoa thank you so much
<mocha>
that helped me realize it's not a problem with foot and instead just a problem with the manjaro sway launcher