Jump to content
Software FX Community

CFX98: Font scaling solved


User (Legacy)
 Share

Recommended Posts

Hi,

Recently, I had a problem with font scaling when

the Chart FX Paint() method was used to produce

the zoomed output on display (or printed page

shrinked, let's say, to 50%). The problem was

that font sizes used by Chart FX were not scaled

proportionally to the rest of the chart.

Here is the working example which demonstrates

the solution on the display. The same painting code

can be used for a printer, independently on

the target device resolution.

The solution is described inside the source texts.

Any comments are welcome.

Petr

--

Petr Prikryl, SKIL s.r.o., e-mail: prikrylp at skil dot cz

Please, don't reply via e-mail.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...