summaryrefslogtreecommitdiff
path: root/lib/freetype/devel
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2013-01-04 16:52:00 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2013-01-04 16:52:00 +0000
commit483b4748623ffb43f1bcd59cb14a125bdd9b6bd4 (patch)
tree0fa954fe2d8e480d70b6c25ec4da8ceb861c6b78 /lib/freetype/devel
parent09166b05904f7651cbe16931977c9e2edb7edc18 (diff)
Update to freetype 2.4.11. Tested by krw@, jasper@ and on a bulk ports
build by naddy@.
Diffstat (limited to 'lib/freetype/devel')
-rw-r--r--lib/freetype/devel/ftoption.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/lib/freetype/devel/ftoption.h b/lib/freetype/devel/ftoption.h
index ba7db164c..6b2a40f83 100644
--- a/lib/freetype/devel/ftoption.h
+++ b/lib/freetype/devel/ftoption.h
@@ -560,6 +560,28 @@ FT_BEGIN_HEADER
/*************************************************************************/
/* */
+ /* Define TT_CONFIG_OPTION_SUBPIXEL_HINTING if you want to compile */
+ /* EXPERIMENTAL subpixel hinting support into the TrueType driver. This */
+ /* replaces the native TrueType hinting mechanism when anything but */
+ /* FT_RENDER_MODE_MONO is requested. */
+ /* */
+ /* Enabling this causes the TrueType driver to ignore instructions under */
+ /* certain conditions. This is done in accordance with the guide here, */
+ /* with some minor differences: */
+ /* */
+ /* http://www.microsoft.com/typography/cleartype/truetypecleartype.aspx */
+ /* */
+ /* By undefining this, you only compile the code necessary to hint */
+ /* TrueType glyphs with native TT hinting. */
+ /* */
+ /* This option requires TT_CONFIG_OPTION_BYTECODE_INTERPRETER to be */
+ /* defined. */
+ /* */
+#define TT_CONFIG_OPTION_SUBPIXEL_HINTING
+
+
+ /*************************************************************************/
+ /* */
/* If you define TT_CONFIG_OPTION_UNPATENTED_HINTING, a special version */
/* of the TrueType bytecode interpreter is used that doesn't implement */
/* any of the patented opcodes and algorithms. The patents related to */