freetype-config.1 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. .TH FREETYPE-CONFIG 1 "July 2016" "FreeType 2.6.5"
  2. .
  3. .
  4. .SH NAME
  5. .
  6. freetype-config \- Get information about a libfreetype installation
  7. .
  8. .
  9. .SH SYNOPSIS
  10. .
  11. .B freetype-config
  12. .RI [ options ]
  13. .
  14. .
  15. .SH DESCRIPTION
  16. .
  17. .B freetype-config
  18. returns information needed for compiling and linking programs with the
  19. FreeType library, such as linker flags and compilation parameters.
  20. .
  21. Alternatively, it can be used to query information about the
  22. FreeType library version installed on the system, such as the
  23. installation (directory path) prefix or the FreeType version number.
  24. .
  25. .PP
  26. This program is part of the FreeType package.
  27. .
  28. .
  29. .SH OPTIONS
  30. .
  31. There are two types of options: output/display selection options, and
  32. path override options.
  33. .
  34. .
  35. .SS Output selection options
  36. .
  37. Only one of the output selection options should be given at each program
  38. invocation.
  39. .
  40. .TP
  41. .B \-\-prefix
  42. Return the prefix value of the installed FreeType library (the default
  43. prefix will be `/usr' in most cases for distribution-installed
  44. packages).
  45. .
  46. .TP
  47. .B \-\-exec-prefix
  48. Return the executable prefix value of the installed FreeType library
  49. (will often be the same as the prefix value).
  50. .
  51. .TP
  52. .B \-\-ftversion
  53. Return the FreeType version number.
  54. .
  55. .TP
  56. .B \-\-version
  57. Return the `libtool version' of the FreeType library.
  58. .
  59. .TP
  60. .B \-\-libtool
  61. Return the library name for linking with libtool.
  62. .
  63. .TP
  64. .B \-\-libs
  65. Return compiler flags for linking with the installed FreeType library.
  66. .
  67. .TP
  68. .B \-\-cflags
  69. Return compiler flags for compiling against the installed FreeType library.
  70. .
  71. .TP
  72. .B \-\-static
  73. Make command line options display flags for static linking.
  74. .
  75. .
  76. .SS Path override options
  77. .
  78. These affect any selected output option, except the libtool version
  79. returned by `--version'.
  80. .
  81. .TP
  82. .BI \-\-prefix= PREFIX
  83. Override `--prefix' value with
  84. .IR PREFIX .
  85. .
  86. .TP
  87. .BI \-\-exec-prefix= EPREFIX
  88. Override `--exec-prefix' value with
  89. .IR EPREFIX .
  90. .
  91. .
  92. .SH BUGS
  93. In case the libraries FreeType links to are located in non-standard
  94. directories, the output from option
  95. .B \-\-libs
  96. might be incomplete.
  97. It is thus recommended to use the
  98. .BR pkg-config (1)
  99. interface instead, which is able to correctly resolve all dependencies.
  100. .
  101. .
  102. .SH AUTHOR
  103. .
  104. This manual page was contributed by Nis Martensen <[email protected]>,
  105. with further refinements from the FreeType team.
  106. .
  107. .
  108. .\" eof