8308290: Add fontconfig requirement to building.md

Reviewed-by: erikj
This commit is contained in:
Jan Kratochvil
2023-05-18 08:48:16 +00:00
committed by Yuri Nesterenko
parent 3c9ec26370
commit 57b8ed1398
2 changed files with 23 additions and 0 deletions

View File

@@ -471,6 +471,17 @@ rather than bundling the JDK's own copy.
Use `--with-freetype-include=<path>` and `--with-freetype-lib=<path>`
if `configure` does not automatically locate the platform FreeType files.
### Fontconfig
Fontconfig from [freedesktop.org Fontconfig](http://fontconfig.org) is required
on all platforms except Windows and macOS.
* To install on an rpm-based Linux, try running `sudo yum install
fontconfig-devel`.
Use `--with-fontconfig-include=<path>` and `--with-fontconfig=<path>`
if `configure` does not automatically locate the platform Fontconfig files.
### CUPS
CUPS, [Common UNIX Printing System](http://www.cups.org) header files are