/contrib/groff/src/utils/addftinfo/addftinfo.man

https://bitbucket.org/freebsd/freebsd-head/ · Unknown · 111 lines · 108 code · 3 blank · 0 comment · 0 complexity · d91ae468ce13366ab806392fe31fa2eb MD5 · raw file

  1. .ig
  2. Copyright (C) 1989-2000, 2001 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. .TH ADDFTINFO @MAN1EXT@ "@MDATE@" "Groff Version @VERSION@"
  17. .SH NAME
  18. addftinfo \- add information to troff font files for use with groff
  19. .SH SYNOPSIS
  20. .B addftinfo
  21. [
  22. .B \-v
  23. ]
  24. [
  25. .BI \- param\ value\fR.\|.\|.
  26. ]
  27. .I res
  28. .I unitwidth
  29. .I font
  30. .SH DESCRIPTION
  31. .B addftinfo
  32. reads a troff font file
  33. and adds some additional font-metric information
  34. that is used by the groff system.
  35. The font file with the information added is written on the
  36. standard output.
  37. The information added is guessed using
  38. some parametric information about the font
  39. and assumptions
  40. about the traditional troff names for characters.
  41. The main information added is the heights and depths of characters.
  42. The
  43. .I res
  44. and
  45. .I unitwidth
  46. arguments should be the same as the corresponding parameters
  47. in the DESC file;
  48. .I font
  49. is the name of the file describing the font;
  50. if
  51. .I font
  52. ends with
  53. .B I
  54. the font will be assumed to be italic.
  55. .SH OPTIONS
  56. .B \-v
  57. prints the version number.
  58. .LP
  59. All other options changes one of the parameters that is used
  60. to derive the heights and depths.
  61. Like the existing quantities in the font
  62. file, each
  63. .I value
  64. is in
  65. .RI inches/ res
  66. for a font whose point size is
  67. .IR unitwidth .
  68. .I param
  69. must be one of:
  70. .TP
  71. .B x-height
  72. The height of lowercase letters without ascenders such as x.
  73. .TP
  74. .B fig-height
  75. The height of figures (digits).
  76. .TP
  77. .B asc-height
  78. The height of characters with ascenders, such as b, d or l.
  79. .TP
  80. .B body-height
  81. The height of characters such as parentheses.
  82. .TP
  83. .B cap-height
  84. The height of uppercase letters such as A.
  85. .TP
  86. .B comma-depth
  87. The depth of a comma.
  88. .TP
  89. .B desc-depth
  90. The depth of characters with descenders, such as p,q, or y.
  91. .TP
  92. .B body-depth
  93. The depth of characters such as parentheses.
  94. .LP
  95. .B addftinfo
  96. makes no attempt to use the specified parameters to guess
  97. the unspecified parameters.
  98. If a parameter is not specified the default will be used.
  99. The defaults are chosen to have the reasonable values for
  100. a Times font.
  101. .SH "SEE ALSO"
  102. .BR groff_font (@MAN5EXT@),
  103. .BR groff (@MAN1EXT@),
  104. .BR groff_char (@MAN7EXT@)
  105. .
  106. .\" Local Variables:
  107. .\" mode: nroff
  108. .\" End: