/modules/freetype2/src/type42/t42types.h

http://github.com/zpao/v8monkey · C Header · 56 lines · 26 code · 14 blank · 16 comment · 0 complexity · ea89cf5c4994f568959409f63504f344 MD5 · raw file

  1. /***************************************************************************/
  2. /* */
  3. /* t42types.h */
  4. /* */
  5. /* Type 42 font data types (specification only). */
  6. /* */
  7. /* Copyright 2002, 2003, 2006, 2008 by Roberto Alameda. */
  8. /* */
  9. /* This file is part of the FreeType project, and may only be used, */
  10. /* modified, and distributed under the terms of the FreeType project */
  11. /* license, LICENSE.TXT. By continuing to use, modify, or distribute */
  12. /* this file you indicate that you have read the license and */
  13. /* understand and accept it fully. */
  14. /* */
  15. /***************************************************************************/
  16. #ifndef __T42TYPES_H__
  17. #define __T42TYPES_H__
  18. #include <ft2build.h>
  19. #include FT_FREETYPE_H
  20. #include FT_TYPE1_TABLES_H
  21. #include FT_INTERNAL_TYPE1_TYPES_H
  22. #include FT_INTERNAL_POSTSCRIPT_HINTS_H
  23. FT_BEGIN_HEADER
  24. typedef struct T42_FaceRec_
  25. {
  26. FT_FaceRec root;
  27. T1_FontRec type1;
  28. const void* psnames;
  29. const void* psaux;
  30. #if 0
  31. const void* afm_data;
  32. #endif
  33. FT_Byte* ttf_data;
  34. FT_ULong ttf_size;
  35. FT_Face ttf_face;
  36. FT_CharMapRec charmaprecs[2];
  37. FT_CharMap charmaps[2];
  38. PS_UnicodesRec unicode_map;
  39. } T42_FaceRec, *T42_Face;
  40. FT_END_HEADER
  41. #endif /* __T42TYPES_H__ */
  42. /* END */