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>
This commit is contained in:
Maxim Sobolev 2001-07-04 14:50:00 +00:00
parent 767289e322
commit 8e56f80dfe
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=44749
2 changed files with 15 additions and 0 deletions

View File

@ -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%/ \

View File

@ -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
/*************************************************************************/