ttunpat.h 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. /***************************************************************************/
  2. /* */
  3. /* ttunpat.h */
  4. /* */
  5. /* Definitions for the unpatented TrueType hinting system */
  6. /* */
  7. /* Copyright 2003, 2006 by */
  8. /* David Turner, Robert Wilhelm, and Werner Lemberg. */
  9. /* */
  10. /* Written by Graham Asher <[email protected]> */
  11. /* */
  12. /* This file is part of the FreeType project, and may only be used, */
  13. /* modified, and distributed under the terms of the FreeType project */
  14. /* license, LICENSE.TXT. By continuing to use, modify, or distribute */
  15. /* this file you indicate that you have read the license and */
  16. /* understand and accept it fully. */
  17. /* */
  18. /***************************************************************************/
  19. #ifndef __TTUNPAT_H__
  20. #define __TTUNPAT_H__
  21. #include <ft2build.h>
  22. #include FT_FREETYPE_H
  23. #ifdef FREETYPE_H
  24. #error "freetype.h of FreeType 1 has been loaded!"
  25. #error "Please fix the directory search order for header files"
  26. #error "so that freetype.h of FreeType 2 is found first."
  27. #endif
  28. FT_BEGIN_HEADER
  29. /***************************************************************************
  30. *
  31. * @constant:
  32. * FT_PARAM_TAG_UNPATENTED_HINTING
  33. *
  34. * @description:
  35. * A constant used as the tag of an @FT_Parameter structure to indicate
  36. * that unpatented methods only should be used by the TrueType bytecode
  37. * interpreter for a typeface opened by @FT_Open_Face.
  38. *
  39. */
  40. #define FT_PARAM_TAG_UNPATENTED_HINTING FT_MAKE_TAG( 'u', 'n', 'p', 'a' )
  41. /* */
  42. FT_END_HEADER
  43. #endif /* __TTUNPAT_H__ */
  44. /* END */