Fonts the wrong size on one computer - Chart Control RRS feed

  • Question

  • I wrote most of this 10 years ago and it has been working fine on hundreds of computers, but for one just recently. The issue is that the fonts are too big when the chart is generated with `DrawToBitmap`. There may be some parameter I am not setting that I have not had to set before, but I don't know.

    This is what works on all other machines.

    But on this one new windows 10 machine. And I've checked the font sizes back from the control on this machine by writing to a log, it is correct. But the generated chart:

    The chart maker is a small app, managed c++.

    The editor is written in C# and looks fine on the machine in question:

    Is it me or is there something going on with this one machine?

    Thanks, Dan.

    Wednesday, August 1, 2018 5:56 PM


All replies

  • Try set "gdiScaling" in your manifest file to "false" and see if there's any change to the situation.
    • Marked as answer by lakeweb1 Thursday, August 2, 2018 10:57 PM
    Thursday, August 2, 2018 8:31 AM
  • Hi!

    So I figured out how to add to the manifest and put that gdiScaling in. But I forget to set the example in your link to 'false'. But with 'true' it fixed the problem!!!!

    I'm not going to tempt fate, it is fixed. Thanks for the heads up.

    Best, Dan.

    Thursday, August 2, 2018 11:01 PM