hi thomas, hi all,
1000x thnx, it works.
ok, so heres the first beta of PUFO (PureFont :). it has still only one size (7pt [6x9pix]) and is only in windows FON format, so dunno how you use it on linux/osX :(. but, for win32 just copy the pufo.fon to /windows/fonts directory and replace your pd.tk (0.35-1) file with the attachment. ready to use :) pd.tk changes; changed the font size 8 to 7 (font bomb) and selection of pufo font on size 7. but if you still need courier on 8pt let me know! how to use/select pufo font? open/create a patch and change to font size 7
cheers -andre ps. yes, any comment IS welcome as its still a beta !
----- Original Message ----- From: "Thomas Musil" musil@iem.kug.ac.at To: "Andre Schmidt" andre@vju-tv.net; "PD-dev" pd-dev@iem.kug.ac.at Sent: Wednesday, September 04, 2002 8:12 PM Subject: Re: [PD-dev] pd.tk [fonts]
Hi Andre
revision 1.01
replace "-font [format -*-courier-----%d-* $font]" by "-font $fontname".
############ pdtk_text_new -- create a new text object #2########### proc pdtk_text_new {canvasname myname x y text font color} { if {$font < 8} {set fontname [format -*-pufo-----%d-* $font]} if {$font >= 8} {set fontname [format -*-courier-----%d-* $font]} $canvasname create text $x $y
-font $fontname
-tags $myname -text $text -fill $color -anchor nw # pd [concat $myname size [$canvasname bbox $myname] ;] }but maybe, you don't see a difference with a smaller font then 8.
good luck
Thomas Musil
PD-dev mailing list PD-dev@iem.kug.ac.at http://iem.kug.ac.at/cgi-bin/mailman/listinfo/pd-dev
btw. is there a need for smaller font than 6x9pix, i could make 5x7pix still readable. and in extrem case 5x5 (attachment)
and btw. how do i change the font for "array names" (see attachment; array name has still courier)
cheers -andre
----- Original Message ----- From: "Andre Schmidt" andre@vju-tv.net To: "PD-LIST" pd-list@iem.kug.ac.at Sent: Thursday, September 05, 2002 7:56 PM Subject: [PD] Re: [PD-dev] pd.tk [fonts]
hi thomas, hi all,
1000x thnx, it works.
ok, so heres the first beta of PUFO (PureFont :). it has still only one
size
(7pt [6x9pix]) and is only in windows FON format, so dunno how you use it
on
linux/osX :(. but, for win32 just copy the pufo.fon to /windows/fonts directory and replace your pd.tk (0.35-1) file with the attachment. ready
to
use :) pd.tk changes; changed the font size 8 to 7 (font bomb) and selection of pufo font on size 7. but if you still need courier on 8pt let me know! how to use/select pufo font? open/create a patch and change to font size 7
cheers -andre ps. yes, any comment IS welcome as its still a beta !
----- Original Message ----- From: "Thomas Musil" musil@iem.kug.ac.at To: "Andre Schmidt" andre@vju-tv.net; "PD-dev" pd-dev@iem.kug.ac.at Sent: Wednesday, September 04, 2002 8:12 PM Subject: Re: [PD-dev] pd.tk [fonts]
Hi Andre
revision 1.01
replace "-font [format -*-courier-----%d-* $font]" by "-font $fontname".
############ pdtk_text_new -- create a new text object #2########### proc pdtk_text_new {canvasname myname x y text font color} { if {$font < 8} {set fontname [format -*-pufo-----%d-* $font]} if {$font >= 8} {set fontname [format -*-courier-----%d-* $font]} $canvasname create text $x $y
-font $fontname
-tags $myname -text $text -fill $color -anchor nw # pd [concat $myname size [$canvasname bbox $myname] ;] }but maybe, you don't see a difference with a smaller font then 8.
good luck
Thomas Musil
PD-dev mailing list PD-dev@iem.kug.ac.at http://iem.kug.ac.at/cgi-bin/mailman/listinfo/pd-dev
Hi Andre, Thomas and all,
i'm totally new to PD GUI programming, but it seems as if there's normally only one default font usable for an external.
available on practically every system?
many thanks, Thomas