Question & Answer
Question
In different client workstation environments running IBM i Access Client Solutions (IBM i ACS), particularly where the Java version changes, why does the text alignment in the 5250 session sometimes change?
Cause
The IBM i Access Client Solutions (IBM i ACS) 5250 emulator is not directly responsible for the alignment of the the individual characters when a string of text is written to the display. IBM i ACS provides Java statistics about the screen location to write the string to, and the full string of text to write. Java decides where to place each character and what font sizing to use. This is why differences are sometimes seen when the same IBM i ACS version is used with different versions of Java, because Java is responsible for this behavior.
Answer
As described previously, the IBM i Access Client Solutions (IBM i ACS) 5250 Emulator does not have direct control of this behavior, so any code changes address this would have to be pursued with the Java provider.
This behavior is usually only seen when the IBM i ACS 5250 emulator is set to enable Font Scaling. When Font Scaling is enabled, Java will make incremental changes to the font character sizes being used to try and fill more of the available screen size. While this still happens when Font Scaling is not enabled, it happens at more defined font size specification.
Changing to a different font may also help with this problem as Java makes dynamic font calculations based on how each different font defines characters.
[{"Business Unit":{"code":"BU070","label":"IBM Infrastructure"},"Product":{"code":"SSRQKY","label":"IBM i Access Client Solutions"},"Component":"5250 Emulation","Platform":[{"code":"PF012","label":"IBM i"}],"Version":"All Versions","Edition":"","Line of Business":{"code":"LOB66","label":"Technology Lifecycle Services"}}]
Was this topic helpful?
Document Information
Modified date:
29 August 2022
UID
ibm10888563