Using FontViewerFontviewer
on the web FontViewer displays a list of all the fonts on your computer together with a given text in each of those fonts. Clicking checkboxes and sorting on the checkbox column lets you compare fonts to choose one for some purpose. Starting FontViewerFontViewer is deployed as a clickable jar file; double-click the file or its icon and FontViewer will start. It will show the default font category information. See the Advanced section below for creating your own categories. FontViewer WindowFontViewer looks like this. The orange labels identify the sections. Let's consider them in reverse order: table, top, and menu.
TableBy name, the columns are
Clicking a header sorts by that column. Dragging the headers will rearrange the columns. The scroll bar will scroll the text. Generating samples is slow, so the sample text column is not redrawn until you release the mouse button. TopAbove the table are three widgets:
MenuA rudimentary set of options are offered:
Usage: To choose a font
AdvancedSpecial Keys
Startup argument The FontViewer main program accepts one argument, the location of the category data. You can set this for any FontViewer icon by right-clicking the icon and choosing the "properties" option. Add a space and the parameter to the end of the Target field. For eaxample, with the added part in blue: C:\fred\tools\FontViewer.jar mycategories.txt The argument is not limited to a file name; a URI can be used instead. For instance, the default can be accessed as resource:fontcategories.txt or http://physpics.com/Java/apps/FontViewer/fontcategories.txt (the first is embedded in FontViewer.jar, but both have the same content). The "data:" URI scheme is implemented, but modifiers between the colon and comma are ignored. FontViewer may be started from a command line. If it is in directory ddd, the command would be java -jar ddd/FontViewer.jar argumentOmiting the argument uses the builtin categories. Usage: To create your own categoriesYou can invent your own font categories. To start with the defaults, use the File/SaveAs menu item to store the existing categories in a convenient location. Then supply that location as an argument to FontViewer, as described just above. Revise the categories by treating the category field as text. The usual text operations apply, including control-C for copy and control-V for paste. After revising the categories, click the File/Save option, your file will be updated with the new categories. IN addition, the categories are saved automatically every ten minutes and when the program exits. If you want to start with no pre-defined categories, create an empty file and provide it as the initial argument in the shortcut. Otherwise, reading a non-existent file is an error and startup will replace the error file with the builtin categories. EnjoySend comments to zweibieren@physpics.com. Copyright © 2012 Zweibieren, All rights reserved. |