Hi folks,
i normaly use the ***** DrawText(xw,yw,"Hello world ") ***** command.
Is is possible to make the size of the signs bigger?
for example: twice the size?
Wim
how can i get a bigger font size ?
Re: how can i get a bigger font size ?
Load a font with the desired size, then use it:
Code: Select all
LoadFont(0, "Arial", 24)
DrawingFont(FontID(0))
DrawText(xw,yw,"Hello world ")
-
- Enthusiast
- Posts: 290
- Joined: Thu Dec 16, 2010 2:05 pm
- Location: Delfzijl ( The Netherlands )
- Contact:
Re: how can i get a bigger font size ?
Hi Caronte 3D,
Yes, it works . thank you very much,
but what is the standard purebasic font, so that i can return to the normal text.
Wim
Yes, it works . thank you very much,
but what is the standard purebasic font, so that i can return to the normal text.
Wim
Re: how can i get a bigger font size ?
To use the default system font, specify #PB_Default when using DrawingFont():wimapon wrote: Thu Mar 16, 2023 11:05 am Hi Caronte 3D,
Yes, it works . thank you very much,
but what is the standard purebasic font, so that i can return to the normal text.
Wim
Code: Select all
DrawingFont(#PB_Default)
-
- Enthusiast
- Posts: 290
- Joined: Thu Dec 16, 2010 2:05 pm
- Location: Delfzijl ( The Netherlands )
- Contact:
Re: how can i get a bigger font size ?
Okay wombats and Caronte 3D
my problem is solved.
How simple can it be.
thank you very much
Wim Apon
my problem is solved.
How simple can it be.
thank you very much
Wim Apon