Saturday, 2018-01-06

*** Yruama_Lairba has quit IRC01:53
*** HarryHaaren has quit IRC02:00
*** drobilla` has joined #lv202:19
*** capturixeur2 has joined #lv202:20
*** thesunnyk_ has joined #lv202:20
*** rgareus_ has joined #lv202:22
*** trebmuh has quit IRC02:26
*** drobilla has quit IRC02:26
*** thesunnyk has quit IRC02:26
*** rgareus has quit IRC02:26
*** rgareus_ is now known as rgareus03:56
*** spoonie has quit IRC05:00
*** dsheeler has quit IRC08:29
*** dsheeler has joined #lv208:29
*** trebmuh has joined #lv209:04
*** capturixeur2 has quit IRC09:06
*** NickSB2 has quit IRC10:10
*** deva has joined #lv210:50
*** doublemetres[m] has left #lv211:18
*** rncbc has joined #lv211:31
*** Yruama_Lairba has joined #lv211:32
*** NickSB2 has joined #lv212:06
*** johmue has quit IRC12:16
*** johmue has joined #lv212:22
*** Yruama_Lairba has quit IRC14:28
*** m4l3z has joined #lv215:10
*** NickSB2_ has joined #lv215:36
*** NickSB2 has quit IRC15:36
* drobilla` tries to figure out how to make nuklear UIs readable without a magnifying glass16:42
drobilla`Why do I have a feeling that dealing with the DPI problem cross-platform is a horrible nightmare16:43
*** drobilla` is now known as drobilla16:55
rgareusdrobilla: automatically detecting DPI?17:15
rgareusjust let the user scale it. that's what most plugins do these days.17:17
*** yann-kaelig has joined #lv217:42
ventosusmine should scale with <Ctrl> mouse wheel or <Ctrl> +-17:51
ventosusthey alsoshould  honor an env variable NK_SCALE=1.5 or whathever17:52
drobillaYeah, just idly tinkering, really17:56
drobillaventosus: Text in nuk.lv2 becomes boxes for me past a certain scale for some reason17:56
ventosusdrobilla: can reproduce this here, too17:59
ventosusstrange, indeed17:59
ventosushappens at a font height of 36px18:03
ventosuslet's try an other font18:03
drobillargareus: Yeah, vaguely reasonable defaults would be nice though.  I just noticed that all nuklear stuff is completely unusable out of the box for me18:04
drobillaIf 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 vie18:05
ventosuswell, would be nice if a plugin ui could get that info from the host18:08
ventosusan ui:DPIorwhathever option18:08
drobillaMaybe, but seems like a job for whatever UI lib/toolkit/whatever to me18:09
ventosusor that, yes18:11
ventosuswell, there are no boxes with a different font18:12
ventosusso I blame the font, or the font + font loading/rendering shim in nuklear18:12
drobillaweird18:13
*** m4l3z has quit IRC18:28
ventosusdrobilla: there's actually some code in my nuklear/pugl wrapper (I forgot about) to get DPI from X18:42
ventosusworks as intended here in a fake highDPI Xephyr18:43
ventosuscannot test on real highDPI hardware, though18:43
*** m4l3z has joined #lv218:44
drobillaventosus: Yeah, saw that18:59
drobillaventosus: Not sure if the width and height provided are real.  The DPI from X these days is basically always a lie18:59
* drobilla needs to actually run with a portable UI solution one of these days19:00
drobillaThe immediate mode thing is pretty cool, I was skeptical but it seems to work well19:00
drobillanuklear 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
ventosuswell, when X lies, I'm screwd, I guess19:01
ventosusIf you don't want to draw too much, immediate mode works great, yes19:02
ventosuscode is horrible no navigate, indeed19:02
ventosuss/no/to19:03
drobillaYeah, 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 away19:12
drobillaHeh, yeah, it's really bad19:15
*** drobilla has quit IRC19:21
*** NickSB2_ has quit IRC19:32
*** HarryHaaren has joined #lv219:43
*** NickSB2_ has joined #lv219:47
*** NickSB2_ has quit IRC20:01
*** NickSB2 has joined #lv220:13
*** NickSB2 has quit IRC20:23
ventosusa lot of software seems to honor Xft.dpi in ~.Xresources20:31
*** NickSB2 has joined #lv220:44
ventosuswell, if glfw, i3, awesome, xfce, gtk, chromium, mozilla honor Xft.dpi, I'll do so, too21:01
*** deva has quit IRC21:43
*** jmagnusj has joined #lv221:45
rgareusI thought the issue was about x-platform DPI?!22:17
m4l3zHey22:19
*** kmicu has quit IRC22:39
*** kmicu has joined #lv222:40
*** HarryHaaren has quit IRC23:22
*** nixlappy has quit IRC23:35
*** yann-kaelig has quit IRC23:42

Generated by irclog2html.py 2.13.0 by Marius Gedminas - find it at mg.pov.lt!