Jump to content
Software FX Community

Problem with font size


User (Legacy)

Recommended Posts

Hi,

here's a sticky one for you.

In the chart I'm creating I want to display the DataTable object as large as

possible and have it fit on the page

So I've bumped the font size as large as I can and still have it fit

When I move the code from my development machine to the production server

the table doesn't fit the page

When I view the two charts side by side the fonts are clearly not the same

development machine is Win2k Pro

production machine is Win2k Server

ChartfxIE 5.5

I'm generating the charts as .png files

Ideas???

Dave

Link to comment
Share on other sites

No, I went and looked at the font on both machines and made sure the files

were the same size and same timestamp

here's my code

ChartFX1.DataEditor = bDisplayData

ChartFX1.DataEditorObj.Docked = TGFP_BOTTOM

ChartFX1.DataEditorObj.AutoSize = True

ChartFX1.DataEditorObj.SizeToFit

ChartFX1.DataEditorObj.font.Name = "Arial"

ChartFX1.DataEditorObj.font.Bold = true

ChartFX1.DataEditorObj.font.Size = g_lDataTableFontSize

ChartFX1.DataEditorObj.BkColor = RGB(&HFF, &HFF, &HFF)

ChartFX1.DataEditorObj.BorderStyle = BORDER_RAISED

I played around with the autosize and size to fit options without any

success

I'm taking the .png files and embedding them in pdf file

I've attached one from each machine for comparison

what I'm after is trying to get the numbers in the table a big as possible

"SoftwareFX Support" <support@softwarefx.com> wrote in message

news:EtQXpknWCHA.3136@webserver1.softwarefx.com...

> What font are you using ? maybe the font is not installed in one of the

> computers and this is defaulting to the default system font or a "similar"

> font.

>

> --

> FP

> Software FX, Inc.

>

>

Link to comment
Share on other sites

It was the font size being different on the two machines

That was kindof a head scratcher

Thanks

Dave

"SoftwareFX Support" <support@softwarefx.com> wrote in message

news:W#Cx24qWCHA.976@webserver1.softwarefx.com...

> How about Large Fonts being set in one server and Small Fonts set in the

> other ? How about resolution on both servers ?

>

> --

> FP

> Software FX, Inc.

>

>

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...