Time Nick Message 02:30 MTDiscord I have tried to make string_to_enum work but it appears it only works with an enum and not an enum class 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: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 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: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: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: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: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 ;)