Hi,
I'm Using TeeChart 7 Pro.
My client application, on windows, allow to set chart properties.
Next, charts are rendered by my server application (on windows or on Linux using a X server : xvfb).
When Charts are rendered on windows no matter, but when they are rendered on Linux, I encountered a problem with Fonts Size.
This problem appears whatever Fonts name or Style I use, but only with Font.Size = 8
This image illustrate my talk :
I suspect this problem not directly depends on Teechart, but rather to differences beetwen Graphics.TFont and QGraphics.TFont.
Did you already encounter this problem or have you an idea to skirt it ?
Thanks.
Question about Font Size, Delphi7 / Kylix3
Re: Question about Font Size, Delphi7 / Kylix3
Hi,
for those who will encounter my problem one day, I post the solution I've found.
In TeeConst.pas :
TeeMsg_DefaultFontSize :={$IFDEF LINUX}'10'{$ELSE}'8'{$ENDIF};
When storing chart under windows, if (font.size=8), property is not stored, because := default
When loading chart under Linux, defaut =10 so that is the problem.
I've changed :
TeeMsg_DefaultFontSize :={$IFDEF LINUX}'8'{$ELSE}'8'{$ENDIF};
Regards.
for those who will encounter my problem one day, I post the solution I've found.
In TeeConst.pas :
TeeMsg_DefaultFontSize :={$IFDEF LINUX}'10'{$ELSE}'8'{$ENDIF};
When storing chart under windows, if (font.size=8), property is not stored, because := default
When loading chart under Linux, defaut =10 so that is the problem.
I've changed :
TeeMsg_DefaultFontSize :={$IFDEF LINUX}'8'{$ELSE}'8'{$ENDIF};
Regards.