# Convert font file formats — `fontcomp.exe`

## Contents

- Purpose
- Command line syntax

### Purpose

The purpose of `fontcomp` is to convert a font in EFF version1 or version 2, or FSC format, to EPOC GDR font file format.

### Command line syntax

  `fontcomp` source-file dest-file [ `/e` [ mapfile ] ] [ `/f` ]

For information about how to interpret the syntax, see BNF grammars.

##### Arguments

source-file | Source file to be processed.
dest-file | The file to be created (GDR format)
`/e` | Source file is in EFF format (default).
Mapfile | Used for alternative character sets (source file EFF format only)
`/f` | Source file is in FSC format

#### Source font file formats

Source files for the `fontcomp` tool can be in either FSC or the EFF format.

The production of both ANSI1 and ANSI2 (ISO LATIN1 and ISO LATIN2) fonts from a single EFF source-file is possible if two mapfiles are supplied by EFF. The `fontcomp` tool is then run twice - once using each mapfile.