/src/compiler/android-ndk/jni/freetype/src/psaux/t1cmap.h

http://ftk.googlecode.com/ · C++ Header · 105 lines · 33 code · 31 blank · 41 comment · 0 complexity · b319f7eaacac5878e2e882c7e2d719b8 MD5 · raw file

  1. /***************************************************************************/
  2. /* */
  3. /* t1cmap.h */
  4. /* */
  5. /* Type 1 character map 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 __T1CMAP_H__
  18. #define __T1CMAP_H__
  19. #include <ft2build.h>
  20. #include FT_INTERNAL_OBJECTS_H
  21. #include FT_INTERNAL_TYPE1_TYPES_H
  22. FT_BEGIN_HEADER
  23. /*************************************************************************/
  24. /*************************************************************************/
  25. /***** *****/
  26. /***** TYPE1 STANDARD (AND EXPERT) ENCODING CMAPS *****/
  27. /***** *****/
  28. /*************************************************************************/
  29. /*************************************************************************/
  30. /* standard (and expert) encoding cmaps */
  31. typedef struct T1_CMapStdRec_* T1_CMapStd;
  32. typedef struct T1_CMapStdRec_
  33. {
  34. FT_CMapRec cmap;
  35. const FT_UShort* code_to_sid;
  36. PS_Adobe_Std_StringsFunc sid_to_string;
  37. FT_UInt num_glyphs;
  38. const char* const* glyph_names;
  39. } T1_CMapStdRec;
  40. FT_CALLBACK_TABLE const FT_CMap_ClassRec
  41. t1_cmap_standard_class_rec;
  42. FT_CALLBACK_TABLE const FT_CMap_ClassRec
  43. t1_cmap_expert_class_rec;
  44. /*************************************************************************/
  45. /*************************************************************************/
  46. /***** *****/
  47. /***** TYPE1 CUSTOM ENCODING CMAP *****/
  48. /***** *****/
  49. /*************************************************************************/
  50. /*************************************************************************/
  51. typedef struct T1_CMapCustomRec_* T1_CMapCustom;
  52. typedef struct T1_CMapCustomRec_
  53. {
  54. FT_CMapRec cmap;
  55. FT_UInt first;
  56. FT_UInt count;
  57. FT_UShort* indices;
  58. } T1_CMapCustomRec;
  59. FT_CALLBACK_TABLE const FT_CMap_ClassRec
  60. t1_cmap_custom_class_rec;
  61. /*************************************************************************/
  62. /*************************************************************************/
  63. /***** *****/
  64. /***** TYPE1 SYNTHETIC UNICODE ENCODING CMAP *****/
  65. /***** *****/
  66. /*************************************************************************/
  67. /*************************************************************************/
  68. /* unicode (synthetic) cmaps */
  69. FT_CALLBACK_TABLE const FT_CMap_ClassRec
  70. t1_cmap_unicode_class_rec;
  71. /* */
  72. FT_END_HEADER
  73. #endif /* __T1CMAP_H__ */
  74. /* END */