Time |
Nick |
Message |
00:03 |
nephele |
Depends on what you like |
00:03 |
nephele |
I just work on my mods and bother some devs about the lua api sometimes (mainly Krock though) since i can't collaborate anyway because of github |
00:06 |
|
ANAND joined #minetest-dev |
00:10 |
erlehmann |
nephele, what are your mods? |
00:10 |
nephele |
just one that adds some machines and an unfinished subgame |
00:11 |
nephele |
i can send you a uri to my git repo if you want |
00:13 |
nephele |
also had one to focus on blocks, but that was kind of broken since it wasnt a clientside mod (and it cant be build with the current clientside mods) |
00:13 |
|
erlehmann_ joined #minetest-dev |
01:46 |
p_gimeno |
erlehmann: I can't reproduce the Hauptmenü bug (it's shown as written) |
01:47 |
p_gimeno |
(in WindowMaker WM) |
01:51 |
erlehmann |
p_gimeno, can you reproduce it in i3? |
01:52 |
p_gimeno |
I don't even know what i3 is |
01:53 |
p_gimeno |
ok, found it in apt-cache search... I don't think I'm changing WM though, too risky, sorry |
01:57 |
erlehmann |
p_gimeno, you can start xephyr, an embedded xserver |
01:57 |
p_gimeno |
hm, is that like xnest? |
01:57 |
p_gimeno |
xnest could work |
01:57 |
erlehmann |
probably? |
01:57 |
erlehmann |
i write how i tested it |
01:58 |
erlehmann |
1. Xephyr :8 |
01:58 |
erlehmann |
this opens an Xserver with display :8 |
01:58 |
erlehmann |
2. DISPLAY=:8 xfwm4 |
01:58 |
erlehmann |
this starts xfwm4 as window manager for display :8 |
01:59 |
erlehmann |
3. DISPLAY=:8 ./share/src/games/minetest/bin/minetest |
01:59 |
erlehmann |
this starts minetest on display :8 |
01:59 |
erlehmann |
and I see „Hauptmenü“ |
02:00 |
p_gimeno |
yeah I've done these things with Xnest |
02:00 |
erlehmann |
if i replace step 2 with „DISPLAY=:8 i3“ |
02:00 |
erlehmann |
then i see „Hauptmen�“ |
02:01 |
erlehmann |
you should be able to reproduce it that way (if it is reproducible) |
02:01 |
erlehmann |
provided you start minetest with LANG=de_DE.UTF-8 |
02:01 |
erlehmann |
i forgot that |
02:02 |
erlehmann |
p_gimeno, with „DISPLAY=:8 xprop |grep Haupt“ you should be able to see the COMPOUND_TEXT thing (you have to click the minetest window for xprop to grab output properties) |
02:02 |
p_gimeno |
ok, Xnest does not support OpenGL, I guess that's where Xephyr is useful |
02:03 |
p_gimeno |
2019-12-03 03:03:05: ERROR[Main]: Irrlicht: Could not open display: :8 |
02:03 |
p_gimeno |
Segmentation fault |
02:03 |
p_gimeno |
not very polite :P |
02:03 |
erlehmann |
p_gimeno, how did you start Xephyr? |
02:03 |
p_gimeno |
I forgot to remove the DISPLAY to make a quick test of xprop on WindowMaker |
02:03 |
erlehmann |
or is that the error message for xnest? |
02:04 |
p_gimeno |
that error message is because display :8 did not exist |
02:04 |
erlehmann |
i see |
02:04 |
p_gimeno |
but it segfaults, and it shouldn't |
02:05 |
p_gimeno |
$ xprop |
02:05 |
p_gimeno |
WM_ICON_NAME(COMPOUND_TEXT) = "Minetest 5.2.0-dev-ef8bf3cf [Hauptmenü]" |
02:05 |
p_gimeno |
WM_NAME(COMPOUND_TEXT) = "Minetest 5.2.0-dev-ef8bf3cf [Hauptmenü]" |
02:05 |
p_gimeno |
that's WindowMaker |
02:07 |
erlehmann |
how, if you create an xterm and open an sh shell in there |
02:07 |
erlehmann |
and execute the following command |
02:07 |
erlehmann |
/usr/bin/printf '\033]2;%s\007' 'Hauptmenü' |
02:07 |
erlehmann |
it will have the title „Hauptmenü“, right? |
02:07 |
erlehmann |
$ xprop |grep Haupt |
02:07 |
erlehmann |
WM_NAME(STRING) = "Hauptmenü" |
02:08 |
erlehmann |
but |
02:08 |
erlehmann |
if you open an xfce4-terminal and do that |
02:09 |
erlehmann |
it will have both |
02:09 |
erlehmann |
no |
02:09 |
erlehmann |
it has |
02:09 |
erlehmann |
_NET_WM_NAME(UTF8_STRING) = "Hauptmenü" |
02:09 |
erlehmann |
WM_ICON_NAME(STRING) = "Hauptmenü" |
02:09 |
erlehmann |
_NET_WM_ICON_NAME(UTF8_STRING) = "Hauptmenü" |
02:09 |
erlehmann |
WM_NAME(STRING) = "Hauptmenü" |
02:09 |
erlehmann |
_NET_WM_NAME(UTF8_STRING) = "Hauptmenü" |
02:09 |
erlehmann |
ignore the first or last line, they are duplicates |
02:09 |
erlehmann |
but as you see, it is setting both WM_NAME and _NET_WM_NAME |
02:10 |
p_gimeno |
in WindowMaker, when I grep, I don't get any _NET_*, I only get WM_NAME and WM_ICON_NAME |
02:12 |
erlehmann |
for what kind of window do you grep? |
02:12 |
p_gimeno |
I grep for Haup |
02:12 |
erlehmann |
sorry |
02:12 |
erlehmann |
what window do you click with xprop? |
02:12 |
erlehmann |
minetest only sets WM_NAME with an encoding of COMPOUND_TEXT |
02:12 |
p_gimeno |
the minetest window I think |
02:13 |
erlehmann |
xterm sets WM_NAME with an encoding of STRING (which seems latin1 or something) |
02:13 |
erlehmann |
xfce4-terminal sets WM_NAME with an encoding of STRING (which seems utf-8 actually) AND _NET_WM_NAME with an encoding of UTF8_STRING |
02:14 |
erlehmann |
so i propose that minetest simply also sets _NET_WM_NAME with an encoding of UTF8_STRING |
02:14 |
erlehmann |
then all applications that only use WM_NAME will function as before |
02:15 |
p_gimeno |
right, I can reproduce the STRING encoding with an xterm terminal, but the Minetest window has COMPOUND_TEXT and it displays correctly for me |
02:15 |
erlehmann |
while applications that (probably erroneously!) expect UTF8, but also prefer _NET_WM_NAME, will do the right thing |
02:15 |
erlehmann |
p_gimeno, does minetest also display correctly, if you use i3 to manage the windows in the Xephyr display? |
02:15 |
erlehmann |
if so, it may be something weirder |
02:16 |
p_gimeno |
I have yet to install Xephyr. It refused to run in Xnest which is the one I already had installed. |
02:16 |
nephele |
huh? but X11 tells you what the text encoding is |
02:17 |
nephele |
erlehmann: still sounds to me like just i3 is at fault, but one can use the_NET_WM_NAME to provide utf-8 text too, would likely do that instead of trying to replace WM_NAME to not upset WMs that may only support COMPOUND_TEXT |
02:18 |
erlehmann |
nephele, yeah, i think y |
02:18 |
erlehmann |
just adding _NET_WM_NAME with UTF8_STRING is the way to go |
02:18 |
erlehmann |
leaving WM_NAME alone |
02:18 |
erlehmann |
also i3 should be fixed |
02:19 |
p_gimeno |
2019-12-03 03:18:17: ERROR[Main]: Irrlicht: Fatal error, could not get visual. |
02:19 |
p_gimeno |
Xlib: extension "GLX" missing on display ":8". |
02:19 |
p_gimeno |
Segmentation fault |
02:19 |
erlehmann |
nephele, are you sure COMPOUND_TEXT can actually represent all languages? |
02:19 |
p_gimeno |
I give up |
02:19 |
erlehmann |
p_gimeno, with Xephyr or what |
02:19 |
p_gimeno |
erlehmann: yes with Xephyr |
02:19 |
nephele |
erlehmann: is that a requirement? |
02:19 |
nephele |
and i would say "no" since even unicode doesn't do that, and obviously can't |
02:20 |
erlehmann |
nephele, as soon as minetest is translated into a language that has a word for main menu that can not ever be represented in COMPOUND_TEXT, but can in UTF8_STRING, i would consider it a good thing to think about it. |
02:20 |
erlehmann |
but i do not know if that is possible at all |
02:20 |
erlehmann |
of if COMPOUND_TEXT can actually contain UTF8-encoded text maybe? |
02:20 |
nephele |
I don't, in that case just use _NET_WM_NAME |
02:20 |
erlehmann |
or some type of UTF |
02:20 |
erlehmann |
i see |
02:20 |
nephele |
no need to change the other property needlessly |
02:21 |
erlehmann |
so is _NET_WM_NAME or any window property set by minetest or by irrlicht? |
02:21 |
erlehmann |
any idea? |
02:21 |
nephele |
If the problem at some point becomes that a WM doesn't support a text encoding that is needed to represent a language then the ball is at the language i'd ssay |
02:21 |
nephele |
erlehmann: dunno, maybe spin up a tiny irrlich project and see what the title sais |
02:36 |
|
fluxflux joined #minetest-dev |
02:55 |
|
nephele joined #minetest-dev |
04:45 |
|
Thomas-S joined #minetest-dev |
04:45 |
|
Thomas-S joined #minetest-dev |
06:33 |
erlehmann |
i saw this issue titled “please use the silly minecraft font” https://git.minetest.land/Wuzzy/MineClone2/issues/594 – and i think it is not a mod issue |
06:34 |
erlehmann |
i think a more pixelated font by default for minetest could make sense |
06:34 |
erlehmann |
i propose GNU unifont (disclaimer: i have drawn hundreds of emoji characters for GNU unifont) |
06:34 |
erlehmann |
it is a pixel font that is very easy on the eyes |
07:26 |
|
pyrollo joined #minetest-dev |
07:51 |
|
Kray joined #minetest-dev |
08:38 |
|
ShadowNinja joined #minetest-dev |
08:46 |
|
Fixer joined #minetest-dev |
09:08 |
|
p_gimeno joined #minetest-dev |
09:20 |
|
erlehmann joined #minetest-dev |
09:41 |
|
Wuzzy joined #minetest-dev |
10:17 |
|
qepeeqe joined #minetest-dev |
11:53 |
|
erlehmann joined #minetest-dev |
12:02 |
|
erlehmann_ joined #minetest-dev |
12:06 |
|
karamel joined #minetest-dev |
12:18 |
|
Fixer joined #minetest-dev |
12:22 |
|
YuGiOhJCJ joined #minetest-dev |
12:23 |
|
erlehmann joined #minetest-dev |
12:33 |
|
HDMI_STECKDOSE joined #minetest-dev |
13:36 |
|
T4im joined #minetest-dev |
13:40 |
|
CrazyDave joined #minetest-dev |
13:40 |
|
thrym joined #minetest-dev |
14:41 |
|
YuGiOhJCJ joined #minetest-dev |
14:51 |
|
tomraceror joined #minetest-dev |
14:57 |
|
Wuzzy2 joined #minetest-dev |
15:06 |
|
qepiiqe joined #minetest-dev |
15:57 |
|
reductum joined #minetest-dev |
16:18 |
|
qepeeqe joined #minetest-dev |
16:30 |
|
Ruslan1 joined #minetest-dev |
16:54 |
|
Lunatrius joined #minetest-dev |
17:28 |
|
karamel joined #minetest-dev |
17:44 |
|
Krock joined #minetest-dev |
18:10 |
|
ensonic joined #minetest-dev |
19:23 |
|
ensonic joined #minetest-dev |
19:28 |
|
ensonic joined #minetest-dev |
19:31 |
|
Ruslan1 joined #minetest-dev |
19:33 |
|
nobody joined #minetest-dev |
20:15 |
|
paramat joined #minetest-dev |
20:17 |
paramat |
erlehmann , MTG has some mob pathfinder issues, see https://github.com/minetest/minetest/issues?utf8=%E2%9C%93&q=is%3Aissue+is%3Aopen+pathfinder |
20:18 |
paramat |
perhaps the best thing to work on first |
20:18 |
erlehmann |
paramat, nice thx |
20:40 |
nephele |
erlehmann: how complete is gnu unifont for emoji? |
20:43 |
erlehmann |
nephele, i think it contains a lot of them, see for yourself: http://daten.dieweltistgarnichtso.net/pics/icons/unifont-symbols-emoji.png |
20:43 |
erlehmann |
that's from 2016 (the maintainer did not take the trollface though) |
20:49 |
erlehmann |
nephele, http://unifoundry.com/unifont/index.html |
20:49 |
erlehmann |
nephele, http://unifoundry.com/pub/unifont/unifont-12.1.03/unifont_plane1-12.1.03.bmp |
20:49 |
erlehmann |
lot's of emoji on the bottom |
20:50 |
erlehmann |
i am proud of the elephant, the whale and the snake |
20:50 |
|
Edgy1 joined #minetest-dev |
20:51 |
|
proller joined #minetest-dev |
20:51 |
|
vesper11 joined #minetest-dev |
21:58 |
|
Lunatrius joined #minetest-dev |
22:00 |
|
Ruslan1 joined #minetest-dev |
23:25 |
|
tuedel_ joined #minetest-dev |
23:30 |
|
tuedel joined #minetest-dev |