summaryrefslogtreecommitdiffstats
path: root/modules/freetype2/src/base/ftpatent.c
diff options
context:
space:
mode:
Diffstat (limited to 'modules/freetype2/src/base/ftpatent.c')
-rw-r--r--modules/freetype2/src/base/ftpatent.c50
1 files changed, 50 insertions, 0 deletions
diff --git a/modules/freetype2/src/base/ftpatent.c b/modules/freetype2/src/base/ftpatent.c
new file mode 100644
index 0000000000..cb5efadffb
--- /dev/null
+++ b/modules/freetype2/src/base/ftpatent.c
@@ -0,0 +1,50 @@
+/****************************************************************************
+ *
+ * ftpatent.c
+ *
+ * FreeType API for checking patented TrueType bytecode instructions
+ * (body). Obsolete, retained for backward compatibility.
+ *
+ * Copyright (C) 2007-2023 by
+ * David Turner.
+ *
+ * This file is part of the FreeType project, and may only be used,
+ * modified, and distributed under the terms of the FreeType project
+ * license, LICENSE.TXT. By continuing to use, modify, or distribute
+ * this file you indicate that you have read the license and
+ * understand and accept it fully.
+ *
+ */
+
+#include <freetype/freetype.h>
+#include <freetype/tttags.h>
+#include <freetype/internal/ftobjs.h>
+#include <freetype/internal/ftstream.h>
+#include <freetype/internal/services/svsfnt.h>
+#include <freetype/internal/services/svttglyf.h>
+
+
+ /* documentation is in freetype.h */
+
+ FT_EXPORT_DEF( FT_Bool )
+ FT_Face_CheckTrueTypePatents( FT_Face face )
+ {
+ FT_UNUSED( face );
+
+ return FALSE;
+ }
+
+
+ /* documentation is in freetype.h */
+
+ FT_EXPORT_DEF( FT_Bool )
+ FT_Face_SetUnpatentedHinting( FT_Face face,
+ FT_Bool value )
+ {
+ FT_UNUSED( face );
+ FT_UNUSED( value );
+
+ return FALSE;
+ }
+
+/* END */