fonttosfnt.man 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. .\" $XFree86$
  2. .TH FONTTOSFNT 1 __vendorversion__
  3. .SH NAME
  4. fonttosfnt \- Wrap a bitmap font in a sfnt (TrueType) wrapper
  5. .SH SYNOPSIS
  6. .B fonttosfnt
  7. [
  8. .I options
  9. ]
  10. .B \-o
  11. .I file.ttf
  12. [
  13. .B \-\-
  14. ]
  15. .IR font ...
  16. .SH DESCRIPTION
  17. Wrap a bitmap font or a set of bitmap fonts in a sfnt (TrueType or
  18. OpenType) wrapper.
  19. .SH OPTIONS
  20. .TP
  21. .B \-v
  22. Be verbose.
  23. .TP
  24. .B \-c
  25. Do not crop glyphs. This usually increases file size, but may
  26. sometimes yield a modest decrease in file size for small character
  27. cell fonts (terminal fonts).
  28. .TP
  29. .B \-b
  30. Write byte-aligned glyph data. By default, unaligned data is written,
  31. which yields a smaller file size.
  32. .TP
  33. .B \-r
  34. Do not reencode fonts. By default, fonts are reencoded to Unicode
  35. whenever possible.
  36. .TP
  37. .BI \-g " n"
  38. Set the type of scalable glyphs that we write. If
  39. .I n
  40. is 0, no scalable glyphs are written; this is legal but confuses
  41. most current software. If
  42. .I n
  43. is 1, a single scalable glyph (the undefined glyph) is written; this
  44. is recommended, but triggers a bug in current versions of
  45. .BR FreeType .
  46. If
  47. .I n
  48. is 2 (the default), a sufficiently high number of blank glyphs are
  49. written, which works with
  50. .B FreeType
  51. but increases file size.
  52. .TP
  53. .BI \-m " n"
  54. Set the type of scalable metrics that we write. If
  55. .I n
  56. is 0, no scalable metrics are written, which may or may not be legal.
  57. If
  58. .I n
  59. is 1, full metrics for a single glyph are written, and only left
  60. sidebearing values are written for the other glyphs. If
  61. .I n
  62. is 2, scalable metrics for all glyphs are written, which increases
  63. file size and is not recommended. The default is 1.
  64. .TP
  65. .B \-\-
  66. End of options.
  67. .SH BUGS
  68. Some of the font-level values, notably sub- and superscript positions,
  69. are dummy values.
  70. .SH SEE ALSO
  71. X(7), Xserver(1), Xft(3x).
  72. .I Fonts in X11.
  73. .SH AUTHOR
  74. The version of
  75. .B Fonttosfnt
  76. included in this X.Org Foundation release was originally written by
  77. Juliusz Chroboczek <jch@freedesktop.org> for the XFree86 project.