New commits:
commit 41cb06c185b4de7b62363040d4d959e593f377de
Author: Pavel Vinogradov <public AT sourcemage.org>
Commit: Pavel Vinogradov <public AT sourcemage.org>
graphics-libs/freetype2: fixed processing of subpixel hinting options
diff --git a/graphics-libs/freetype2/BUILD b/graphics-libs/freetype2/BUILD
index 47a5207..ba0c310 100755
--- a/graphics-libs/freetype2/BUILD
+++ b/graphics-libs/freetype2/BUILD
@@ -11,10 +11,12 @@ if [[ ${FT2_BYTECODE} == "n" ]]; then
else
case ${FT2_SUBPIXEL_HINTING} in
new)
- enable_ftoption "TT_CONFIG_OPTION_SUBPIXEL_HINTING[ \t]+2" ;;
+ true ;; # default
old)
- enable_ftoption "TT_CONFIG_OPTION_SUBPIXEL_HINTING[ \t]+1" ;;
+ enable_ftoption "TT_CONFIG_OPTION_SUBPIXEL_HINTING[ \t]+1" &&
+ disable_ftoption "TT_CONFIG_OPTION_SUBPIXEL_HINTING[ \t]+2" ;;
both)
+ disable_ftoption "TT_CONFIG_OPTION_SUBPIXEL_HINTING[ \t]+2" &&
enable_ftoption "TT_CONFIG_OPTION_SUBPIXEL_HINTING[ \t]+\( 1 \| 2
\)" ;;
*)
message "${PROBLEM_COLOR}Broken configuration, try cast -r
${SPELL}${DEFAULT_COLOR}" &&
diff --git a/graphics-libs/freetype2/HISTORY b/graphics-libs/freetype2/HISTORY
index e881d84..3e048f9 100644
--- a/graphics-libs/freetype2/HISTORY
+++ b/graphics-libs/freetype2/HISTORY
@@ -1,3 +1,7 @@
+2017-10-16 Pavel Vinogradov <public AT sourcemage.org>
+ * BUILD: honor the defaults in ftoption.h and properly handle other
+ options of subpixel hinting
+
2017-09-16 Pavel Vinogradov <public AT sourcemage.org>
* DETAILS: version 2.8.1
[SM-Commit] GIT changes to master grimoire by Pavel Vinogradov (41cb06c185b4de7b62363040d4d959e593f377de),
Pavel Vinogradov, 10/16/2017