What is Opcion Font Viewer?
Opcion Font Viewer is a Java based font viewer that allows you to view (un)installed TrueType fonts one or many at a time. Opcion Font Viewer provides a default view that allows you to view one font at a time, and a list view which allows you to view multiple fonts at a time. By clicking on fonts you like in the list view you are adding fonts to a favourites list that Opcion keeps for you. The favourites list can then be saved for future reference or used in finding out the file names of fonts you wish to install.

Features;
  • Viewing of installed/uninstalled fonts.
  • List view of installed/uninstalled fonts.
  • Adding/removing of favourite fonts.
  • Saving of favourite fonts.
  • Customizable sample/display text.
  • Customizable font size.
  • Customizable font properties (bold, italic, etc.) in sample text area.
  • Changeable fonts displayed per page in List View.

System requirements
  • Minimum JRE: 1.6.0 (tested with both versions 1.6.0 and 1.6.0ga5)
    Version JRE: 1.4.2 does not work and gives a "hs_err_pidxxx" error (file).


Opcion Font Viewer on an eComStation machine with Open JDK


Installing Opcion Font Viewer
Download Opcion_v1.1.1.jar. Make a directory/map with the name "opcion". Copy the jar file to the new created directory/map. That's all!

The used cmd file
Opcion Font Viewer works with Open JDK in OS/2-eCS. I have a opcion.cmd file with the following contents;
@echo off
SET BEGINLIBPATH=[drive: java]\JAVA160ga5\bin
SET path=[drive: java]\JAVA160ga5\bin
SET CLASSPATH= 
[drive: opcion]
cd [drive: opcion]\opcion
java -Duser.home=[drive: opcion]\opcion -jar Opcion_v1.1.1.jar 2>opcion-bugs.txt 
I use 2 separate folders (directories), one for Java and one for Opcion Font Viewer with the files created by this program. The references used in the cmd file;

  • [drive: java] = drive with Java
  • [drive: opcion] = drive with Opcion Font Viewer

should be replaced with real drive letters. Save the file and name it "opcion.cmd" or use the file from the distribution. This file is copied to the "opcion" folder(directory). Furthermore, different paths?, adjust according to your needs.
Create a new program object. Specify the path and file name: "[drive: opcion]\opcion\opcion.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 "Opcion Font Viewer".

Parameters / options explained
  • The statement "-Duser.home=[drive: opcion]\opcion" will ensure that Opcion Font Viewer will save all necessary files in own directory instead of saving them in the home directory.
  • The addition "2>opcion-bugs.txt" ensures that errors are saved in the file "opcion-bugs.txt". The 2 in "2>" is not a typo! File stays not empty on my system when I use a button for connecting with a browser.

Download
In the file you can find the above command files (all drive letters are on set to C:) and an OS/2 Opcion Font Viewer icon: opcion-ecs.zip.

revision May 19, 2017