1.ig 2Copyright (C) 2004 Free Software Foundation, Inc. 3 4Permission is granted to make and distribute verbatim copies of 5this manual provided the copyright notice and this permission notice 6are preserved on all copies. 7 8Permission is granted to copy and distribute modified versions of this 9manual under the conditions for verbatim copying, provided that the 10entire resulting derived work is distributed under the terms of a 11permission notice identical to this one. 12 13Permission is granted to copy and distribute translations of this 14manual into another language, under the above conditions for modified 15versions, except that this permission notice may be included in 16translations approved by the Free Software Foundation instead of in 17the original English. 18.. 19. 20. 21.TH XTOTROFF @MAN1EXT@ "@MDATE@" "Groff Version @VERSION@" 22. 23. 24.SH NAME 25xtotroff \- convert X font metrics into GNU troff font metrics 26. 27. 28.SH SYNOPSIS 29.B xtotroff 30[ 31.BI \-r \%resolution 32] 33[ 34.BI \-s \%point-size 35] 36[ 37.B \-v 38] 39.I FontMap 40. 41.PP 42It is possible to have whitespace between a command line option and its 43parameter. 44. 45. 46.SH DESCRIPTION 47.B xtotroff 48takes a 49.IR FontMap , 50which maps 51.B groff 52fonts to X11 fonts, 53creates GNU 54.B troff 55metric files for all fonts listed. 56Each line in 57.I FontMap 58consists of GNU 59.B troff 60font name and an X font name (XLFD) pattern, separated by whitespace. 61Example: 62. 63.PP 64.in +2n 65.nf 66TB -adobe-times-bold-r-normal--*-*-*-*-p-*-iso8859-1 67.fi 68.in 69. 70.PP 71The wildcards in the patterns are filled with the arguments to the 72.B \-r 73and 74.B \-s 75switches. 76If a font name is still ambiguous, 77.B xtotroff 78aborts. 79. 80. 81.SH OPTIONS 82.TP 83.BI \-r resolution 84Set the resolution for all font patterns in 85.IR FontMap . 86The value is used for both the horizontal and vertical resolution. 87If not specified, a resolution of 75dpi is assumed. 88. 89.TP 90.BI \-s point-size 91Set the point size for all font patterns in 92.IR FontMap . 93If not specified, a size of 10pt is assumed. 94. 95.TP 96.B \-v 97Print the version number. 98. 99. 100.SH BUGS 101The only supported font encodings are `iso8859-1' and `adobe-fontspecific'. 102. 103. 104.SH "SEE ALSO" 105.BR gxditview (@MAN1EXT@) 106. 107.\" Local Variables: 108.\" mode: nroff 109.\" End: 110