*** Yruama_Lairba has quit IRC | 01:53 | |
*** HarryHaaren has quit IRC | 02:00 | |
*** drobilla` has joined #lv2 | 02:19 | |
*** capturixeur2 has joined #lv2 | 02:20 | |
*** thesunnyk_ has joined #lv2 | 02:20 | |
*** rgareus_ has joined #lv2 | 02:22 | |
*** trebmuh has quit IRC | 02:26 | |
*** drobilla has quit IRC | 02:26 | |
*** thesunnyk has quit IRC | 02:26 | |
*** rgareus has quit IRC | 02:26 | |
*** rgareus_ is now known as rgareus | 03:56 | |
*** spoonie has quit IRC | 05:00 | |
*** dsheeler has quit IRC | 08:29 | |
*** dsheeler has joined #lv2 | 08:29 | |
*** trebmuh has joined #lv2 | 09:04 | |
*** capturixeur2 has quit IRC | 09:06 | |
*** NickSB2 has quit IRC | 10:10 | |
*** deva has joined #lv2 | 10:50 | |
*** doublemetres[m] has left #lv2 | 11:18 | |
*** rncbc has joined #lv2 | 11:31 | |
*** Yruama_Lairba has joined #lv2 | 11:32 | |
*** NickSB2 has joined #lv2 | 12:06 | |
*** johmue has quit IRC | 12:16 | |
*** johmue has joined #lv2 | 12:22 | |
*** Yruama_Lairba has quit IRC | 14:28 | |
*** m4l3z has joined #lv2 | 15:10 | |
*** NickSB2_ has joined #lv2 | 15:36 | |
*** NickSB2 has quit IRC | 15:36 | |
* drobilla` tries to figure out how to make nuklear UIs readable without a magnifying glass | 16:42 | |
drobilla` | Why do I have a feeling that dealing with the DPI problem cross-platform is a horrible nightmare | 16:43 |
---|---|---|
*** drobilla` is now known as drobilla | 16:55 | |
rgareus | drobilla: automatically detecting DPI? | 17:15 |
rgareus | just let the user scale it. that's what most plugins do these days. | 17:17 |
*** yann-kaelig has joined #lv2 | 17:42 | |
ventosus | mine should scale with <Ctrl> mouse wheel or <Ctrl> +- | 17:51 |
ventosus | they alsoshould honor an env variable NK_SCALE=1.5 or whathever | 17:52 |
drobilla | Yeah, just idly tinkering, really | 17:56 |
drobilla | ventosus: Text in nuk.lv2 becomes boxes for me past a certain scale for some reason | 17:56 |
ventosus | drobilla: can reproduce this here, too | 17:59 |
ventosus | strange, indeed | 17:59 |
ventosus | happens at a font height of 36px | 18:03 |
ventosus | let's try an other font | 18:03 |
drobilla | rgareus: Yeah, vaguely reasonable defaults would be nice though. I just noticed that all nuklear stuff is completely unusable out of the box for me | 18:04 |
drobilla | If this were 10 years ago and we hadn't done basically every possible thing wrong since, there'd be an env var with the scaling factor or something (or DPI would actually mean something so there wouldn't be a ridiculous scaling factor thing at all), but c'est la vie | 18:05 |
ventosus | well, would be nice if a plugin ui could get that info from the host | 18:08 |
ventosus | an ui:DPIorwhathever option | 18:08 |
drobilla | Maybe, but seems like a job for whatever UI lib/toolkit/whatever to me | 18:09 |
ventosus | or that, yes | 18:11 |
ventosus | well, there are no boxes with a different font | 18:12 |
ventosus | so I blame the font, or the font + font loading/rendering shim in nuklear | 18:12 |
drobilla | weird | 18:13 |
*** m4l3z has quit IRC | 18:28 | |
ventosus | drobilla: there's actually some code in my nuklear/pugl wrapper (I forgot about) to get DPI from X | 18:42 |
ventosus | works as intended here in a fake highDPI Xephyr | 18:43 |
ventosus | cannot test on real highDPI hardware, though | 18:43 |
*** m4l3z has joined #lv2 | 18:44 | |
drobilla | ventosus: Yeah, saw that | 18:59 |
drobilla | ventosus: Not sure if the width and height provided are real. The DPI from X these days is basically always a lie | 18:59 |
* drobilla needs to actually run with a portable UI solution one of these days | 19:00 | |
drobilla | The immediate mode thing is pretty cool, I was skeptical but it seems to work well | 19:00 |
drobilla | nuklear itself is a horrible mess, but it works well and looks nice (usually except for text but I imagine this is surmountable to at least some extent, it always sucks on GL a bit) | 19:01 |
ventosus | well, when X lies, I'm screwd, I guess | 19:01 |
ventosus | If you don't want to draw too much, immediate mode works great, yes | 19:02 |
ventosus | code is horrible no navigate, indeed | 19:02 |
ventosus | s/no/to | 19:03 |
drobilla | Yeah, basically everything is screwed. Somebody, in their infinite wisdom, decided that DPI is always 96 everywhere and instead you have a scale factor. So DPI is completely meaningless and consistent size is impossible. Yay! | 19:04 |
drobilla | (I like the part where this was justified as some kind of compatibility/migration thing but High DPI on the Linux desktop is still an embarrassing mess however many years later) | 19:04 |
* ventosus reads HiDPI entry in Arch wiki and wants to run away | 19:12 | |
drobilla | Heh, yeah, it's really bad | 19:15 |
*** drobilla has quit IRC | 19:21 | |
*** NickSB2_ has quit IRC | 19:32 | |
*** HarryHaaren has joined #lv2 | 19:43 | |
*** NickSB2_ has joined #lv2 | 19:47 | |
*** NickSB2_ has quit IRC | 20:01 | |
*** NickSB2 has joined #lv2 | 20:13 | |
*** NickSB2 has quit IRC | 20:23 | |
ventosus | a lot of software seems to honor Xft.dpi in ~.Xresources | 20:31 |
*** NickSB2 has joined #lv2 | 20:44 | |
ventosus | well, if glfw, i3, awesome, xfce, gtk, chromium, mozilla honor Xft.dpi, I'll do so, too | 21:01 |
*** deva has quit IRC | 21:43 | |
*** jmagnusj has joined #lv2 | 21:45 | |
rgareus | I thought the issue was about x-platform DPI?! | 22:17 |
m4l3z | Hey | 22:19 |
*** kmicu has quit IRC | 22:39 | |
*** kmicu has joined #lv2 | 22:40 | |
*** HarryHaaren has quit IRC | 23:22 | |
*** nixlappy has quit IRC | 23:35 | |
*** yann-kaelig has quit IRC | 23:42 |
Generated by irclog2html.py 2.13.0 by Marius Gedminas - find it at mg.pov.lt!