How can I circumvent this behavior?
kind regards
Michael Rabatscher
> When designing a form in the Kylix3 IDE I can use a Helvetica font with
> 8pts height. But as soon as I start
> the application the fonts grow to something like 14 pts.
>
> How can I circumvent this behavior?
It could be that you've got Scaling set 'true':
http://www.efg2.com/Lab/Library/Kylix/FormScaling/index.htm
I found it additionally necessary to stick (something like) this in the
.dpr file, prior to Application.Initialize:
// j is either a user=specified font size or zero for best-guess
if j = 0
then begin
j := 7; // based on experimentation...
if Screen.PixelsPerInch < 118 then inc(j);
if Screen.PixelsPerInch < 108 then inc(j);
if Screen.PixelsPerInch < 101 then inc(j);
if Screen.PixelsPerInch < 91 then inc(j);
if Screen.PixelsPerInch < 81 then inc(j);
if Screen.PixelsPerInch < 63 then inc(j);
if Screen.PixelsPerInch < 50 then inc(j);
end;
Application.Font.Size := j;
http://andy.jgknet.de/oss/kylix/wiki/index.php/Qt_2.3.2_update
However with this version the UI is unable to display
some characters namely 'Ű' and 'Ő'.
Do you know any solution for it?
Maybe is there a way to influence the unicode portion of qt or clx?
No problems here.
Maybe it has to do with your system-settings.