Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Arwed (b28832a0f498828faead9ae15d1dc19f5399cae7)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Arwed <scm AT mail.sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Arwed (b28832a0f498828faead9ae15d1dc19f5399cae7)
  • Date: Fri, 23 Feb 2007 14:00:19 -0600

GIT changes to master grimoire by Arwed <arwed@Otherland.(none)>:

graphics-libs/freetype2/CONFIGURE | 9 +++++----
graphics-libs/freetype2/HISTORY | 4 ++++
graphics-libs/freetype2/PRE_BUILD | 11 +++++++++++
3 files changed, 20 insertions(+), 4 deletions(-)

New commits:
commit b28832a0f498828faead9ae15d1dc19f5399cae7
Author: Arwed <arwed@Otherland.(none)>
Commit: Arwed <arwed@Otherland.(none)>

freetype2: add options to bring subpixel rendering back and to enabled
fir filtering

diff --git a/graphics-libs/freetype2/CONFIGURE
b/graphics-libs/freetype2/CONFIGURE
index 2aa1eb9..18349aa 100755
--- a/graphics-libs/freetype2/CONFIGURE
+++ b/graphics-libs/freetype2/CONFIGURE
@@ -1,4 +1,5 @@
-# uses the old value of BYTECODE for backwards compatibility, remove this
-# after a while
-# 2006-03-01 Arwed v. Merkatz
-config_query FT2_BYTECODE "Enable bytecode interpreter?" ${BYTECODE:-n}
+config_query FT2_BYTECODE "Enable bytecode interpreter (patented in some
countries)?" n
+config_query FT2_SUBPIXEL "Enable LCD subpixel rendering enhancements
(patented in some countries)?" n
+if [[ $FT2_SUBPIXEL = y ]]; then
+ config_query_list FT2_FIR_FILTER "Force fir filtering (reduces color
bands)?" light legacy none
+fi
diff --git a/graphics-libs/freetype2/HISTORY b/graphics-libs/freetype2/HISTORY
index b3000f3..7f0f1fe 100644
--- a/graphics-libs/freetype2/HISTORY
+++ b/graphics-libs/freetype2/HISTORY
@@ -1,3 +1,7 @@
+2007-02-23 Arwed v. Merkatz <v.merkatz AT gmx.net>
+ * CONFIGURE, PRE_BUILD: added support for re-enabling subpixel
+ rendering, added support for forcing lcd fir filtering
+
2007-01-31 Treeve Jelbert <treeve AT pi.be>
* DETAILS: version 2.3.1

diff --git a/graphics-libs/freetype2/PRE_BUILD
b/graphics-libs/freetype2/PRE_BUILD
index 792bcf5..571519f 100755
--- a/graphics-libs/freetype2/PRE_BUILD
+++ b/graphics-libs/freetype2/PRE_BUILD
@@ -5,3 +5,14 @@ if test $FT2_BYTECODE = "y"; then
sedit 's:/\* \(#define TT_CONFIG_OPTION_BYTECODE_INTERPRETER\) \*/:\1:' \
include/freetype/config/ftoption.h
fi
+if [[ $FT2_SUBPIXEL = y ]]; then
+ sedit 's:/\* \(#define FT_CONFIG_OPTION_SUBPIXEL_RENDERING\) \*/:\1:' \
+ include/freetype/config/ftoption.h
+fi
+if [[ $FT2_FIR_FILTER = light ]]; then
+ sedit '/FT_END_HEADER/i#define FT_FORCE_LIGHT_LCD_FILTER' \
+ include/freetype/config/ftoption.h
+elif [[ $FT2_FIR_FILTER = legacy ]]; then
+ sedit '/FT_END_HEADER/i#define FT_FORCE_LEGACY_LCD_FILTER' \
+ include/freetype/config/ftoption.h
+fi



  • [SM-Commit] GIT changes to master grimoire by Arwed (b28832a0f498828faead9ae15d1dc19f5399cae7), Arwed, 02/23/2007

Archive powered by MHonArc 2.6.24.

Top of Page