Page 1 of 1

FONT SIZE within programs

Posted: Sat Jul 19, 2008 9:49 am
by Ollie
I find that the default font of my programs (looks like 8 pnt) is too small.

How can I easily increase the font size globally across the program?

I use Peles C for Windows to design the screen layout - If I change the font there - it has not effect in my software.

Posted: Sat Jul 19, 2008 9:57 am
by Ollie
I see I can:

DEFINE FONT fntArial NAME "Arial" SIZE 20, 20
DEFINE DIALOG Dlg_CLIENTS RESOURCE "CLIENTS" OF Win_CLIENTS ICON oIcon FONT fntArial

But how do I specify Arial 12 point? The width and height parameters make no sense.

Posted: Sat Jul 19, 2008 10:31 am
by Ollie
Posting all by myself ! LOL

I haven't defined any fonts in my program, I am happy with the system default, but I just want it a bit bigger.

Any ideas on how I would do that?

Creating Fonts

Posted: Sat Jul 19, 2008 10:58 am
by ukoenig
Hello Olli,

just have a look at Vtools
There you can test fonts and can copy the font-result ( font-defines )
some more functions are included : color-tests, browser-tests.....
maybe it is useful for you.

http://www.pflegeplus.com/fw_downloads/vtools.zip

Image

Image

Image

Best regards
Uwe :lol:

Posted: Sat Jul 19, 2008 11:25 am
by Antonio Linares
Ollie,

Try this:

DEFINE FONT fntArial NAME "Arial" SIZE -12, 0

Posted: Sat Jul 19, 2008 12:06 pm
by Enrico Maria Giordano
Antonio Linares wrote:Ollie,

Try this:

DEFINE FONT fntArial NAME "Arial" SIZE -12, 0


Shouldn't it be 0, -12?

EMG

Posted: Sat Jul 19, 2008 12:07 pm
by Antonio Linares
Enrico,

yes, right :-)