This technical note recommends several techniques, including font adjustments and session window sizing, to optimize the appearance of host screens and printouts using Reflection for the Web.
In this note:
Java applets access fonts differently than native applications. In a Windows environment, this means that a limited number of font choices are available to the user, both for display and for printing. Attachmate has included several settings to achieve an optimal display using this reduced set of fonts.
To adjust the appearance of fonts for display, open a session window. On the Setup menu or on the shortcut menu of your session window, click Terminal, and select the Fonts tab. This section details the version-specific options available on the Fonts tab.
For information on adjusting the size of fonts, see the Optimizing the Display: Host Screen Size Adjustments section. For information on adjusting fonts for printing, see the Optimizing Fonts for Printing section.
The following options are available on the Fonts tab.
Select different fonts from the scrolling menu to see how they affect the display. The default font, RWeb, works well with most session windows close to 600 by 400 pixels.
The Font list contains all fonts made available by the Java Runtime Environment. In most Java 1.1 environments, only a short list of aliases to some of the fonts installed in your operating system will be available. In newer environments, most or all of the fonts installed in your operating system will be available. To add other fonts to this list, see the documentation for your web browser, Java Runtime Environment, or operating system.
Choose whether you want to have a font that scales automatically according to the size of the window, or a fixed point size.
Use this option to have the font resize according to the size of the window. You can specify a Minimum point size for this option. If the entire terminal screen cannot fit in the window using the minimum point size, scrollbars are available.
Specify the point size for the terminal window display. If the entire terminal screen cannot fit in the window using the specified point size, scrollbars are available.
This setting determines whether the display text will be anti-aliased (smoothed). The options are On, Off, and Default. When the Default setting is selected, the default anti-aliasing behavior of the Java Runtime Environment is used. Note that this default varies between JRE versions and operating environments.
If you have problems with the text display of the selected font using the Default option, On or Off may provide a better text display. In Reflection for the Web 2008, see the help topic, Use bitmap font for small sizes, for another display text option. Beginning in Reflection for the Web 2011, bitmap fonts are no longer supported; True Type fonts are supported and do not require this option.
When disabled (the default), characters are scaled vertically and horizontally to fill as much of the character cell as possible. When this setting is selected, characters will be of the largest size and proportions naturally supported by the selected font, but will not be scaled.
When disabled (the default), the display allocates as much space as possible to character cells regardless of the natural proportions of the selected font, and allocates the remainder to the margins. When this setting is selected, character cells are sized to fit the natural proportions of the selected font, with the remainder being allocated to the margins.
Note: For the highest quality display, disable both the Preserve character proportions setting and the Preserve character spacing setting. Enabling these settings may increase the performance of the display, but may also result in smaller characters, more white space between characters. wide margins, or spacing between rows.
When selected, a slashed zero is substituted for whatever zero is present in the selected font. If the font already uses a slashed zero, leave this option unselected for the best display. This option affects only the terminal window and has no effect on printing.
In some environments, fonts may become unreadable at smaller sizes. When this option is selected, a bitmap font is used when the text on the screen becomes smaller than a predetermined minimum size. This setting may improve legibility, particularly in environments without effective text antialiasing.
Note: Beginning in Reflection for the Web 2011, bitmap fonts are no longer supported. True Type fonts are supported and do not require the bitmap font display text option.
Reflection for the Web (all versions listed in the Applies To section) scales the host output to fit the area in which it is displayed. When you adjust the size of the display area, Reflection automatically resizes the fonts in the display window.
Or, you can choose to use a fixed point size instead. See the Font Size section under Font Settings in Reflection for the Web.
To control the resizing behavior, follow the suggestions that apply to your session's configuration.
You can resize the display temporarily or permanently.
To temporarily resize the display, simply adjust the size of the session window. An end user can drag the borders of a session window to resize it. This procedure must be repeated each time the session is launched unless the setting is saved to the local preference file.
Note: This setting can be saved only if the administrator configured the session to allow users to configure and save their own settings.
Reflection for the Web scales a browser-embedded session window to dimensions specified in the session applet.
You can also modify the size or clarity of a Reflection session window by changing the resolution of your desktop. In general, lower resolution values enlarge the host screen but may decrease the clarity of the display. Higher resolution values reduce the size of the host screen but may make the display clearer.
The font used for printing is set differently from the font used for display. Font performance for printing can vary greatly depending on your system configuration. The following variables can affect the appearance of printed text:
The sections below discuss optimizing the appearance of fonts when printing from Reflection for the Web.
The font setting used for display has no effect on the font used for printing. Resolutions used in printing are usually much larger than those on the terminal display.
To select a font for printing:
In versions 8.0 9.x, the RWeb font is not the best choice for printing; it is optimized for terminal display.
The options for sizing a printing job in Reflection for the Web include scaling and row/column adjustments. Specific information about font sizing in IBM printer emulation sessions are addressed in the last section .
Scaling is used to manually increase or decrease the size of your printout. To use scaling (in any aforementioned version), click File > Page Setup > Page Options.
Use the percentage fields to increase or decrease the size of your printout. To change the size of your printout proportionately, enter the same percent value in each field. After changing values,
To print a test page: Click File > Print Setup. Choose your printer destination, and click the Print Test Page button.
Note: If a line of text becomes too long to fit on the page, it will not wrap to the next line. Instead, it will simply be truncated. This occurs because scaling is a direct magnification or reduction of the printout. To increase the size of a printout in a manner that is similar to changing the point size in a text editor, use the row/column adjustments described next.
To adjust the point size of a printout: Click File > Page Setup, and click the Page options button.
The default values of 60 rows per page and 80 columns per page produce approximately 10-point type on letter-size paper. To increase the point size, decrease the values. To decrease the point size, increase the values.
Note: To enlarge or reduce text proportionately using row and column adjustments, enter proportionate values in the Rows and Columns fields. For example, reducing Rows to 30 and Columns to 40 should produce well-proportioned, double-sized text compared to the defaults of 60 and 80.
In IBM printer emulation sessions (for example, session types "3270 printer" and "5250 printer"), font sizing can be more complex.