# xtotroff(1) - man - phpMan

[XTOTROFF(1)](https://www.chedong.com/phpMan.php/man/XTOTROFF/1/markdown)                            General Commands Manual                           [XTOTROFF(1)](https://www.chedong.com/phpMan.php/man/XTOTROFF/1/markdown)



## NAME
       xtotroff - convert X font metrics into GNU troff font metrics

## SYNOPSIS
       **xtotroff** [**-r** _resolution_] [**-s** _point-size_] _font-map_

### xtotroff --help

### xtotroff -v
### xtotroff --version

## DESCRIPTION
       _xtotroff_  takes a _font-map_, which maps [_groff_(1)](https://www.chedong.com/phpMan.php/man/groff/1/markdown) fonts to X11 fonts, creates GNU [_troff_(1)](https://www.chedong.com/phpMan.php/man/troff/1/markdown) met‐
       ric files for all fonts listed.  Each line in _font-map_ consists of a _groff_ font name and an X
       font name as a X Logical Font Description (XLFD) pattern, separated by whitespace.  Example:

              TB -adobe-times-bold-r-normal--*-*-*-*-p-*-iso8859-1

       The  wildcards in the patterns are filled with the arguments to the **-r** and **-s** switches.  If a
       font name is still ambiguous, _xtotroff_ aborts.

## OPTIONS
       Whitespace is permitted between a command-line option and its argument.

       **--help** Display a usage message and exit.

### -r
              Set the resolution for all font patterns in _font-map_.  The value is used for both  the
              horizontal  and  vertical  resolution.  If not specified, a resolution of 75dpi is as‐
              sumed.

### -s
              Set the point size for all font patterns in _font-map_.  If not  specified,  a  size  of
              10pt is assumed.

### -v
### --version
              Display version information and exit.

## BUGS
       The only supported font encodings are “iso8859-1” and “adobe-fontspecific”.

## SEE ALSO
       [_groff_(1)](https://www.chedong.com/phpMan.php/man/groff/1/markdown), [_gxditview_(1)](https://www.chedong.com/phpMan.php/man/gxditview/1/markdown), [_troff_(1)](https://www.chedong.com/phpMan.php/man/troff/1/markdown)



groff 1.22.4                                23 March 2022                                [XTOTROFF(1)](https://www.chedong.com/phpMan.php/man/XTOTROFF/1/markdown)
