delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mail set sender to geda-user-bounces using -f |
X-Recipient: | geda-user AT delorie DOT com |
X-Original-DKIM-Signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; |
d=gmail.com; s=20210112; | |
h=mime-version:references:in-reply-to:from:date:message-id:subject:to; | |
bh=GL3bL5x5RJW8DCRtVqlb1m49OXBreZxmzSZLJ2hdY9Y=; | |
b=hLS5OcsAneyYaL1aVrIUE9FWIlcpUVtWgID3CBEolTwuNZOfUUay91resFn2hS++8Q | |
5a1H88kgE2piL0A1is4cyQSxlx7K6Oic8F5jpG+BiCJcIT/dvh+I+o5A1DLcYg+4Fb2j | |
uv9+5ZyY2sy+Xr2Whgg0LnKjod9u2Mnp6baY61jR/UjCIXwvC+lKzjP0RDFkhaZ2ap60 | |
YbEnG3nsw9vjQfH1EuT8DeNPfrMnIObumno9gSTuD9sUV8AXAXzRo8kZM0JWQXWQCRUl | |
esJ9aMKuGQNfDxtInE9jWs6pmqHT4J964NC66z/Eic5yz6zLentNX+QzpHxqaMU0QdHZ | |
qYIg== | |
X-Google-DKIM-Signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; |
d=1e100.net; s=20210112; | |
h=x-gm-message-state:mime-version:references:in-reply-to:from:date | |
:message-id:subject:to; | |
bh=GL3bL5x5RJW8DCRtVqlb1m49OXBreZxmzSZLJ2hdY9Y=; | |
b=XTrclsIHsjc8FNgmS45UmBV7u4Jd3zOqVsSi84N2L5PquNG+gFfUWiV6WnQ+VeVcyk | |
XISfBJqeP9JGAZaPhI9fQOaRDML9JUu/CETKf+nmceveSMCqCkVjVkC6iVnspxS1H23J | |
r7TT2H8muJWvNaEuFIWYAs2M0JV31gIReB0b9/9BqIkndm4Px/Ei6NNwuu9EDUlMseJ8 | |
F263aNoCR6mTNWVOtftMzsRiSpudwltp9gNXFx9VbwqdukfP/4hjEEfgzH1iwGdJj52x | |
HEPqvATtn7vpSdC5AjXKv4mGhmYhe9EEAgTlQTxGE2rfrhu1QhBQ1a/SVtbYlWXL6iuK | |
Cnhg== | |
X-Gm-Message-State: | AJIora8yGC58O/+3rxReo0R3jlzp92WIBFnS+HQt9NLwvSeud1sfAST/ |
QCUc9t4snTW0cOAVcml2MBrWXZGwPDibnWasOCo7DGWf | |
X-Google-Smtp-Source: | AGRyM1sVG5Ml4eIoiZAcHzA2y5M4BFWxw7ZnjbBbbp9kqKIaA50GWlTCIn+Q22KIuHLgB3VFEU30aJ5Ek4u89L9B8jc= |
X-Received: | by 2002:a05:6808:2105:b0:339:e459:8a9b with SMTP id |
r5-20020a056808210500b00339e4598a9bmr1570430oiw.131.1657337975919; Fri, 08 | |
Jul 2022 20:39:35 -0700 (PDT) | |
MIME-Version: | 1.0 |
References: | <CAC4O8c-cqfHQ6AowGSH8of734NaA1aZGiZ4awnq=E=A1HK51aw AT mail DOT gmail DOT com> |
<CAHUm0tM0nSQ44ZQQ5MUksZaM9fC8q=A5aO0DKuHOLq5D75dmoQ AT mail DOT gmail DOT com> | |
In-Reply-To: | <CAHUm0tM0nSQ44ZQQ5MUksZaM9fC8q=A5aO0DKuHOLq5D75dmoQ@mail.gmail.com> |
From: | "Erich Heinzle (a1039181 AT gmail DOT com) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com> |
Date: | Sat, 9 Jul 2022 13:09:24 +0930 |
Message-ID: | <CAHUm0tPtwVY+RWioGh4zvGUFsw64bNW+HsOakrwk0HqUV65PuA@mail.gmail.com> |
Subject: | Re: [geda-user] user interface scaling on HiDPI possible? |
To: | geda-user <geda-user AT delorie DOT com> |
Reply-To: | geda-user AT delorie DOT com |
--00000000000053d96605e357117e Content-Type: text/plain; charset="UTF-8" I haven't had to use it on my screens but there is an icon_scale config node in the gtk plugin that works both on gtk2 and gtk4 and lets you set a scale factor to anything as a float. This allows you to: - scale up the icons by 2, 3 or whatever factor you need - set the font size in your gtk2 theme - enable the cross-grid feature so grid points get a 3x3 pixel cross instead of a single pixel Regards, Erich On Sat, 9 Jul 2022 10:17 Erich Heinzle, <a1039181 AT gmail DOT com> wrote: > pcb-rnd had gtk4 support added a few months ago. > > It would be worth seeing if gtk4 vs gtk2 makes a difference. > > You will need the gtk4 dev libs installed of course. > > pcb-rnd and camv-rnd depend on librnd for the shared code, which includes > a lot of the cross platform lesstif/gtk2/gtk4 support stuff, plus support > for user scripting > > http://repo.hu/projects/librnd/ > > Regards, > > Erich. > > > On Sat, 9 Jul 2022 09:28 Britton Kerin (britton DOT kerin AT gmail DOT com) [via > geda-user AT delorie DOT com], <geda-user AT delorie DOT com> wrote: > >> I just built 4.3 and the interface is almost unreadably tiny on my >> HiDPI screen. I tried my normal desperation measure of this script: >> >> https://github.com/kaueraal/run_scaled >> >> which gets the tool icons visible but somehow the fonts managed to >> keep themselves the same size only more blurry. >> >> Anyone come up with a good approach to this? I get the impression >> that it's hard to get gtk2 software to handle it. >> >> Britton >> > --00000000000053d96605e357117e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"auto"><div><span style=3D"font-size:12.8px">I haven't had t= o use it on my screens but there is an icon_scale config node in the gtk pl= ugin that works both</span><br style=3D"font-size:12.8px"><span style=3D"fo= nt-size:12.8px">on gtk2 and gtk4 and lets you set a scale factor to anythin= g as a float.</span></div><div dir=3D"auto"><br style=3D"font-size:12.8px">= <span style=3D"font-size:12.8px">This allows you to:</span><br style=3D"fon= t-size:12.8px"><br style=3D"font-size:12.8px"><span style=3D"font-size:12.8= px">- scale up the icons by 2, 3 or whatever factor you need</span><br styl= e=3D"font-size:12.8px"><br style=3D"font-size:12.8px"><span style=3D"font-s= ize:12.8px">- set the font size in your gtk2 theme</span><br style=3D"font-= size:12.8px"><br style=3D"font-size:12.8px"><span style=3D"font-size:12.8px= ">- enable the cross-grid feature so grid points get a 3x3 pixel cross in</= span><span style=3D"font-size:12.8px">stead of a single pixel</span></div><= div dir=3D"auto"><span style=3D"font-size:12.8px"><br></span></div><div dir= =3D"auto"><span style=3D"font-size:12.8px">Regards,=C2=A0</span></div><div = dir=3D"auto"><span style=3D"font-size:12.8px"><br></span></div><div dir=3D"= auto"><span style=3D"font-size:12.8px">Erich<br></span><br><div class=3D"gm= ail_quote" dir=3D"auto"><div dir=3D"ltr" class=3D"gmail_attr">On Sat, 9 Jul= 2022 10:17 Erich Heinzle, <<a href=3D"mailto:a1039181 AT gmail DOT com">a10391= 81 AT gmail DOT com</a>> wrote:<br></div><blockquote class=3D"gmail_quote" styl= e=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div di= r=3D"auto"><div>pcb-rnd had gtk4 support added a few months ago.=C2=A0<div = dir=3D"auto"><br></div><div dir=3D"auto">It would be worth seeing if gtk4 v= s gtk2 makes a difference.</div><div dir=3D"auto"><br></div><div dir=3D"aut= o">You will need the gtk4 dev libs installed of course.</div><div dir=3D"au= to"><br></div><div dir=3D"auto">pcb-rnd and camv-rnd depend on librnd for t= he shared code,=C2=A0 which includes a lot of the cross platform lesstif/gt= k2/gtk4 support stuff, plus support for user scripting</div><div dir=3D"aut= o"><br></div><div dir=3D"auto"><a href=3D"http://repo.hu/projects/librnd/" = target=3D"_blank" rel=3D"noreferrer">http://repo.hu/projects/librnd/</a><br= ></div><div dir=3D"auto"><br></div><div dir=3D"auto">Regards,=C2=A0</div><d= iv dir=3D"auto"><br></div><div dir=3D"auto">Erich.=C2=A0</div><br><br><div = class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Sat, 9 Jul 2= 022 09:28 Britton Kerin (<a href=3D"mailto:britton DOT kerin AT gmail DOT com" target= =3D"_blank" rel=3D"noreferrer">britton DOT kerin AT gmail DOT com</a>) [via <a href=3D= "mailto:geda-user AT delorie DOT com" target=3D"_blank" rel=3D"noreferrer">geda-us= er AT delorie DOT com</a>], <<a href=3D"mailto:geda-user AT delorie DOT com" target=3D= "_blank" rel=3D"noreferrer">geda-user AT delorie DOT com</a>> wrote:<br></div><= blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px= #ccc solid;padding-left:1ex">I just built 4.3 and the interface is almost = unreadably tiny on my<br> HiDPI screen.=C2=A0 I tried my normal desperation measure of this script:<b= r> <br> <a href=3D"https://github.com/kaueraal/run_scaled" rel=3D"noreferrer norefe= rrer noreferrer" target=3D"_blank">https://github.com/kaueraal/run_scaled</= a><br> <br> which gets the tool icons visible but somehow the fonts managed to<br> keep themselves the same size only more blurry.<br> <br> Anyone come up with a good approach to this?=C2=A0 I get the impression<br> that it's hard to get gtk2 software to handle it.<br> <br> Britton<br> </blockquote></div></div></div> </blockquote></div></div></div> --00000000000053d96605e357117e--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |