NB: This article is on Boyum Screens looking incorrectly. For incorrect placements on SAP Screens please check out the following other articles:
Q: What is the problem?
A: If you are running a higher font-size than normal 10 pixel Tahoma (or sometimes changing the font type) you might see smaller or bigger display issues like this on the Boyum Configuration screens:
(where the field for SQL condition cover up the matrix below) [This is a sample - other windows can also be affected]
Q: Why does this happen?
A: First up, if you see a screen like this and you have just set the new font-size. If you have that is the most like like reason (due to some caching in the SDK and B1UP), so please restart the SAP Business One client.
(As you can see, after restart things are more properly scaled)
Q: I've restarted but things are still not perfect. Why?
A: It all comes down to the fact that SAP Business One SDK was not created with the font-size change and high DPI settings in mind (back in 2004). It is an afterthought and result of that is that font-scaling is technically not really officially supported. (It is all a trick by SAP and Boyum to make it work anyway (Very similar to Microsoft's struggle to get Windows working in High DPI settings)). So while most of the tricks we apply there will always be irregularities when working with font-sizes other than standard (Tahoma 10)
Q: The imperfections are still too big in my scenario (fields are impossible to use). What can I do?
A: First, if you have major irregularities please send us a support-message on the issue so we can check if it is a mistake on our end. [Example in the case above even after a restart, the SQL fields was a bit to high so we tweaked the code a bit so it fits better from next release (version 2018.02)]
Should that not be the case you can try to disable the SAP font-size scaling. This setting is on by default in Boyum Add-ons but can be turned off for the reason that it again can't resolve perfectly in 100% cases. Here are the steps to turn off Font-size scaling:
1- Do an XML Reset
2- Close down SAP Business One client
3- On the Microsoft Windows desktop create a new text file called "DISABLE_FONT_SCALING.txt" (The file should have no content)
4- Go to the B1UP installed folder (Example: C:\Program Files (x86)\SAP\SAP Business One\AddOns\BOY\B1 Usability Package) and copy/paste the file from the desktop in there
5- Start SAP Business One and Boyum Add-on Again
The result of this process is that the Boyum Add-on will not try to do any font-scaling and while not as pretty to look at compared to font-scaling this is the way there are the least side-effects of the scaling