dnkl changed the topic of #foot to: Foot - fast, lightweight and minimalistic Wayland terminal emulator || 1.9.2 || https://codeberg.org/dnkl/foot || channel logs: https://libera.irclog.whitequark.org/foot
diniwed has quit [Ping timeout: 258 seconds]
st3r4g has quit [Quit: おやすみ]
ino has joined #foot
<ino> foot is the terminal emulator of choice, for anyone that has a choice.
ino has quit [Quit: Client closed]
diniwed has joined #foot
diniwed has quit [Ping timeout: 258 seconds]
novakane has joined #foot
tsujp has joined #foot
tsujp has quit [Quit: Client closed]
gundise has joined #foot
<gundise> Hi you all! Some time ago #foot started to render an italic version of my font. I do not change anything at all in foot's config, but for now to make foot render the regular font version I should reduce the font size. Here are examples of foot logs for size 7 and 8:
<gundise> info: main.c:402: version: 1.9.2 +pgo +ime +graphemes
<gundise> info: main.c:409: arch: Linux x86_64/64-bit
<gundise> info: main.c:416: locale: en_US.UTF-8
<gundise> info: config.c:3044: loading configuration from /home/fffed/.config/foot/foot.ini
<gundise> info: fcft.c:267: fcft: 2.4.5 +graphemes +runs
<gundise> info: fcft.c:277: fontconfig: 2.13.94
<gundise> info: fcft.c:283: freetype: 2.11.0
<gundise> info: fcft.c:758: /usr/share/fonts/OTB/UW-Ttyp0.otb: size=10.56pt/11px, dpi=75.00
<gundise> info: wayland.c:1275: eDP-1: 1920x1080+0x0@60Hz 0x06BA 15.33" scale=1 PPI=147x154 (physical) PPI=147x154 (logical), DPI=143.66
<gundise> info: wayland.c:1428: requesting SSD decorations
<gundise> info: fcft.c:758: /usr/share/fonts/OTB/UW-Ttyp0-Italic.otb: size=8.00pt/15px, dpi=143.66
<gundise> info: fcft.c:758: /usr/share/fonts/OTB/UW-Ttyp0-Italic.otb: size=8.00pt/15px, dpi=143.66
<gundise> info: fcft.c:758: /usr/share/fonts/OTB/UW-Ttyp0-Italic.otb: size=8.00pt/15px, dpi=143.66
<gundise> info: fcft.c:758: /usr/share/fonts/OTB/UW-Ttyp0-Italic.otb: size=8.00pt/15px, dpi=143.66
<gundise> info: terminal.c:694: cell width=8, height=15
<gundise> info: terminal.c:583: using 4 rendering threads
<gundise> info: wayland.c:805: using SSD decorations
<gundise> info: main.c:402: version: 1.9.2 +pgo +ime +graphemes
<gundise> info: main.c:409: arch: Linux x86_64/64-bit
<gundise> info: main.c:416: locale: en_US.UTF-8
<gundise> info: config.c:3044: loading configuration from /home/fffed/.config/foot/foot.ini
<gundise> info: fcft.c:267: fcft: 2.4.5 +graphemes +runs
<gundise> info: fcft.c:277: fontconfig: 2.13.94
<gundise> info: fcft.c:283: freetype: 2.11.0
<gundise> info: fcft.c:758: /usr/share/fonts/OTB/UW-Ttyp0.otb: size=10.56pt/11px, dpi=75.00
<gundise> info: wayland.c:1275: eDP-1: 1920x1080+0x0@60Hz 0x06BA 15.33" scale=1 PPI=147x154 (physical) PPI=147x154 (logical), DPI=143.66
<gundise> info: wayland.c:1428: requesting SSD decorations
<gundise> info: fcft.c:758: /usr/share/fonts/OTB/UW-Ttyp0-Bold.otb: size=7.00pt/13px, dpi=143.66
<gundise> info: fcft.c:758: /usr/share/fonts/OTB/UW-Ttyp0-Bold.otb: size=7.00pt/13px, dpi=143.66
<gundise> info: fcft.c:758: /usr/share/fonts/OTB/UW-Ttyp0.otb: size=7.00pt/13px, dpi=143.66
<gundise> info: fcft.c:758: /usr/share/fonts/OTB/UW-Ttyp0.otb: size=7.00pt/13px, dpi=143.66
<gundise> info: terminal.c:694: cell width=7, height=13
<gundise> info: terminal.c:583: using 4 rendering threads
<gundise> info: wayland.c:805: using SSD decorations
<gundise> info: wayland.c:1586: cursor theme: (null), size: 24, scale: 1
<gundise> sorry for bold
<ifreund> this is IRC, please use a pastebin for more than ~2 lines
<dnkl> gundise: what *exactly* do you have for font=? in foot.ini?
lanodan has quit [Quit: WeeChat 3.1]
<gundise> font=UW Ttyp0:size=8
lanodan has joined #foot
<gundise> fc-match "UW Ttyp0" returns:
<gundise> UW-Ttyp0.otb: "UW Ttyp0" "Regular"
<gundise> dnkl: I do not uncomment any settings for bold/italics
<dnkl> gundise: this is somehow fontconfig's doing:
<dnkl> % fc-match "UW Ttyp0:size=8:dpi=143"
<dnkl> UW-Ttyp0-Italic.otb: "UW Ttyp0" "Italic"
<dnkl> not sure what's happening here, but it isn't foot that's doing it
<dnkl> and, fwiw:
<dnkl> % fc-match "UW Ttyp0:size=15"
<dnkl> UW-Ttyp0-Italic.otb: "UW Ttyp0" "Italic"
<dnkl> i.e. it seems that fontconfig returns the italic version when the size is "too large"
<gundise> dnkl: thank you, will inspect my `fontconfig` for the reson of this behavior
<dnkl> gundise: must be something that is enabled by default, since I see the same thing...
swodig112 has joined #foot
<dnkl> gundise: not sure what distro you're on, but on arch, there's a PCF variant of that font in the AUR. It seems to behave better than the OTB version
<gundise> @dnkl: yes, I'm also on Arch, will give it a try. Thank you one more time)
gundise has quit [Quit: Client closed]
diniwed has joined #foot
novakane has quit [Quit: WeeChat 3.3]
swodig112 has quit [Quit: swodig112]