dnkl changed the topic of #foot to: Foot - fast, lightweight and minimalistic Wayland terminal emulator || 1.20.2 || https://codeberg.org/dnkl/foot || channel logs: https://libera.irclog.whitequark.org/foot
boomboxnation has joined #foot
mtm has quit [Ping timeout: 248 seconds]
mtm has joined #foot
Biolunar has joined #foot
boomboxnation has quit [Read error: Connection reset by peer]
boomboxnation has joined #foot
bookworm has quit [Remote host closed the connection]
bookworm has joined #foot
boomboxnation has quit [Read error: Connection reset by peer]
boomboxnation has joined #foot
boomboxnation has quit [Read error: Connection reset by peer]
boomboxnation has joined #foot
kode541 has joined #foot
kode54 has quit [Ping timeout: 245 seconds]
kode541 is now known as kode54
boomboxnation has quit [Read error: Connection reset by peer]
boomboxnation has joined #foot
dutchie__ has joined #foot
boomboxnation has quit [Read error: Connection reset by peer]
dutchie has quit [Remote host closed the connection]
dutchie__ is now known as dutchie
boomboxnation has joined #foot
boomboxnation has quit [Read error: Connection reset by peer]
boomboxnation has joined #foot
boomboxnation has quit [Read error: Connection reset by peer]
boomboxnation has joined #foot
emcconville has quit [Ping timeout: 248 seconds]
emcconville has joined #foot
boomboxnation has quit [Read error: Connection reset by peer]
boomboxnation has joined #foot
boomboxnation has quit [Read error: Connection reset by peer]
boomboxnation has joined #foot
boomboxnation has quit [Read error: Connection reset by peer]
boomboxnation has joined #foot
boomboxnation has quit [Read error: Connection reset by peer]
mtm has quit [Ping timeout: 260 seconds]
boomboxnation has joined #foot
mtm has joined #foot
ninewise has quit [Ping timeout: 252 seconds]
ninewise has joined #foot
manio has quit [Ping timeout: 252 seconds]
constxd has quit [Ping timeout: 252 seconds]
ericonr has quit [Ping timeout: 252 seconds]
constxd has joined #foot
manio has joined #foot
ericonr has joined #foot
strom has quit [Remote host closed the connection]
boomboxnation has quit [Read error: Connection reset by peer]
strom has joined #foot
boomboxnation has joined #foot
cbb has joined #foot
<leon-p> dnkl: in fcft, I assume the canonical way to handle rendering with scale is using fcft_size_adjust() to get a local scaled clone of a font. That function takes a scale in points, a Wayland client using the fract scale protocol has a scale in x/120. I am not certain how to convert between the two, do you have any pointers?
<dnkl> leon-p: that function has been removed
<leon-p> oh. it's still in the docs/ directory
<dnkl> that's a bug :)
<dnkl> what foot does is simply create a new instance, where you calculate the size yourself
<leon-p> so what do I need to do if I want to render on arbitrary surfaces across arbitrary outputs with arbitrary scales? Just keep a list of fcft fonts for each scale? And I'd still need to know how to convert wayland scale to points
boomboxnation has quit [Read error: Connection reset by peer]
bitblt has quit [*.net *.split]
andyrtr has quit [*.net *.split]
diaspora3928 has quit [*.net *.split]
erock has quit [*.net *.split]
alebastr has quit [*.net *.split]
boomboxnation has joined #foot
dutchie has quit [Ping timeout: 248 seconds]
diaspora3928 has joined #foot
andyrtr has joined #foot
alebastr has joined #foot
bitblt has joined #foot
<dnkl> leon-p: yes, you need one instance per size.
<dnkl> as for points vs. scale; I just multiply the user configured (point) size by the Wayland scale factor
xaltsc has quit [Quit: WeeChat 4.5.1]
erock has joined #foot
dutchie has joined #foot
boomboxnation has quit [Read error: Connection reset by peer]
boomboxnation has joined #foot
<leon-p> ah, so you're manually parsing the font description string for the size=XX part and then overwrite it with the attributes modifier?
<leon-p> and makes sense that you can scale points linearily unit-wise, I just wasn't sure if it had some arbitrary origin point that isn't 0
<leon-p> thanks! exactly the info that I needed, guess I am writing a font-pool now
boomboxnation has quit [Read error: Connection reset by peer]
boomboxnation has joined #foot
<dnkl> leon-p: btw, most applications set DPI to 96, while fontconfig's (and thus fcft's) default is 75.
<dnkl> if you get it wrong, your application will render fonts at a different size compared to other applications
esu has left #foot [#foot]
beerman has quit [Remote host closed the connection]
beerman has joined #foot
boomboxnation has quit [Read error: Connection reset by peer]
boomboxnation has joined #foot
chilledfrogs has quit [Quit: connection reset by purr]
chilledfrogs has joined #foot
boomboxnation has quit [Read error: Connection reset by peer]
boomboxnation has joined #foot
boomboxnation has quit [Read error: Connection reset by peer]
boomboxnation has joined #foot
chiselfuse has quit [Remote host closed the connection]
chiselfuse has joined #foot
boomboxnation has quit [Read error: Connection reset by peer]
boomboxnation has joined #foot
cbb has quit [Quit: cbb]
lack has quit [Read error: Connection reset by peer]
lack has joined #foot
boomboxnation has quit [Read error: Connection reset by peer]
boomboxnation has joined #foot
chiselfuse has quit [Ping timeout: 264 seconds]
chiselfuse has joined #foot
boomboxnation has quit [Read error: Connection reset by peer]