<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2715.400" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#c0c0c0>
<DIV><FONT face=Arial size=2>hi devs,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>i couldnt let my fingers from it :) so i'm working 
on the fonts again..</FONT></DIV>
<DIV><FONT face=Arial size=2>but i got a problem. can i use a specific font for 
a specific size ?</FONT></DIV>
<DIV><FONT face=Arial size=2>ex. i wanted to use my font (pufo) only for size 
7.. i found this on pd.tk but it doesn't seem to work so like i 
wanted/thought... </FONT><FONT face=Arial size=2>(sorry i'm working @ TAE 
style)[TAE = trial and error]</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>############ pdtk_text_new -- create a new text 
object #2###########<BR>proc pdtk_text_new {canvasname myname x y text font 
color} {<BR>&nbsp;&nbsp;&nbsp; if {$font &lt; 8} {set fontname [format 
-*-pufo-----%d-* $font]}<BR>&nbsp;&nbsp;&nbsp; if {$font &gt;= 8} {set fontname 
[format -*-courier-----%d-* $font]}<BR>&nbsp;&nbsp;&nbsp; $canvasname create 
text $x $y \<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-font [format 
-*-courier-bold--normal--%d-* $font] \<BR>&nbsp;&nbsp;&nbsp; &nbsp;-tags $myname 
-text $text -fill $color&nbsp; -anchor nw <BR>#&nbsp;&nbsp;&nbsp; pd [concat 
$myname size [$canvasname bbox $myname] \;]<BR>}</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>as i read it with my very limited coding skills it 
would be if size smaller than 8 use my font, right?!</FONT></DIV>
<DIV><FONT face=Arial size=2>well, the if(s) where marked unused so could be 
that they are not compatible with the rest of the code...</FONT></DIV>
<DIV><FONT face=Arial size=2>but if this feature (specific fonts for specific 
sizes) is not supported in the code it's not a must. i just wanted it for my 
test...</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>cheers</FONT></DIV>
<DIV><FONT face=Arial size=2>-andre</FONT></DIV></BODY></HTML>