Computer Science Canada help with font |
Author: | someguy123 [ Wed Feb 28, 2007 8:26 pm ] |
Post subject: | help with font |
i no how to put a special font i want, but how do u get a font, as in let user input in that font ya how do u that ? |
Author: | HeavenAgain [ Wed Feb 28, 2007 8:33 pm ] |
Post subject: | Re: help with font |
if i'm not mistaken make a var string and let user enter the font they wanted, and place that string var to the fontID but i think it will be better if you give a list of avaliable choices of font for the user to enter, and it must be exact or if you dont like that idea, you can also make a few different type of font variables and output them, so the user can see what they are like and let user pick( that would be another int variable or char) and if user picked let say 1 or a then you will use serif or whatever. i hope this helps good luck |
Author: | someguy123 [ Thu Mar 01, 2007 7:11 am ] |
Post subject: | Re: help with font |
HeavenAgain @ Wed Feb 28, 2007 8:33 pm wrote: if i'm not mistaken
make a var string and let user enter the font they wanted, and place that string var to the fontID but i think it will be better if you give a list of avaliable choices of font for the user to enter, and it must be exact or if you dont like that idea, you can also make a few different type of font variables and output them, so the user can see what they are like and let user pick( that would be another int variable or char) and if user picked let say 1 or a then you will use serif or whatever. i hope this helps good luck thx but thats not wat i was looking for, i am looking like how to let them enter in the specific font i want them to enter in, not letting them choose the font they want |
Author: | HeavenAgain [ Thu Mar 01, 2007 11:35 am ] | ||
Post subject: | Re: help with font | ||
oh ok then thats quite simple,
hope it helps |
Author: | someguy123 [ Tue Mar 06, 2007 6:43 pm ] |
Post subject: | Re: help with font |
nop i tried that b4, doesnt work, this was actually for CCC in the junior devision, question 2, if you tried to run this u will c wat i mean and why it doesnt work. I am trying to let user enter in that font, not outputting in that font. thx anyways |
Author: | Clayton [ Tue Mar 06, 2007 7:15 pm ] |
Post subject: | Re: help with font |
You have a choice between either my gets() function, or ericfourfour's Getter class. Search for either of them in Turing Submissions and you should find them easily enough. |
Author: | someguy123 [ Wed Mar 07, 2007 3:51 pm ] |
Post subject: | Re: help with font |
Freakman @ Tue Mar 06, 2007 7:15 pm wrote: You have a choice between either my gets() function, or ericfourfour's Getter class. Search for either of them in Turing Submissions and you should find them easily enough.
wow thx that really helped a lot |