Luanti logo

IRC log for #luanti-dev, 2026-02-27

| Channels | #luanti-dev index | Today | | Google Search | Plaintext

All times shown according to UTC.

Time Nick Message
00:15 SFENCE joined #luanti-dev
01:06 SFENCE joined #luanti-dev
01:40 SFENCE joined #luanti-dev
01:51 YuGiOhJCJ joined #luanti-dev
02:13 SFENCE joined #luanti-dev
02:30 MTDiscord <jordan4ibanez> I have tried to make string_to_enum work but it appears it only works with an enum and not an enum class
02:39 crazylad joined #luanti-dev
02:39 crazylad joined #luanti-dev
02:45 SFENCE joined #luanti-dev
03:04 SFENCE joined #luanti-dev
03:34 SFENCE joined #luanti-dev
03:53 rubenwardy joined #luanti-dev
04:00 SFENCE joined #luanti-dev
04:03 SFENCE joined #luanti-dev
04:25 AliasStillTaken joined #luanti-dev
04:52 SFENCE joined #luanti-dev
05:00 MTDiscord joined #luanti-dev
05:06 SFENCE joined #luanti-dev
05:36 SFENCE joined #luanti-dev
06:36 SFENCE joined #luanti-dev
07:06 SFENCE joined #luanti-dev
07:20 rubenwardy joined #luanti-dev
07:20 SFENCE joined #luanti-dev
11:59 rubenwardy joined #luanti-dev
13:42 SFENCE joined #luanti-dev
13:56 Sheriff_U3 joined #luanti-dev
14:02 turtleman joined #luanti-dev
15:02 SFENCE joined #luanti-dev
16:19 SFENCE joined #luanti-dev
16:58 crazylad joined #luanti-dev
16:58 crazylad joined #luanti-dev
17:16 SFENCE joined #luanti-dev
17:19 SFENCE joined #luanti-dev
17:32 user333_ joined #luanti-dev
17:35 Guest19334 joined #luanti-dev
17:36 user333_ joined #luanti-dev
17:38 SFENCE joined #luanti-dev
17:39 SFENCE joined #luanti-dev
18:21 user333_ joined #luanti-dev
18:21 user333_ joined #luanti-dev
18:29 SFENCE joined #luanti-dev
18:47 sfan5 merging #16977, #16897 SOON
18:47 ShadowBot https://github.com/luanti-org/luanti/issues/16977 -- [NO SQUASH] Multiple documentation improvements by SmallJoker
18:47 ShadowBot https://github.com/luanti-org/luanti/issues/16897 -- Distinguish between integers and floats in read_json_value by markopetrovi
18:53 SFENCE joined #luanti-dev
18:56 sfan5 oh and #16980 too
18:56 ShadowBot https://github.com/luanti-org/luanti/issues/16980 -- Formspec: don't focus read-only textarea elements by siliconsniffer
19:05 SFENCE joined #luanti-dev
19:23 SFENCE joined #luanti-dev
20:01 SFENCE joined #luanti-dev
20:02 SFENCE joined #luanti-dev
20:21 SFENCE joined #luanti-dev
20:45 sofar There's an interesting font bug in the engine somewhere. When using a monospaced font, certain characters like = and - do not render at the exact width of other characters. "-" is rendered too wide, and "=" is actually rendered too narrow.
20:46 sfan5 related? https://github.com/luanti-org/luanti/pull/16758
20:47 Krock sofar: might your font rely on a GPOS table for keming?
20:47 Krock here's a patch to test it: https://github.com/luanti-org/luanti/pull/16692#issuecomment-3667011919
20:51 sofar I'm using GNU Unifont - Unifont has no GPOS table and no kern table.
20:59 sofar hmmm, seems my 5.15 client suffers from the bug, but 5.16 might not. But there's a wild difference between font rendering size between those two and it breaks my entire rewrite so bad I may need to abandon 3 evenings of work :/
20:59 sofar bah
21:04 SFENCE joined #luanti-dev
21:06 sfan5 i don't think font size should have changed at all
21:06 sofar I nuked my minetest.conf and everything scaled down 16/22 as I had set 22px fonts and the default is 16px.
21:07 sofar I'm like [-][-] squinting :)
21:31 sofar here's an example - this is using the hypertext element in a formspec: https://imgur.com/a/yt5pzfD
21:32 sofar Note the right margin creeping left more and more indicating the width of each character is slightly less than space/others.
21:33 sofar (with '-' it goes the other way and expands)
21:34 sofar I tried with 0.5.15, and current master. both have it.
21:48 sfan5 does that happens outside of hypertext? the code might be doing funny things
21:57 sofar sfan5: yes, here's textarea elements displaying it: https://imgur.com/a/2Gi6sSZ
21:57 sfan5 sounds ripe for a bug report
22:02 sofar https://github.com/luanti-org/luanti/issues/16983
22:02 sofar unloading groceries now.
22:27 SFENCE joined #luanti-dev
22:50 SFENCE joined #luanti-dev
22:55 sofar how do I use an OTF file in my game?
22:55 sofar I Don't think that's supported, only TTF
23:24 SFENCE joined #luanti-dev
23:25 sfan5 you don't, but these can be converted
23:25 sfan5 a bit weird how the unifont website doesn't have a ttf
23:27 user333_ https://convert.to.it you can convert it to even an audio file if you want :p
23:32 sofar I'm swapping to unscii-16.ttf, which is a ton smaller, and renders OK. also a ton smaller.
23:32 panwolfram joined #luanti-dev
23:34 sfan5 see my last comment
23:40 sofar I'm too lazy at this point to try more, I'd rather work on my review UX overhaul ;)

| Channels | #luanti-dev index | Today | | Google Search | Plaintext