diff options
author | Werner Lemberg <wl@gnu.org> | 2010-07-04 07:37:56 +0200 |
---|---|---|
committer | Werner Lemberg <wl@gnu.org> | 2010-07-04 07:37:56 +0200 |
commit | 6bbbbc1523a3a4f81aac30d7a538875546ca4b9c (patch) | |
tree | af4a7acb4c8f7051ceffd333589948a545f0295c /include | |
parent | ce27fd56fab737dadc1780bbfb0c6b192cfa6d8b (diff) |
TrueType hinting is no longer patented.
* include/freetype/config/ftoption.h, devel/ftoption.h
(TT_CONFIG_OPTION_BYTECODE_INTERPRETER): Define.
(TT_CONFIG_OPTION_UNPATENTED_HINTING): Undefine.
* docs/CHANGES, docs/INSTALL, include/freetype/freetype.h: Updated.
* docs/TRUETYPE, docs/PATENTS: Removed.
Diffstat (limited to 'include')
-rw-r--r-- | include/freetype/config/ftoption.h | 18 | ||||
-rw-r--r-- | include/freetype/freetype.h | 6 | ||||
-rw-r--r-- | include/freetype/ftmodapi.h | 4 |
3 files changed, 18 insertions, 10 deletions
diff --git a/include/freetype/config/ftoption.h b/include/freetype/config/ftoption.h index 20474360..2db0c12e 100644 --- a/include/freetype/config/ftoption.h +++ b/include/freetype/config/ftoption.h @@ -488,8 +488,7 @@ FT_BEGIN_HEADER /*************************************************************************/ /* */ /* Define TT_CONFIG_OPTION_BYTECODE_INTERPRETER if you want to compile */ - /* a bytecode interpreter in the TrueType driver. Note that there are */ - /* important patent issues related to the use of the interpreter. */ + /* a bytecode interpreter in the TrueType driver. */ /* */ /* By undefining this, you will only compile the code necessary to load */ /* TrueType glyphs without hinting. */ @@ -497,17 +496,20 @@ FT_BEGIN_HEADER /* Do not #undef this macro here, since the build system might */ /* define it for certain configurations only. */ /* */ -/* #define TT_CONFIG_OPTION_BYTECODE_INTERPRETER */ +#define TT_CONFIG_OPTION_BYTECODE_INTERPRETER /*************************************************************************/ /* */ /* 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. Note that the */ - /* TT_CONFIG_OPTION_UNPATENTED_HINTING macro is *ignored* if you define */ - /* TT_CONFIG_OPTION_BYTECODE_INTERPRETER; in other words, either define */ - /* TT_CONFIG_OPTION_BYTECODE_INTERPRETER or */ + /* any of the patented opcodes and algorithms. The patents related to */ + /* TrueType hinting have expired worldwide since May 2010; this option */ + /* is now deprecated. */ + /* */ + /* Note that the TT_CONFIG_OPTION_UNPATENTED_HINTING macro is *ignored* */ + /* if you define TT_CONFIG_OPTION_BYTECODE_INTERPRETER; in other words, */ + /* either define TT_CONFIG_OPTION_BYTECODE_INTERPRETER or */ /* TT_CONFIG_OPTION_UNPATENTED_HINTING but not both at the same time. */ /* */ /* This macro is only useful for a small number of font files (mostly */ @@ -544,7 +546,7 @@ FT_BEGIN_HEADER /* ... */ /* } */ /* */ -#define TT_CONFIG_OPTION_UNPATENTED_HINTING +/* #define TT_CONFIG_OPTION_UNPATENTED_HINTING */ /*************************************************************************/ diff --git a/include/freetype/freetype.h b/include/freetype/freetype.h index 7ca9a9c9..ab0deb13 100644 --- a/include/freetype/freetype.h +++ b/include/freetype/freetype.h @@ -3834,6 +3834,9 @@ FT_BEGIN_HEADER /* 1~if this is a TrueType font that uses one of the patented */ /* opcodes, 0~otherwise. */ /* */ + /* <Note> */ + /* Since May 2010, TrueType hinting is no longer patented. */ + /* */ /* <Since> */ /* 2.3.5 */ /* */ @@ -3861,6 +3864,9 @@ FT_BEGIN_HEADER /* an SFNT font, or if the unpatented hinter is not compiled in this */ /* instance of the library. */ /* */ + /* <Note> */ + /* Since May 2010, TrueType hinting is no longer patented. */ + /* */ /* <Since> */ /* 2.3.5 */ /* */ diff --git a/include/freetype/ftmodapi.h b/include/freetype/ftmodapi.h index 5c1f2581..17868b2f 100644 --- a/include/freetype/ftmodapi.h +++ b/include/freetype/ftmodapi.h @@ -397,8 +397,8 @@ FT_BEGIN_HEADER * * FT_TRUETYPE_ENGINE_TYPE_PATENTED :: * The library implements a bytecode interpreter that covers - * the full instruction set of the TrueType virtual machine. - * See the file `docs/PATENTS' for legal aspects. + * the full instruction set of the TrueType virtual machine (this + * was governed by patents until May 2010, hence the name). * * @since: * 2.2 |