MoshiachNow
IS-IT--Management
Hi,
can I use a certain font with sprintf command ,say,"courier" ?
thanks
Long live king Moshiach !
can I use a certain font with sprintf command ,say,"courier" ?
thanks
Long live king Moshiach !
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
sprintf ("<strong>%02d</strong>", $number);
# where $text is a Tk::Text widget
$text->tagConfigure ('mynewfont',
-font => [
-family => 'Courier New',
-size => 10,
-weight => 'bold',
],
-foreground => 'red',
);
$text->insert ('end',
sprintf ("%02d",$number),
'mynewfont',
);