blob: 3e1614ad4331def42ca6106f30a706ca653bb858 [file] [log] [blame]
David Turner66cbc202003-03-20 07:04:40 +00001How to enable the TrueType native hinter if you need it
Werner Lemberga7235262005-08-30 00:22:46 +00002-------------------------------------------------------
David Turner66cbc202003-03-20 07:04:40 +00003
Werner Lemberga16c4a72003-04-21 13:30:27 +00004 The TrueType bytecode interpreter is disabled in all public releases
Werner Lemberga7235262005-08-30 00:22:46 +00005 of the FreeType packages for patents reasons; see
6
7 http://www.freetype.org/patents.html
8
9 for more details.
David Turner66cbc202003-03-20 07:04:40 +000010
Werner Lemberga16c4a72003-04-21 13:30:27 +000011 However, many Linux distributions do enable the interpreter in the
12 FreeType packages (DEB/RPM/etc.) they produce for their platforms. If
13 you are using TrueType fonts on your system, you most probably want to
14 enable it manually by doing the following:
David Turner66cbc202003-03-20 07:04:40 +000015
Werner Lemberga7235262005-08-30 00:22:46 +000016 - open the file `include/freetype/config/ftoption.h'
David Turner66cbc202003-03-20 07:04:40 +000017
18 - locate a line that says:
19
Werner Lembergbe556d52006-06-16 06:51:37 +000020 /* #define TT_CONFIG_OPTION_BYTECODE_INTERPRETER */
David Turner66cbc202003-03-20 07:04:40 +000021
22 - change it to:
23
Werner Lembergbe556d52006-06-16 06:51:37 +000024 #define TT_CONFIG_OPTION_BYTECODE_INTERPRETER
David Turner66cbc202003-03-20 07:04:40 +000025
Werner Lemberga16c4a72003-04-21 13:30:27 +000026 These steps must be done _before_ compiling the library.
27
Werner Lemberg56c368c2005-06-04 23:00:25 +000028------------------------------------------------------------------------
29
Werner Lembergbe556d52006-06-16 06:51:37 +000030Copyright 2003, 2005, 2006 by
Werner Lemberg56c368c2005-06-04 23:00:25 +000031David Turner, Robert Wilhelm, and Werner Lemberg.
32
Werner Lemberga7235262005-08-30 00:22:46 +000033This file is part of the FreeType project, and may only be used,
34modified, and distributed under the terms of the FreeType project
35license, LICENSE.TXT. By continuing to use, modify, or distribute this
36file you indicate that you have read the license and understand and
Werner Lemberg56c368c2005-06-04 23:00:25 +000037accept it fully.
38
Werner Lemberga16c4a72003-04-21 13:30:27 +000039
40--- end of TRUETYPE ---