2002-05-21 16:13:01 +02:00
|
|
|
/***************************************************************************/
|
|
|
|
/* */
|
|
|
|
/* t42types.h */
|
|
|
|
/* */
|
|
|
|
/* Type 42 font data types (specification only). */
|
|
|
|
/* */
|
2003-12-26 08:26:08 +01:00
|
|
|
/* Copyright 2002, 2003 by Roberto Alameda. */
|
2002-05-21 16:13:01 +02:00
|
|
|
/* */
|
|
|
|
/* This file is part of the FreeType project, and may only be used, */
|
|
|
|
/* modified, and distributed under the terms of the FreeType project */
|
|
|
|
/* license, LICENSE.TXT. By continuing to use, modify, or distribute */
|
|
|
|
/* this file you indicate that you have read the license and */
|
|
|
|
/* understand and accept it fully. */
|
|
|
|
/* */
|
|
|
|
/***************************************************************************/
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef __T42TYPES_H__
|
|
|
|
#define __T42TYPES_H__
|
|
|
|
|
|
|
|
|
|
|
|
#include <ft2build.h>
|
|
|
|
#include FT_FREETYPE_H
|
|
|
|
#include FT_TYPE1_TABLES_H
|
|
|
|
#include FT_INTERNAL_TYPE1_TYPES_H
|
|
|
|
#include FT_INTERNAL_POSTSCRIPT_HINTS_H
|
|
|
|
|
|
|
|
|
|
|
|
FT_BEGIN_HEADER
|
|
|
|
|
2002-06-22 15:35:41 +02:00
|
|
|
|
2002-05-21 16:13:01 +02:00
|
|
|
typedef struct T42_FaceRec_
|
|
|
|
{
|
|
|
|
FT_FaceRec root;
|
2002-06-22 12:07:24 +02:00
|
|
|
T1_FontRec type1;
|
2002-05-21 16:13:01 +02:00
|
|
|
const void* psnames;
|
|
|
|
const void* psaux;
|
|
|
|
const void* afm_data;
|
|
|
|
FT_Byte* ttf_data;
|
|
|
|
FT_ULong ttf_size;
|
|
|
|
FT_Face ttf_face;
|
|
|
|
FT_CharMapRec charmaprecs[2];
|
|
|
|
FT_CharMap charmaps[2];
|
|
|
|
PS_Unicodes unicode_map;
|
|
|
|
|
|
|
|
} T42_FaceRec, *T42_Face;
|
|
|
|
|
|
|
|
|
|
|
|
FT_END_HEADER
|
|
|
|
|
|
|
|
#endif /* __T1TYPES_H__ */
|
|
|
|
|
|
|
|
|
|
|
|
/* END */
|