Changing the font size in Client displays

From m204wiki
Jump to navigation Jump to search

The Client configuration file (debuggerConfig.xml) has an optional XML element <fontScale> with which you can specify a larger font size than the default for Client displays. Your font scale changes are applied to the user data contained in these  windows:

  • Audit Trail, Web Buffer, Execution Trace (tabbed or external)
  • Source Code (including Daemon) tabs
  • Watch Window (including external)
  • Execution History (tab or separate window)
  • Console (macro and command output)
  • Value (value displays, object and list expansions, records and field groups)
  • Help menu information options (About, Keyboard Shortcuts, Commands)

Debugger scaling is applied after any scaling by Windows if you are running with a non-standard DPI.

To scale the font size

1. Specify the <fontScale> element at the root level in the debuggerConfig.xml file. For example:

<debuggerConfig version="1.0"> 
   <fontScale>2.5</fontScale> 
   ...
</debuggerConfig> 

The scaling value you specify may be from 1.00 to 9.99 (with 0, 1, or 2 decimal digits). The value is the factor by which the default apparent font size is multiplied and scaled accordingly. A value of 1 leaves the default font size unchanged; a value of 2 doubles it.

2. Save your change and restart the Client. If your fontScale value is valid and not 1, the Client Audit Trail display will resemble the following:

... 08:18:30    Executable: C:\debugger\ClientSource\bin\JanusDebugger.exe  ... 08:18:30    Executable date: 9/27/2010 4:10:51 PM  ... 08:18:30    Font Scale: 2.5