Board index » delphi » Problem with Windows Setup fonts: large/small

Problem with Windows Setup fonts: large/small

Frank -

You might want to check out the file resfix.zip, found on the Delphi
Super Page at:

http://sunsite.icm.edu.pl/archive/delphi/freel.html

It fixes (and also gives some good background info. on) the large
vs. small font situation. :)

- Mike

<<to anyone who can help,

<<I developed a program with a pre-defined resolution (640*480).
<<When i run the program with windows resolution installed (800*600 with
<<small fonts) everything works fine. The program occupies an area of
<<640*480.
<<When i run the program with windows resolution installed (800*600 with
<<large fonts) the program occupies the same area (window-size), but
<<doesn't fit in the window (640*480), so scroll-bars appear.

<<It has probably something to do with the installed font, which
<<occupies more space for a large font.

<<In the program i use the font MS-SansSerif.

<<Is this a known problem, and does anyone have a solution to it?

<<Thanks in advance!!!

<<Frank de Pooter

 

Re:Problem with Windows Setup fonts: large/small


to anyone who can help,

I developed a program with a pre-defined resolution (640*480).
When i run the program with windows resolution installed (800*600 with
small fonts) everything works fine. The program occupies an area of
640*480.
When i run the program with windows resolution installed (800*600 with
large fonts) the program occupies the same area (window-size), but
doesn't fit in the window (640*480), so scroll-bars appear.

It has probably something to do with the installed font, which
occupies more space for a large font.

In the program i use the font MS-SansSerif.

Is this a known problem, and does anyone have a solution to it?

Thanks in advance!!!

Frank de Pooter
email: F.dePoo...@slo.nl

Other Threads