Selecting Font Type for jit.lcd

Oct 13, 2006 at 6:44pm

Selecting Font Type for jit.lcd

Hi,

On my patch I set the font type of a jit.lcd object by using a message box (e.g “font times 36″), but it only works when the font name is a single word. If I have a font named “calvert bold”, it wouldn’t recognize it. Is there a way that the patch can parse it?

Thanks a lot~

#28127
Oct 13, 2006 at 8:25pm

[tosymbol] is your friend ;
from the jit.lcd help file :

#P window setfont “Sans Serif” 9.;
#P number 447 293 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P window linecount 1;
#P newex 365 293 66 196617 tosymbol;
#B color 5;
#P newex 365 320 93 196617 pak font geneva 14;
#P user ubumenu 364 274 126 196617 0 1 1 0;
#X add “Andale Mono”;
#X add “Apple Chancery”;
#X add Arial;
#X add “Arial Black”;
#X add Capitals;
#X add Charcoal;
#X add Chicago;
#X add “ChordFont 4.0″;
#X add “Comic Sans MS”;
#X add Courier;
#X add “Courier New”;
#X add “Cubase Data Font”;
#X add Gadget;
#X add Geneva;
#X add Georgia;
#X add Helvetica;
#X add “Hoefler Text Ornaments”;
#X add “Hoefler Text”;
#X add Impact;
#X add Monaco;
#X add “Monotype Sorts”;
#X add QuickScribe;
#X add PerfPrintGeneva;
#X add PerfPrintIcons;
#X add “MT Extra”;
#X add “New York”;
#X add Palatino;
#X add Swing;
#X add “Lydian MT”;
#X add Kidprint;
#X add FrenchScript;
#X add Sand;
#X add “Score Font 4.0″;
#X add Skia;
#X add Symbol;
#X add Techno;
#X add Textile;
#X add Times;
#X add “Times New Roman”;
#X add “Trebuchet MS”;
#X add Verdana;
#X add VT100;
#X add Webdings;
#X add Wingdings;
#X add “.Last Resort”;
#X add .Keyboard;
#X prefix_set 0 0 0;
#P fasten 0 1 2 0 427 290 370 290;
#P fasten 2 0 1 1 370 315 411 315;
#P connect 3 0 1 2;
#P window clipboard copycount 4;

Quote: aywho wrote on Fri, 13 October 2006 11:44
—————————————————-
> Hi,
>
> On my patch I set the font type of a jit.lcd object by using a message box (e.g “font times 36″), but it only works when the font name is a single word. If I have a font named “calvert bold”, it wouldn’t recognize it. Is there a way that the patch can parse it?
>
>
> Thanks a lot~
—————————————————-

#86037

You must be logged in to reply to this topic.