/contrib/groff/src/utils/xtotroff/xtotroff.man

https://bitbucket.org/freebsd/freebsd-head/ · Unknown · 109 lines · 106 code · 3 blank · 0 comment · 0 complexity · da9e251415d882517e23d4437b09883d MD5 · raw file

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