<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[DPI scaling vs Tcl&#x2F;Tk]]></title><description><![CDATA[<p>On a high DPI display, Pd's windows, fonts, menus, etc. are stupidly small.</p>
<p>&quot;It's a Tcl/Tk problem&quot; but I just wonder if anyone on this forum found a solution for Pd?</p>
<p>Thanks,<br />
hjh</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/15890/dpi-scaling-vs-tcl-tk</link><generator>RSS for Node</generator><lastBuildDate>Sun, 24 May 2026 15:09:24 GMT</lastBuildDate><atom:link href="http://forum.pdpatchrepo.info/topic/15890.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 21 May 2026 08:29:06 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to DPI scaling vs Tcl&#x2F;Tk on Thu, 21 May 2026 08:29:06 GMT]]></title><description><![CDATA[<p>On a high DPI display, Pd's windows, fonts, menus, etc. are stupidly small.</p>
<p>&quot;It's a Tcl/Tk problem&quot; but I just wonder if anyone on this forum found a solution for Pd?</p>
<p>Thanks,<br />
hjh</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/15890/dpi-scaling-vs-tcl-tk</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/15890/dpi-scaling-vs-tcl-tk</guid><dc:creator><![CDATA[ddw_music]]></dc:creator><pubDate>Thu, 21 May 2026 08:29:06 GMT</pubDate></item><item><title><![CDATA[Reply to DPI scaling vs Tcl&#x2F;Tk on Thu, 21 May 2026 10:47:45 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/ddw_music">@ddw_music</a> Well you can change the font for the patch........ <a href="/uploads/files/1779353476497-change-font.pd">change font.pd</a> ... but it doesn't help for the console or menus.</p>
<p>You can also set the same for your Pd in the preferences with a startup flag...... -font-size x</p>
<p>Pd boxes (messages, objects) are scaled to the font but arrays and graphics are not.<br />
And it will likely make a mess when sharing too.<br />
There was a discussion about setting the DPI for the OS I think, and then excluding all other programs but that is probably not satisfactory either.<br />
Of course someone might have a better solution since the last time this was asked.<br />
Discussion found so far...... <a href="https://lists.iem.at/hyperkitty/list/pd-list@lists.iem.at/message/D7Y2HW3X3IMYEAF2N7DY5GR2T3G2A6RQ/" rel="nofollow">https://lists.iem.at/hyperkitty/list/pd-list@lists.iem.at/message/D7Y2HW3X3IMYEAF2N7DY5GR2T3G2A6RQ/</a></p>
<p>I have noticed that sizes are sometimes different in different releases for windows so it could be worth delving deeper.<br />
David.<br />
P.S. just playing around with pdwindow.tcl....... I am sure it can be taken further.......<br />
<img src="/uploads/files/1779360463138-capture.jpg" alt="Capture.JPG" class="img-responsive img-markdown" /></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/15890/dpi-scaling-vs-tcl-tk/2</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/15890/dpi-scaling-vs-tcl-tk/2</guid><dc:creator><![CDATA[whale-av]]></dc:creator><pubDate>Thu, 21 May 2026 10:47:45 GMT</pubDate></item><item><title><![CDATA[Reply to DPI scaling vs Tcl&#x2F;Tk on Thu, 21 May 2026 10:48:22 GMT]]></title><description><![CDATA[<p>I should also have said that I'm on Linux (Ubuntu Studio 24.04 [will upgrade over the summer probably], with the XFCE desktop).</p>
<p>Tcl/Tk, I suppose, will never catch up to the modern world.</p>
<p>When I need Pd, I mostly use plugdata anyway (I disagree with Pd's remaining tied to an outdated graphics library, so this is me &quot;voting with my feet&quot;). That's fine with me actually, though Gem doesn't run smoothly in plugdata. So it's not a <em>big</em> deal for me, but, nags at me a bit that one venerable tool can't be easily brought up to speed.</p>
<p>hjh</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/15890/dpi-scaling-vs-tcl-tk/3</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/15890/dpi-scaling-vs-tcl-tk/3</guid><dc:creator><![CDATA[ddw_music]]></dc:creator><pubDate>Thu, 21 May 2026 10:48:22 GMT</pubDate></item><item><title><![CDATA[Reply to DPI scaling vs Tcl&#x2F;Tk on Thu, 21 May 2026 20:42:52 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/ddw_music">@ddw_music</a> you can compile pd with this PR: <a href="https://github.com/pure-data/pure-data/pull/1659" rel="nofollow">https://github.com/pure-data/pure-data/pull/1659</a></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/15890/dpi-scaling-vs-tcl-tk/4</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/15890/dpi-scaling-vs-tcl-tk/4</guid><dc:creator><![CDATA[solipp]]></dc:creator><pubDate>Thu, 21 May 2026 20:42:52 GMT</pubDate></item><item><title><![CDATA[Reply to DPI scaling vs Tcl&#x2F;Tk on Fri, 22 May 2026 02:40:25 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/whale-av">@whale-av</a> said:</p>
<blockquote>
<p>Well you can change the font for the patch... but it doesn't help for the console or menus.</p>
</blockquote>
<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/solipp">@solipp</a> said:</p>
<blockquote>
<p>you can compile pd with this PR: <a href="https://github.com/pure-data/pure-data/pull/1659" rel="nofollow">https://github.com/pure-data/pure-data/pull/1659</a></p>
</blockquote>
<p>... (where the PR implements scroll wheel zooming, which affects patch contents, but not menu bars, or the console).</p>
<p>Appreciate the effort, but it has to be admitted that neither of these is a full solution.</p>
<p>Here, I've screenshotted what I'm seeing, and scaled it down so that lower DPI screens will see basically what I'm seeing.</p>
<p><img src="/uploads/files/1779416784263-pd-dpi-2.png" alt="pd-dpi-2.png" class="img-responsive img-markdown" /></p>
<p>Sure. You can interact with objects. But, anything that requires a menu or a dialog box, you'd better take off your glasses, get right up to the screen, and squint. In the Windows screenshot above, menus look normal size and everything else looks big. That isn't at all what you see on a high(er) DPI monitor (2880 x 1800 here). If I zoom in on a patch, I see normal-size objects and teeny tiny menus.</p>
<p>I found where pd-gui.tcl says:</p>
<pre><code>    # we are not using Tk scaling, so fix it to 1 on all platforms.  This
    # guarantees that patches will be pixel-exact on every platform
    # 2013.07.19 msp - trying without this to see what breaks - it's having
    # deleterious effects on dialog window font sizes.
    # tk scaling 1
</code></pre>
<p>... and I tried enabling <code>tk scaling 2</code>, but no effect after recompiling.</p>
<blockquote>
<p>There was a discussion about setting the DPI for the OS I think, and then excluding all other programs but that is probably not satisfactory either.</p>
</blockquote>
<p>If I understand your meaning here, that's what I've been doing for a long time -- setting lower resolution and making every application fuzzier, just so that Pd is usable. I'd kinda like to try maximum sharpness for awhile, see how it goes.</p>
<p>My laptop is IIRC 3.5 years old, and it's not a super expensive one (integrated Intel graphics, pretty standard). Again, I'm fine to use plugdata for most cases -- just observing that Pd vanilla is slipping further and further behind modern hardware.</p>
<p>hjh</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/15890/dpi-scaling-vs-tcl-tk/5</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/15890/dpi-scaling-vs-tcl-tk/5</guid><dc:creator><![CDATA[ddw_music]]></dc:creator><pubDate>Fri, 22 May 2026 02:40:25 GMT</pubDate></item><item><title><![CDATA[Reply to DPI scaling vs Tcl&#x2F;Tk on Fri, 22 May 2026 20:33:58 GMT]]></title><description><![CDATA[<blockquote>
<p>Sure. You can interact with objects. But, anything that requires a menu or a dialog box, you'd better take off your glasses, get right up to the screen, and squint. In the Windows screenshot above, menus look normal size and everything else looks big. That isn't at all what you see on a high(er) DPI monitor (2880 x 1800 here). If I zoom in on a patch, I see normal-size objects and teeny tiny menus.</p>
</blockquote>
<p>And changing the font size doesn’t help?<br />
Here is font size 10 compared to font size 24 on a my screen, also on XFCE:<br />
<img src="/uploads/files/1779481849474-image.png" alt="image.png" class="img-responsive img-markdown" /></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/15890/dpi-scaling-vs-tcl-tk/6</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/15890/dpi-scaling-vs-tcl-tk/6</guid><dc:creator><![CDATA[solipp]]></dc:creator><pubDate>Fri, 22 May 2026 20:33:58 GMT</pubDate></item><item><title><![CDATA[Reply to DPI scaling vs Tcl&#x2F;Tk on Sat, 23 May 2026 08:49:38 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/solipp">@solipp</a> said:</p>
<blockquote>
<p>And changing the font size doesn’t help?</p>
</blockquote>
<p>Ah, actually it does. An earlier comment said &quot;chang[ing] the font for the patch... doesn't help for the console or menus&quot; so tbh I didn't investigate font settings further... but it <em>does</em> help for those.</p>
<p>If I set font size = 16, it's pretty close. Acceptable. Thanks!</p>
<p>hjh</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/15890/dpi-scaling-vs-tcl-tk/7</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/15890/dpi-scaling-vs-tcl-tk/7</guid><dc:creator><![CDATA[ddw_music]]></dc:creator><pubDate>Sat, 23 May 2026 08:49:38 GMT</pubDate></item></channel></rss>