Welcome to the Bartels Group of Companies
FONTCONV - Deutsche Version FONTCONV - English Version
Bartels

Bartels System GmbH
Bartels
Bartels AutoEngineer
BAE Product Info
BAE Price List
BAE Downloads
BAE Documentation
BAE Installation Guide
BAE User Manual
Preface
1 Introduction
2 Circuit Design
3 Packager
4 PCB Design
5 IC/ASIC Design
6 Rule System
7 Utilities
7.1 BAEHELP
7.2 BAESETUP, BSETUP
7.3 BICSET (IC Design)
7.4 BLDRING (IC Design)
7.5 CONCONV
7.6 COPYDDB
7.7 FONTCONV
7.8 FONTEXTR
7.9 INSTALL
7.10 LISTDDB
7.11 LOGLIB
7.12 NETCONV
7.13 REDASC
7.14 RULECOMP
7.15 ULC - User Language Compiler
7.16 User Language Interpreter
7.17 USERLIST
7.18 VALCONV
BAE Libraries
User Language Programmer's Guide
BAE Update History
BAE Next Version Release Notes Preliminary
BAE V8.0 Release Notes
BAE V7.8 Release Notes
BAE V7.6 Release Notes
BAE V7.4 Release Notes
BAE V7.2 Release Notes
BAE V7.0 Release Notes
BAE V6.8 Release Notes
BAE V6.6 Release Notes
BAE V6.4 Release Notes
BAE V6.2 Release Notes
BAE V6.0 Release Notes
BAE V5.4 Release Notes
BAE V5.0 Release Notes
BAE V4.6 Release Notes
BAE V4.4 Release Notes
BAE V4.2 Release Notes
BAE V4.0 Release Notes
BAE V3.4 Release Notes
BAE Support
BAE Contributions
BAE Development and Service Companies
Electronics Development
Bartels Sport Service
Company Profile
Corporate Info
Bartels :: Bartels AutoEngineer :: BAE Documentation :: BAE User Manual :: Utilities :: FONTCONV
Bartels AutoEngineer® - User Manual

7.7 FONTCONV

Bartels AutoEngineer® Dokumentation

Name

fontconv - Font Conversion Utility

Synopsis

fontconv fontfile libraryfile

Description

The fontconv utility program compiles standard ASCII format vector font data into a Bartels AutoEngineer font file.

fontconv accepts the font description file fontfile as first argument. This file must have an extension of .fon but this extension must not be included with the command line.

fontconv accepts the layout library file name libraryfile as second argument. This file must have an extension of .fnt but this extension must not be included with the command line. fontconv stores the translated font data to libraryfile.

The Bartels AutoEngineer standard font library file is named ged.fnt. This file is stored to the BAE programs directory and contains the font(s) used by the AutoEngineer.

Input File Format

The font description file must start with the FONT command (for defining the name of the font) and must end with the keyword END.. Commentary text can be placed between /* and */. The font description file is structured according to

FONT <fontname>;
CHAR <ord>;
        POLY (0, 0), (10, 10), (10, 0) ;
        :
:
END.

where <fontname> is the name of the font to be created, and where <ord> is the ordinal ASCII number of the character (e.g., character A would be number 65). The valid value range for <ord> is 0..255. If the font description file contains multiple character definitions for the same <ord> value, then fontconv stores only the last of these definitions. Each character (CHAR) is defined by a list of polygon lines (POLY). Each polygon definition consists of a list of polygon corner point coordinates. The coordinates must be specified in positive integer units in a 32x48 point grid area. The [0,0] coordinate refers to the left bottom corner of the grid area. The valid value range for X coordinates is 0..31, and the valid value range for Y coordinates is 0..47. Each character definition can have a maximum of up to 32 corner points.

Examples

Font description file test.fon containing definitions for ! and " (with 4 corner points and 2 polygons each):

/* Library font name */
FONT test;
/* ASCII code 33 for '!' */
CHAR 33;
        /* Lower vertical line */
        POLY (16,5),(16,9);
        /* Upper vertical line */
        POLY (16,13),(16,45);
/* ASCII code 34 for '"' */
CHAR 34;
        /* Left line */
        POLY (12,40),(4,32);
        /* Right line */
        POLY (16,32),(24,40);
END.

The font description file listed above can be transferred to the font library file ged.fnt by applying fontconv as in

>  fontconv test ged Return/Enter Key (CR)

Files

ged.fnt -- BAE font library file (in BAE programs directory)

See also

fontextr

Diagnosis

The error messages issued by fontconv are intended to be self-explanatory.

Warnings

fontconv overwrites existing fonts in the destination file without any comment.

Bartels :: Bartels AutoEngineer :: BAE Documentation :: BAE User Manual :: Utilities :: FONTCONV

FONTCONV
© 1985-2024 Oliver Bartels F+E • Updated: 26 January 2007, 17:23 [UTC]

© 1985-2024 Oliver Bartels F+E Bartels Homepage Contact and Corporate Info

Web Development by Baumeister Mediasoft Engineering

FONTCONV - Deutsche Version FONTCONV - English Version