Changing the Font Size
Author |
Message |
Absath
|
Posted: Thu Nov 18, 2004 11:57 am Post subject: Changing the Font Size |
|
|
Hey,
I would like to know if it is possible to change the size of the font, not through prefs, and not through
code: |
Font.Draw("hello", 150, 150, intfont, black)
|
Any help wanted
Thanks much |
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
cool dude
![](http://www.taylorstrategicmarketing.com/images/king.jpg)
|
Posted: Thu Nov 18, 2004 1:31 pm Post subject: (No subject) |
|
|
u could change the size of the font by doing this:
[code]
% Declare variables
var fontsize : int % declares the name of the font
% Declare font
fontsize := Font.New ("Calisto MT:30") % change the size by changing the 30 to whatever size u want
Font.Draw ("changing the size of the font", 50, 270, fontsize, 10)
View.Update % updates the screen
[code] |
|
|
|
|
![](images/spacer.gif) |
Andy
|
Posted: Thu Nov 18, 2004 3:39 pm Post subject: (No subject) |
|
|
this source has been asked many many times.. plz use the search function next time |
|
|
|
|
![](images/spacer.gif) |
|
|