Commit 0ed15759 authored by Akira TAGOH's avatar Akira TAGOH

Add --with-default-hinting to configure

parent 505712d1
......@@ -26,7 +26,7 @@ DOC_SOURCES = README.in
DOC_FILES = $(DOC_SOURCES:.in=)
CONF_LINKS = \
10-hinting-slight.conf \
10-hinting-$(PREFERRED_HINTING).conf \
10-scale-bitmap-fonts.conf \
20-unhint-small-vera.conf \
30-urw-aliases.conf \
......
......@@ -405,6 +405,25 @@ if test "$enable_libxml2" = "yes"; then
CFLAGS="$fc_saved_CFLAGS"
fi
#
# Set default hinting
#
AC_ARG_WITH(default-hinting,
[AC_HELP_STRING([--with-default-hinting=NAME],
[Enable your preferred hinting configuration (none/slight/medium/full) [default=slight]])],
preferred_hinting="$withval", preferred_hinting=slight)
case "$preferred_hinting" in
none|slight|medium|full)
PREFERRED_HINTING="$preferred_hinting"
AC_SUBST(PREFERRED_HINTING)
;;
*)
AC_MSG_ERROR([Invalid hinting. please choose one of none, slight, medium, or full])
;;
esac
#
# Set default font directory
#
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment