| 1 | /**************************************************************************** |
|---|---|
| 2 | * |
| 3 | * ftpatent.c |
| 4 | * |
| 5 | * FreeType API for checking patented TrueType bytecode instructions |
| 6 | * (body). Obsolete, retained for backward compatibility. |
| 7 | * |
| 8 | * Copyright (C) 2007-2023 by |
| 9 | * David Turner. |
| 10 | * |
| 11 | * This file is part of the FreeType project, and may only be used, |
| 12 | * modified, and distributed under the terms of the FreeType project |
| 13 | * license, LICENSE.TXT. By continuing to use, modify, or distribute |
| 14 | * this file you indicate that you have read the license and |
| 15 | * understand and accept it fully. |
| 16 | * |
| 17 | */ |
| 18 | |
| 19 | #include <freetype/freetype.h> |
| 20 | #include <freetype/tttags.h> |
| 21 | #include <freetype/internal/ftobjs.h> |
| 22 | #include <freetype/internal/ftstream.h> |
| 23 | #include <freetype/internal/services/svsfnt.h> |
| 24 | #include <freetype/internal/services/svttglyf.h> |
| 25 | |
| 26 | |
| 27 | /* documentation is in freetype.h */ |
| 28 | |
| 29 | FT_EXPORT_DEF( FT_Bool ) |
| 30 | FT_Face_CheckTrueTypePatents( FT_Face face ) |
| 31 | { |
| 32 | FT_UNUSED( face ); |
| 33 | |
| 34 | return FALSE; |
| 35 | } |
| 36 | |
| 37 | |
| 38 | /* documentation is in freetype.h */ |
| 39 | |
| 40 | FT_EXPORT_DEF( FT_Bool ) |
| 41 | FT_Face_SetUnpatentedHinting( FT_Face face, |
| 42 | FT_Bool value ) |
| 43 | { |
| 44 | FT_UNUSED( face ); |
| 45 | FT_UNUSED( value ); |
| 46 | |
| 47 | return FALSE; |
| 48 | } |
| 49 | |
| 50 | /* END */ |
| 51 |