What is Font Viewer?
Font Viewer is a simple utility written in Java which shows how text will appear when loading some font. There are two screens, one for showing own text with different colours for text and background and one for showing what characters are in the font. There are more ways for choosing the color, in the picture you can see clearly Dutch text, so it uses some parts of the OS.
Installing Font Viewer
Download FontViewer_0_6_1_binaries.zip. Make a directory/map with the name "fontviewer". Open the zip file and copy everything to the new directory "fontviewer". That's all!
The used cmd file
Font Viewer works with Open JDK in OS/2-eCS. I have a fontviewer.cmd file with the following contents;
@echo off set BEGINLIBPATH=[drive: java]\JAVA160ga5\bin set path=[drive: java]\JAVA160ga5\bin [drive: fontviewer] cd [drive: fontviewer]\fontviewer java -Duser.home=[drive: fontviewer]\fontviewer -jar fontviewer.jar 2>fontviewer-bugs.txtI use 2 separate folders (directories), one for Java and one for Font Viewer with the files created by this program. The references used in the cmd file;
should be replaced with real drive letters. Save the file and name it "fontviewer.cmd" or use the file from the distribution. This file is copied to the "fontviewer" folder (directory). Furthermore, different paths?, adjust according to your needs. Create a new program object. Specify the path and file name: "[drive: fontviewer]\fontviewer\fontviewer.cmd". In the tabpage Session check the boxes "OS/2 window", "Running as an icon" and "Close Window to end program". In the tabpage General you can enter the name "Font Viewer".
Parameters / options explained
In the file you can find the above command files (all drive letters are on set to C:) and an OS/2 Font Viewer icon: fontviewer-ecs.zip.
revision August 16, 2016