Login Page - Create Account

Support Board


Date/Time: Fri, 01 Mar 2024 21:08:35 +0000



[Sticky] [Locked] - Changes to Font Size Handling within Sierra Chart

View Count: 2495

[2023-08-14 14:08:10]
Sierra_Chart Engineering - Posts: 13043
Starting with newer versions of Windows we think around Windows 8, Windows seems to randomly change the DPI value (dots per inch) for monitors in real time without user intervention. Or perhaps when a system is restarted. Or when monitors are connected and disconnected.

When you select a font through the font selector window in Sierra Chart, you also choose what is called the "Point Size". This point size, for example 10, is not actually returned as 10. What is returned is a "Character Height" in logical units and is a negative number. So if you choose 10 what the operating system may return is: -17. The actual return value depends upon the dots per inch (DPI) setting in the operating system for the monitor.

When you choose a font, the operating system returns this structure:
https://learn.microsoft.com/en-us/windows/win32/api/wingdi/ns-wingdi-logfonta

Sierra Chart permanently stores these structures, for all of the different available font settings.

The problem is, when the DPI setting on the system randomly changes or you share a Chartbook a point size selection for example of 10 can look very different. It could start to look very small or perhaps a very large.

So there is no consistency or stability, with fonts even though you have selected a point size and that should generally look the same across displays and printers, so long as the physical actual size of the display or printer is about the same.

We are going to release a new version of Sierra Chart where this font height in logical units is translated back to the Point Size. That is what will be permanently stored.

That is how Sierra Chart internally will work with fonts and then on the fly, when a font is created, we will transform this point size back to the logical height. This calculation is based upon the particular window the font is displayed in and therefore the current DPI setting will be used.

This should bring stability back to fonts, which was lost after Windows 7.

This change is going to cause a problem where Chartbooks and global configurations which hold font information, saved in newer versions of Sierra Chart supporting this change and then used in an older versions, will have the fonts appear very small.

The solution is that a user receiving a Sierra Chart global configuration file or a Chartbook when using an older version that does not support these changes, will just need to update to the current version.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2023-08-14 21:16:07
[2023-08-14 21:11:49]
Sierra_Chart Engineering - Posts: 13043
This is now released in prerelease version 2536. Which is available now:
Software Download: Fast Update
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2023-08-14 21:11:58
[2023-09-12 22:45:56]
Sierra_Chart Engineering - Posts: 13043
We were looking through the sticky threads to include this, since we did not want to start a new one, and this seemed like maybe the closest matching one.

To eliminate, poor performance with Sierra Chart caused by the Windows operating system GUI related behaviors, use the following attached settings in:
Control Panel >> System >> Advanced System Settings >> Performance >> Visual Effects .

Adjust for Best Performance

You will also want to disable the paging file and add more memory to your system. Make sure you have sufficient memory on your system before disabling the paging file.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2023-09-12 22:50:37
imageDisableWindowsVisualEffects.png / V - Attached On 2023-09-12 22:49:16 UTC - Size: 10.29 KB - 240 views
[2023-09-19 16:46:18]
Sierra_Chart Engineering - Posts: 13043
If you have any problems with fonts in Sierra Chart, update to the current version , 2549 or higher:
Software Download: Fast Update

And if there still is an issue reset the font sizes through Global Settings >> Graphics Settings >> Fonts.

Refer to:
Graphics Settings: Fonts and Text Appearance
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account