(anonymous IP: 18.117.172.189,352) | ||||||||||||||
| ||||||||||||||
Audio (96) Datatype (15) Demo (50) Development (247) Document (62) Driver (19) Emulation (62) Game (529) Graphics (224) Library (22) Network (62) Office (21) Utility (250) Video (18) Total files: 1677 Full index file Recent index file Part of aros exec |
[Show comments] [Show snapshots] [Show videos] [Show content] [Replace file] AROS port of ViewISO - a TrueType font viewver. Source code included. Original README --------------- ViewISO 1.1 - TrueType font viewer ViewISO is a program designed for viewing ISO-8859 charsets using TrueType Unicode fonts. It can be useful to check if a TrueType font contains glyphs for given charset. On the other hand you can see how some exotic glyph looks like. ViewISO requires MUI and TTEngine installed. -------------------------------------------------------------------------------- New in version 1.1. - ARexx command 'LoadFont'. - 'Load' button. - Accepts font name as a commandline parameter. - Serious memory leak fixed. -------------------------------------------------------------------------------- Running from Shell. ViewISO (opens filerequester to select font file) ViewISO [fontname] (loads and displays given font) If ran from Workbench, always pops filerequester. ------------------------------------------------------------------------------- Gadgets. Encoding cycle gadget selects one of 8-bit ISO-8859 encodings. ISO-8859-1 (Western Europe) is the default. 'Upper half' toggle button switches displayed characters range. When not pressed, characters of codes from 32 ($20) to 127 ($7F). When pressed, characters of codes from 160 ($A0) to 255 ($FF) are displayed. Note that lower half of all the ISO-8859 charsets is always the same. 'Load' button opens up a filerequester to load another font. -------------------------------------------------------------------------------- ARexx port. ViewISO has an ARexx port (as every MUI application does). It accepts all standard MUI commands and a custom one named 'LoadFont', which loads a font of name given as a parameter. Here is an example of usage: ADDRESS 'VIEWISO.1' LoadFont 'FONTS:MyTTFonts/SomeExcellentFont.ttf' -------------------------------------------------------------------------------- Using ViewISO with filemanagers. Thanks to its ARexx port ViewISO can be perfectly used as a TrueType font viewer. 'loadfont.rexx' script is specifically designed for this purpose. It checks if ViewISO is running, runs it if not and load a font given as a parameter to the script. Below you can find step by step instruction how to set up ViewISO as TrueType font viewer in DirectoryOpus Magellan. After the setup you can view TT fonts just by clicking them in a lister. 1. Prepare TT font filetype. a. Open filetype window (from menu 'Settings/Filetypes'). b. Click on 'Add' button. c. In the class definition window add following filetype recognition statements: 'Match Name #?.ttf', 'And', 'Match $0001000000??????00??00'. d. Give the name and ID to the filetype. e. Click 'Use' button. 2. Specify double-click action for the filetype. a. In the class actions window double click on 'Double-click' item in the left listview. b. In the action window click 'Add', change action type to 'ARexx' and enter 'S:loadfont.rexx {f}'. Note you do not need to keep the script in 'S:'. Give your path if you place the script elsewhere ('DOpus5:Rexx' for example may be a good alternative). c. Click 'Use', then 'Save' in the main filetype window. 3. Specify a path to ViewISO in the script. a. Load the script into your favourite text editor. b. In line 5 of the script enter the path to ViewISO executable (default is 'SYS:Utilities/ViewISO'. c. Save the modified script. Now you can doubleclick on some TT fonts in a Magellan lister. NOTE: The script is not prepared specifically for OpusMagellan. It can be used with any filemanager allowing running ARexx scripts, be it DiskMaster, Opus4, RO, or Workbench 3.9 DefIcons. -------------------------------------------------------------------------------- Contact with the author. You can send notes, remarks, bugreports to Grzegorz Kraszewski <krashan()matay.pl> -------------------------------------------------------------------------------- - |
Copyright © 2005 - 2024 The AROS Archives All Rights Reserved |