Troubleshooting
Why a Comfort Panel seems to scale fonts set in TIA Portal
Short answer
A Comfort Panel applies no scaling to the fonts a TIA Portal project sets, and it offers no scale setting to change. The size difference is authored in: Windows display scaling at 125% on the engineering PC enlarges the editor's text metrics, and a hypervisor display option can add a second factor. Set Windows Scale to 100%, sign out and back in, disable the VM scaling option, recompile completely and download.
On this page
- Why the panel has nothing to scale
- Sort the cause before editing the project
- How Windows display scaling reaches the compiled project
- Fixing the scale on the engineering PC
- Worked example: a 12 pt label authored with the PC at 125%
- Checks that confirm the fix
- Pitfalls that keep the problem alive
- The decision
- Questions asked
Your TP2200 is not scaling anything. A Comfort Panel has no font-scale setting to find — its display properties are brightness and orientation, nothing more — and the runtime draws the compiled project exactly as it was built. The size change is authored in on the engineering PC. Windows display scaling above its default — 125% in the reported case — enlarges the text the TIA Portal editor measures and lays out, and a hypervisor display-scaling option can multiply that again, so screens sized on that PC carry geometry the panel never reproduces. Set Windows display scaling back to 100%, sign out and back in, switch off the virtual machine's scaling option, restart TIA Portal, recompile completely and download. The sections below separate panel-side from PC-side causes, work the points-to-pixels arithmetic, and give the checks that confirm the fix.
Why the panel has nothing to scale #
A Comfort Panel runs Windows CE, and Windows CE has no desktop-style display-scaling percentage. The display properties the device offers are brightness and orientation; the brightness control lives in Start Center > Settings > Display, and that is the whole list. A font size stored in the project is what the runtime receives, and it renders that text on the panel's fixed pixel grid without applying a factor of its own. That is why the effect survives power cycles, project downloads and runtime restarts: nothing on the device holds a scale. Whatever changes the size happens upstream of the download — on the station that drew the screens, or in the project data itself. Siemens documents the same mechanism in its support entry on fonts and objects shown shifted on a PC runtime system or operator panel.
Sort the cause before editing the project #
Compare the same text field in the editor, in simulation and on the panel, then switch through the project languages, and the origin falls into one of these cases:
- The editor draws text larger than the size entered, and the panel matches the editor. Windows display scaling, or hypervisor scaling, on the engineering station. Read Scale under Settings, System, Display and check the hypervisor's guest display option.
- The editor at the default scale and the panel still disagree. The project stores a different font or size for that field. Correct the font property, not the operating system.
- Only one runtime language shows the odd size. A font assigned to that language in the runtime settings; display scaling shifts every language equally. The article on why Korean text fails to display on a Comfort Panel shows where a per-language font is set and what it changes.
- Text and objects sit shifted on a PC runtime station but not on the panel. Display scaling on the runtime PC — a panel has no such setting to remove.
- The guest reads the default scale, but the VM window still enlarges text. The hypervisor is scaling on top of the guest, and the two factors multiply.
How Windows display scaling reaches the compiled project #
Windows display scaling multiplies the logical pixel grid the editor works on. The default scale corresponds to 96 DPI, and 125% corresponds to 120 DPI; each step above the default raises the pixels a glyph occupies in the same proportion. A font size in points converts to on-screen pixels as pixels = points x DPI / 72, because a point is 1/72 inch and DPI is pixels per inch. TIA Portal draws and measures text in the screen editor with the workstation's metrics, so a field sized, auto-sized or aligned while the PC runs enlarged carries geometry derived from that rendering. The panel then renders the compiled result on its own fixed pixel grid without the factor, and the text looks rescaled inside its field although the panel applied nothing.
A virtual machine adds a second layer. If the hypervisor scales the guest display while the guest Windows applies its own percentage, the effective factor is the product of the two — a value no single settings page shows. That is why the guest's Scale value alone did not explain the reported case until the hypervisor option was switched off.
If the default scale is unworkable on a high-resolution monitor, Siemens documents that TIA Portal adapts to scaling of up to 350 percent, with a "User-defined scaling" area in the "Advanced Scaling Settings" dialog for higher values. Keep the scale the team needs, and rerun the verification below after every change of factor.
Fixing the scale on the engineering PC #
- Record a baseline. Pick one reference text field, note its font name, font size and field width, and capture the editor screen and the panel screen at 1:1.
- On the engineering PC, open Settings, then System, then Display, and set Scale back to the default. Sign out and back in afterwards: the DPI value applies per session, and applications already running keep the old metrics until the session restarts.
- If TIA Portal runs in a virtual machine, switch off the hypervisor's display-scaling option for the guest, then read the Scale value inside the guest and check the scale of the host monitor that shows the VM window.
- In the device's runtime settings, compare the font assigned to each project language, and align them or keep the difference deliberately.
- Restart TIA Portal and reopen the project, re-check the reference field against the baseline, and correct any field whose width, auto-size or alignment was set while a higher factor was active.
- Recompile the device software completely and download it to the panel.
Worked example: a 12 pt label authored with the PC at 125% #
Inputs. Font size: 12 pt, entered in a text field's font property — an example label size. Engineering PC scale: 125%, the reported value. DPI basis: the default Windows scale corresponds to 96 DPI and 125% to 120 DPI.
Rule. A font size in points converts to on-screen pixels as pixels = points x DPI / 72: a point is 1/72 inch, and the scale sets how many pixels sit in one inch.
Arithmetic. At the default scale, 12 x 96 / 72 = 16 px. At the enlarged scale, 12 x 120 / 72 = 20 px. The editor draws that label's glyphs 20 - 16 = 4 px larger, a factor of 20 / 16 = 1.25.
Result. The screen editor measures and auto-sizes the field against 20 px glyphs, while the compiled project still requests 12 pt and the panel renders it at its own fixed metrics — the 16 px equivalent — so the geometry authored around that text is one quarter oversize.
Decision. The panel applies no scaling and has nothing to correct; the threshold is the default scale. Restore 100%, sign out and back in, restart TIA Portal so it re-reads the DPI, recompile completely and download, then re-check every field sized under the higher factor. The proportionality runs both ways: at a scale of 150% the DPI is 144 and the same font draws as 24 px, half again.
Checks that confirm the fix #
- The Scale control reads the default, 100%, after the sign-out. Any higher value leaves the cause in place.
- The reference field's font name and size match the baseline after the restart. A mismatch means the project itself stores a different value, to be corrected in the project, not in the operating system.
- The complete recompile finishes without errors.
- On the panel, the reference text sits inside its field with the same proportions as in the editor: no clipping, no extra margin the editor does not show.
- Each runtime language renders the reference field at the same size, unless a font was assigned to a language deliberately.
- After a panel power cycle, the rendering is unchanged, which rules out a device-side setting.
Pitfalls that keep the problem alive #
- Hunting on the panel. There is no scale setting in Windows CE, so time in the panel's own settings pages is spent on the wrong device.
- Compensating per object. Shrinking fonts on individual objects to match the panel bakes the workstation error into the project; every correctly scaled station then shows the wrong size.
- Mixed engineering stations. One editor above the default and another at it produce different geometry from the same project; agree on one scale factor for everyone who edits screens.
- Remote sessions and monitor mixes. Moving a window between monitors with different scale factors changes the effective DPI; restart TIA Portal after such a change.
- Judging by zoomed screenshots. Compare the panel against a 1:1 capture or the editor itself, not an enlarged viewer image.
The decision #
Decide it in this order: correct the station, rebuild, and only then judge the panel. After a clean recompile and download, the editor at the default scale and the panel must agree on the reference field. If they still disagree, the difference is in the project data, and the font property of the object — or the font assigned to a project language — is where it hides.
Questions asked
How do I change font scaling on a Comfort Panel?
You cannot change it on the panel. The Comfort runtime exposes only brightness and orientation in its display settings and applies no scale factor to compiled fonts. Correct the Windows scale on the engineering PC instead, sign out and back in so the session picks it up, then recompile the project completely and download it again.
How do I confirm Windows display scaling is the cause?
Open Settings, then System, then Display on the engineering PC and read the Scale value. The default corresponds to 96 DPI, and every step above it enlarges the editor's text by that proportion, so a field sized at a higher factor inherits oversize geometry. Change the value, sign out and back in, restart TIA Portal and compare the reference field against the panel.
How do I stop a hypervisor from scaling fonts in a TIA Portal virtual machine?
Switch off the guest display-scaling option in the hypervisor's settings, then read the Scale value inside the guest as well. The two factors multiply: a guest set to 125% under a hypervisor that scales by the same amount renders text as if at about 156%, which no single settings page shows. Restart TIA Portal in the guest so it re-reads the DPI.
Why does the screen look correct in simulation but wrong on the panel?
Simulation runs on the engineering PC, so it inherits the same scale factor the editor used to lay out the screen; editor and simulation agree on the oversize geometry. The panel renders the compiled result without that factor. Once the scale is corrected and the project rebuilt, simulation and panel match again.
How do I tell whether per-language fonts explain the size difference?
Switch the runtime language on the panel or in simulation and compare the same text field in each language. Display scaling shifts every language equally, so if only one language differs, the project assigns a different font to that language in its runtime settings. Align the fonts or keep the difference deliberately, then recompile.