<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12pt">In Pd Vanilla and possibly Pd-l2ork, tk menus and widgets should "do the right thing" because of something called tk scaling:<br>http://wiki.tcl.tk/8484<br><br>In Pd-extended, "tk scaling" is hard-coded to "1" in pd-gui.tcl, but if you remove that line things should scale up accordingly.&nbsp; (Or reveal bugs in tk if things look wacky as a result.)<br><br>You won't be able to scale iemgui sizes in any flavor of Pd.&nbsp; They are specified in pixel units.&nbsp; There is a canvas "scale" subcommand but the catch is that text items (i.e., most of the content of a patch) doesn't actually get scaled.&nbsp; Worse, tk canvas seems only to support integer font sizes, making it burdensome to try to use canvas scaling and manually tweak the font sizes to match.&nbsp; (I think Pd-l2ork currently does the
 reverse-- you choose a different font size and it picks a corresponding scaling factor, though I don't know if it actually uses the "scale" subcommand or not.)<br><br>So burdensome is scaling text on a tk canvas that someone just decided to make their own mono-spaced vector font in tcl/tk using canvas curves, demo'd here:<br><br>http://www.youtube.com/watch?v=n3sz_KRdRmY<br><br>In Pd-l2ork, canvas zooming is essentially one very tricky step away.&nbsp; It has a scalable canvas text item called "ptext", but unlike the normal text item it doesn't have editing features (i.e., showing the insertion caret, highlighting text, etc.).&nbsp; So someone would have to code that up manually.&nbsp; But once that is done you could scale the entire canvas, or even rotate/skew it if you're into that kind of thing. :)<br><br>Btw-- the potential use case you mention shows the weakness of using images in patches.&nbsp; For example, if you made a button that toggled
 between two png images when clicked, that button would look blurry when you scale the patch up.<br><br>-Jonathan<br><div style="display: block;" class="yahoo_quoted"> <br> <br> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 12pt;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 12pt;"> <div dir="ltr"> <font face="Arial" size="2"> On Thursday, January 9, 2014 5:59 PM, Roman Haefeli &lt;reduzent@gmail.com&gt; wrote:<br> </font> </div>  <div class="y_msg_container">Hi<br><br>Recently, a few models of so called ultrabooks with comparatively high<br>display resolution (up to 3200x1800px) are available, even with<br>affordable prices. While the specs sound teasing, I wonder how Pd is<br>going to behave on those. I'm especially interested in the situation on<br>linux. <br><br>This might be rather a Tk question, but it is possible to
 scale all Pd<br>graphics evenly, so that the appearance will still be comfortable and<br>all menu and patch fonts will readable? Setting the font size in patches<br>won't really help as this scales only the boxes and there content, but<br>not the menus, the iemguis and also not the distance between boxes.<br><br>Is someone with a hi-res display stuck with lowering the resolution when<br>the goal is to do some patching?<br><br>Roman<br> <br><br><br>_______________________________________________<br><a ymailto="mailto:Pd-list@iem.at" href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>UNSUBSCRIBE and account-management -&gt; <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br><br><br></div>  </div> </div>  </div> </div></body></html>