aboutsummaryrefslogtreecommitdiffstats
path: root/print
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2001-07-04 22:50:00 +0800
committersobomax <sobomax@FreeBSD.org>2001-07-04 22:50:00 +0800
commitc534fdfeed5f42a456b86f166866d7d629d15ade (patch)
treece8e8e68e39019cef9bd216c3310b7b329ddfefe /print
parent34802c500c9c28cb35e7dd41aee48f257495de36 (diff)
downloadfreebsd-ports-gnome-c534fdfeed5f42a456b86f166866d7d629d15ade.tar.gz
freebsd-ports-gnome-c534fdfeed5f42a456b86f166866d7d629d15ade.tar.zst
freebsd-ports-gnome-c534fdfeed5f42a456b86f166866d7d629d15ade.zip
Enable truetype font hinting. XFree86-4 ships with this turned on in their
freetype library, and it helps the antialiased font stuff. There are no drawbacks, other than unclear legal status (Apple holds some patents in this area), but as long as it is OK for XFree, it should be OK for us too. Submitted by: Jeremy Norris <ishmael27@home.com>
Diffstat (limited to 'print')
-rw-r--r--print/freetype2/Makefile1
-rw-r--r--print/freetype2/files/patch-include::freetype::config::ftoption.h14
2 files changed, 15 insertions, 0 deletions
diff --git a/print/freetype2/Makefile b/print/freetype2/Makefile
index 443592897521..cece37f8a785 100644
--- a/print/freetype2/Makefile
+++ b/print/freetype2/Makefile
@@ -7,6 +7,7 @@
PORTNAME= freetype2
PORTVERSION= 2.0.3
+PORTREVISION= 1
CATEGORIES= print
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:S,%SUBDIR%,freetype,} \
http://sunsite.cnlab-switch.ch/ftp/mirror/freetype/%SUBDIR%/ \
diff --git a/print/freetype2/files/patch-include::freetype::config::ftoption.h b/print/freetype2/files/patch-include::freetype::config::ftoption.h
new file mode 100644
index 000000000000..6f10f31aeeb0
--- /dev/null
+++ b/print/freetype2/files/patch-include::freetype::config::ftoption.h
@@ -0,0 +1,14 @@
+
+$FreeBSD$
+
+--- include/freetype/config/ftoption.h 2001/07/03 08:51:20 1.1
++++ include/freetype/config/ftoption.h 2001/07/03 08:51:56
+@@ -321,7 +321,7 @@
+ /* By undefining this, you will only compile the code necessary to load */
+ /* TrueType glyphs without hinting. */
+ /* */
+-#undef TT_CONFIG_OPTION_BYTECODE_INTERPRETER
++#define TT_CONFIG_OPTION_BYTECODE_INTERPRETER
+
+
+ /*************************************************************************/