/src/freetype/src/cff/cffcmap.h

https://bitbucket.org/cabalistic/ogredeps/ · C++ Header · 67 lines · 14 code · 20 blank · 33 comment · 0 complexity · d72c2ae6405bc949664993b3e249470a MD5 · raw file

  1. /***************************************************************************/
  2. /* */
  3. /* cffcmap.h */
  4. /* */
  5. /* CFF character mapping table (cmap) support (specification). */
  6. /* */
  7. /* Copyright 2002, 2003, 2006 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. #ifndef __CFFCMAP_H__
  18. #define __CFFCMAP_H__
  19. #include "cffobjs.h"
  20. FT_BEGIN_HEADER
  21. /*************************************************************************/
  22. /*************************************************************************/
  23. /***** *****/
  24. /***** TYPE1 STANDARD (AND EXPERT) ENCODING CMAPS *****/
  25. /***** *****/
  26. /*************************************************************************/
  27. /*************************************************************************/
  28. /* standard (and expert) encoding cmaps */
  29. typedef struct CFF_CMapStdRec_* CFF_CMapStd;
  30. typedef struct CFF_CMapStdRec_
  31. {
  32. FT_CMapRec cmap;
  33. FT_UShort* gids; /* up to 256 elements */
  34. } CFF_CMapStdRec;
  35. FT_DECLARE_CMAP_CLASS(cff_cmap_encoding_class_rec)
  36. /*************************************************************************/
  37. /*************************************************************************/
  38. /***** *****/
  39. /***** CFF SYNTHETIC UNICODE ENCODING CMAP *****/
  40. /***** *****/
  41. /*************************************************************************/
  42. /*************************************************************************/
  43. /* unicode (synthetic) cmaps */
  44. FT_DECLARE_CMAP_CLASS(cff_cmap_unicode_class_rec)
  45. FT_END_HEADER
  46. #endif /* __CFFCMAP_H__ */
  47. /* END */