---
name: "ttx2xgf"
section: "1"
platform: "linux"
package: "xgridfit"
version: "2.3-7"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/ttx2xgf"
---

# ttx2xgf(1)

extracts instructions from a TTX file and creates an Xgridfit program.

## NAME

**ttx2xgf** - extracts instructions from a TTX file and creates an Xgridfit program.

## SYNOPSIS

**ttx2xgf \[options\]** *infile\[.ttx\]* *\[outfile\]*

## DESCRIPTION

**ttx2xgf** is a utility that extracts instructions (hints) and other information relating to instructions from a TTX file (an XML representation of a TrueType font) and creates a new Xgridfit program.

If *infile* lacks the *.ttx* extension, it is assumed. If *outfile* is not given, output is written to *infile.xgf.*

## OPTIONS

- \--config

  Path to a configuration file (relative paths are permitted). If this is not given, ttx2xgf will look first for a file *config.xml* in the current directory, next in the user's Xgridfit configuration directory, and finally in the Xgridfit base directory.

- \-e

  Display diagnostic messages (for debugging).

- \-E, --elapsed-time

  Time the running of this program and display the result.

- \--processor=libxslt\|lxml\|xsltproc\|saxon-6\|saxon-9\|xalan-j\|xalan-c\|4xslt

  Select a preferred XSLT processsor; ttx2xgf will use this one if possible.

## FILES

- */usr/share/xml/xgridfit/util/convert-ttx.xsl*

  An XSLT script that performs the initial conversion.

- */usr/share/xml/xgridfit/util/convert-asm.sed*

  A Sed script that completes the conversion.

## SEE ALSO

[**xgridfit**(1)](/xgridfit/1.md), [**xgfconfig**(1)](/xgfconfig/1.md), [**ttx**(1)](/ttx/1.md)

## AUTHOR

**ttx2xgf** was written by Peter Baker \<psb6m@virginia.edu\>.

This manual page was written by Peter Baker
