<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:12pt">Hi list,<br><br>From tcl/pd-gui:<br>&nbsp;&nbsp;&nbsp; # we are not using Tk scaling, so fix it to 1 on all platforms.&nbsp; This<br>&nbsp;&nbsp;&nbsp; # guarantees that patches will be pixel-exact on every platform<br>&nbsp;&nbsp;&nbsp; tk scaling 1<br><br>From #tcl on freenode:<br>&lt;jancsika&gt; hello. does tk scaling affect canvas items?<br>&lt;ijchain&gt; &lt;emiliano&gt; jancsika: no<br><br>From my own experiments on Debian:<br>* setting the tk scaling to 1, 0.2, 3, or 200 does not alter<br>a canvas text item, either for positive (pointsize) font sizes<br>or negative (pixelsize) font sizes<br>* with version 8.5.11, setting tk scaling to 1, 0.2, 3, or 200<br>_will_ change the actual number of pixels a canvas requests<br>from its parent _if_ you pack it without any option flags.<br>(e.g., scaling at 0.2 will request a tiny rectangle
 and scaling<br>at 200 will be bigger than the visible screen area, at least on<br>my laptop).&nbsp; However, Pd packs its canvas items to fill the<br>cavity provided by the toplevel parent (which always has<br>its geometry set explicitly), so no matter what tk scaling value<br>you set the canvas will be exactly the right size.<br><br>You can check this by setting tk scaling to any value at all.<br>The tk widgets will of course look different (that's what tk<br>scaling affects, after all), but just click &lt;ctrl-n&gt; for a new<br>patch and it will look exactly right.&nbsp; Also try:<br><br>[label foo(<br>|<br>[vsl]<br><br>... and you will find that even iemguis have _exactly_ the<br>same font size no matter what you provided for tk scaling.<br><br>Effect of [tk scaling 1] command:<br>causes tiny fonts in various widgets on Windows, which then<br>requires a dev to fire up Pd on a Windows machine and<br>screw around with the options database until they
 find the<br>correct string to set the menufont<br><br>Side effect: if you want to embed tk widgets in a patch, not<br>having tk scaling frozen at "1" may end up making those widgets<br>have different sizes on different platforms.&nbsp; But even with<br>[tk scaling 1] you cannot guarantee pixel-exactness in this case,<br>because tk uses native widgets from the OS, and different OSes<br>will request different padding, font-sizes, images, etc. for those<br>widgets.<br><br>So-- is there any reason not to remove "tk scaling 1"?<br><br>Thanks,<br>Jonathan<br><br></div></body></html>