summaryrefslogtreecommitdiff
path: root/print/freetype2
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2001-07-04 14:50:00 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2001-07-04 14:50:00 +0000
commit8e56f80dfe99115e22a8919bd5d716bab7a74713 (patch)
treed643ef0734e8506af16dd0365637344b9ed47a3f /print/freetype2
parentUpdate to 0.7.0. (diff)
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>
Notes
Notes: svn path=/head/; revision=44749
Diffstat (limited to 'print/freetype2')
-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
+
+
+ /*************************************************************************/