home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: SysTools / SysTools.zip / ft-beta.zip / freetype / lib / tttags.h < prev    next >
C/C++ Source or Header  |  1997-10-06  |  2KB  |  55 lines

  1. /*******************************************************************
  2.  *
  3.  *  tttags.h
  4.  *
  5.  *    tags for TrueType tables (specification only).
  6.  *
  7.  *  Copyright 1996, 1997 by
  8.  *  David Turner, Robert Wilhelm, and Werner Lemberg.
  9.  *
  10.  *  This file is part of the FreeType project, and may only be used
  11.  *  modified and distributed under the terms of the FreeType project
  12.  *  license, LICENSE.TXT. By continuing to use, modify or distribute
  13.  *  this file you indicate that you have read the license and
  14.  *  understand and accept it fully.
  15.  *
  16.  ******************************************************************/
  17.  
  18. #ifndef TTAGS_H
  19. #define TTAGS_H
  20.  
  21. #define __MAKE_TT_TAG( _x1, _x2, _x3, _x4 ) \
  22.           (_x1 << 24 | _x2 << 16 | _x3 << 8 | _x4)
  23.  
  24. #define TTAG_cmap __MAKE_TT_TAG( 'c', 'm', 'a', 'p' )
  25. #define TTAG_cvt  __MAKE_TT_TAG( 'c', 'v', 't', ' ' )
  26. #define TTAG_EBDT __MAKE_TT_TAG( 'E', 'B', 'D', 'T' )
  27. #define TTAG_EBLC __MAKE_TT_TAG( 'E', 'B', 'L', 'C' )
  28. #define TTAG_EBSC __MAKE_TT_TAG( 'E', 'B', 'S', 'C' )
  29. #define TTAG_fpgm __MAKE_TT_TAG( 'f', 'p', 'g', 'm' )
  30. #define TTAG_gasp __MAKE_TT_TAG( 'g', 'a', 's', 'p' )
  31. #define TTAG_glyf __MAKE_TT_TAG( 'g', 'l', 'y', 'f' )
  32. #define TTAG_hdmx __MAKE_TT_TAG( 'h', 'd', 'm', 'x' )
  33. #define TTAG_head __MAKE_TT_TAG( 'h', 'e', 'a', 'd' )
  34. #define TTAG_hhea __MAKE_TT_TAG( 'h', 'h', 'e', 'a' )
  35. #define TTAG_hmtx __MAKE_TT_TAG( 'h', 'm', 't', 'x' )
  36. #define TTAG_kern __MAKE_TT_TAG( 'k', 'e', 'r', 'n' )
  37. #define TTAG_loca __MAKE_TT_TAG( 'l', 'o', 'c', 'a' )
  38. #define TTAG_LTSH __MAKE_TT_TAG( 'L', 'T', 'S', 'H' )
  39. #define TTAG_maxp __MAKE_TT_TAG( 'm', 'a', 'x', 'p' )
  40. #define TTAG_name __MAKE_TT_TAG( 'n', 'a', 'm', 'e' )
  41. #define TTAG_OS2  __MAKE_TT_TAG( 'O', 'S', '/', '2' )
  42. #define TTAG_PCLT __MAKE_TT_TAG( 'P', 'C', 'L', 'T' )
  43. #define TTAG_post __MAKE_TT_TAG( 'p', 'o', 's', 't' )
  44. #define TTAG_prep __MAKE_TT_TAG( 'p', 'r', 'e', 'p' )
  45. #define TTAG_ttc  __MAKE_TT_TAG( 't', 't', 'c', ' ' )
  46. #define TTAG_ttcf __MAKE_TT_TAG( 't', 't', 'c', 'f' )
  47. #define TTAG_VDMX __MAKE_TT_TAG( 'V', 'D', 'M', 'X' )
  48. #define TTAG_vhea __MAKE_TT_TAG( 'v', 'h', 'e', 'a' )
  49. #define TTAG_vmtx __MAKE_TT_TAG( 'v', 'm', 't', 'x' )
  50.  
  51. #endif /* TTAGS_H */
  52.  
  53.  
  54. /* End */
  55.