<html><head></head><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div id="yui_3_16_0_ym19_1_1460130564639_3491"><span id="yui_3_16_0_ym19_1_1460130564639_3494">What do "canvas coordinates" have to do with "menus and dialogs"?  Also, </span></div><div id="yui_3_16_0_ym19_1_1460130564639_3491" dir="ltr"><span id="yui_3_16_0_ym19_1_1460130564639_4850">for a potential "canvas zoom" keep in mind that [canvas scale] doesn't affect </span></div><div id="yui_3_16_0_ym19_1_1460130564639_3491" dir="ltr"><span>text.</span></div><div id="yui_3_16_0_ym19_1_1460130564639_3491"><span><br></span></div><div id="yui_3_16_0_ym19_1_1460130564639_3491"><span id="yui_3_16_0_ym19_1_1460130564639_4025">Orm: it's been awhile, but I think "ttk" widgets are the ones that are </span></div><div id="yui_3_16_0_ym19_1_1460130564639_3491" dir="ltr"><span id="yui_3_16_0_ym19_1_1460130564639_4026">"themable" using Tk's half-baked, barely-documented theming engine.  </span></div><div id="yui_3_16_0_ym19_1_1460130564639_3491" dir="ltr"><span id="yui_3_16_0_ym19_1_1460130564639_4202">The [tk scaling] documentation implies that it should affect the scaling </span></div><div id="yui_3_16_0_ym19_1_1460130564639_3491" dir="ltr"><span id="yui_3_16_0_ym19_1_1460130564639_4243">of all physical units.</span></div><div id="yui_3_16_0_ym19_1_1460130564639_3491" dir="ltr"><span><br></span></div><div id="yui_3_16_0_ym19_1_1460130564639_3491" dir="ltr"><span id="yui_3_16_0_ym19_1_1460130564639_4366">It shouldn't affect the canvas font sizes because those are specified as </span></div><div id="yui_3_16_0_ym19_1_1460130564639_3491" dir="ltr"><span id="yui_3_16_0_ym19_1_1460130564639_4595">pixel sizes.  (I say "shouldn't" because there's a bug when you print out <br></span></div><div id="yui_3_16_0_ym19_1_1460130564639_3491" dir="ltr"><span id="yui_3_16_0_ym19_1_1460130564639_4849">a tk canvas to postscript, so the tk scaling factor actually affects that </span></div><div id="yui_3_16_0_ym19_1_1460130564639_3491" dir="ltr"><span id="yui_3_16_0_ym19_1_1460130564639_4694">ps output.)</span></div><div id="yui_3_16_0_ym19_1_1460130564639_3491" dir="ltr"><span><br></span></div><div id="yui_3_16_0_ym19_1_1460130564639_3491" dir="ltr"><span id="yui_3_16_0_ym19_1_1460130564639_4597">As far as actual support for HiDPI, I'm going to rankly speculate that </span></div><div id="yui_3_16_0_ym19_1_1460130564639_3491" dir="ltr"><span id="yui_3_16_0_ym19_1_1460130564639_4695">tk has none.</span></div><div id="yui_3_16_0_ym19_1_1460130564639_3491" dir="ltr"><span><br></span></div><div id="yui_3_16_0_ym19_1_1460130564639_3491" dir="ltr"><span id="yui_3_16_0_ym19_1_1460130564639_4942">-Jonathan</span></div> <div class="qtdSeparateBR"><br><br></div><div class="yahoo_quoted" style="display: block;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div dir="ltr"><font size="2" face="Arial"> On Friday, April 8, 2016 11:39 AM, Miller Puckette <msp@ucsd.edu> wrote:<br></font></div>  <br><br> <div class="y_msg_container">Changing TK_SCALING almost certainly won't help as all "canvas" coordinates<br clear="none">are in pixels I believe.<br clear="none"><br clear="none">Sounds like I really have to implement a "zoom" function in Pd now.<br clear="none"><br clear="none">cheers<br clear="none">Miller<br clear="none"><div class="yqt9404384885" id="yqtfd21269"><br clear="none">On Fri, Apr 08, 2016 at 08:34:54AM +0200, Orm Finnendahl wrote:<br clear="none">> Am Freitag, den 08. April 2016 um 02:45:04 Uhr (+0000) schrieb<br clear="none">> Jonathan Wilkes:<br clear="none">> > Anyhow, you might try tweaking value for that command-- or removing<br clear="none">> > it altogether.  (grep "tk scaling" in the tcl folder to find it.) <br clear="none">> > That's the only tk command I know of that could affect default<br clear="none">> > widget sizing.<br clear="none">> <br clear="none">>  the only occurence I could find (in pd-gui.tcl) is commented out in<br clear="none">> my pd version (0.46-6) with some comment that Tk scaling isn't used. I<br clear="none">> had already tried changing the value (including "package require Tcl<br clear="none">> 8.5" without understanding what "replace Tk widgets with Ttk widgets<br clear="none">> on 8.5" means) but both didn't seem to have any effect whatsoever.<br clear="none">> <br clear="none">> --<br clear="none">> Orm</div><br clear="none">> <br clear="none">> _______________________________________________<br clear="none">> <a shape="rect" ymailto="mailto:Pd-list@lists.iem.at" href="mailto:Pd-list@lists.iem.at">Pd-list@lists.iem.at</a> mailing list<br clear="none">> UNSUBSCRIBE and account-management -> <a shape="rect" href="https://lists.puredata.info/listinfo/pd-list" target="_blank">https://lists.puredata.info/listinfo/pd-list</a><div class="yqt9404384885" id="yqtfd29923"><br clear="none"></div><br><br></div>  </div> </div>  </div></div></body></html>