Computer Science Canada increase font size help !!!!!!! |
Author: | WooFerPPK [ Mon Nov 18, 2002 8:30 pm ] | ||
Post subject: | increase font size help !!!!!!! | ||
that will make the font shrink from the positon its in i want it to shrink each letter at a time ie/ HELL0 pls help |
Author: | Tony [ Tue Nov 19, 2002 1:00 am ] | ||||
Post subject: | |||||
so then you first declear all the fonts (from 1 to size of string) then run a for loop as this:
as the for loop increases, the fontid changes (make sure fonts are in an array) also a good estimate of the position of X is number of letters * fontsize... So since its gonna be changing, I recomend counter... as
in note here part you put w/e value you'd have to add to length of the text to get largest font size. This is assuming that fonts decrease by 1. length(text) - i gives size of the font and note here part gives the base size increasement... well it depends on how you declear your fonts. Hope you understand |