2002-05-21 16:13:01 +02:00
|
|
|
/***************************************************************************/
|
|
|
|
/* */
|
|
|
|
/* t42types.h */
|
|
|
|
/* */
|
|
|
|
/* Type 42 font data types (specification only). */
|
|
|
|
/* */
|
2015-01-17 20:41:43 +01:00
|
|
|
/* Copyright 2002-2015 by */
|
2015-01-17 20:11:10 +01:00
|
|
|
/* 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_
|
|
|
|
{
|
2006-01-12 09:12:27 +01:00
|
|
|
FT_FaceRec root;
|
|
|
|
T1_FontRec type1;
|
|
|
|
const void* psnames;
|
|
|
|
const void* psaux;
|
2008-09-22 10:55:44 +02:00
|
|
|
#if 0
|
2006-01-12 09:12:27 +01:00
|
|
|
const void* afm_data;
|
2008-09-22 10:55:44 +02:00
|
|
|
#endif
|
2006-01-12 09:12:27 +01:00
|
|
|
FT_Byte* ttf_data;
|
|
|
|
FT_ULong ttf_size;
|
|
|
|
FT_Face ttf_face;
|
|
|
|
FT_CharMapRec charmaprecs[2];
|
|
|
|
FT_CharMap charmaps[2];
|
|
|
|
PS_UnicodesRec unicode_map;
|
2002-05-21 16:13:01 +02:00
|
|
|
|
|
|
|
} T42_FaceRec, *T42_Face;
|
|
|
|
|
|
|
|
|
|
|
|
FT_END_HEADER
|
|
|
|
|
2008-09-22 10:55:44 +02:00
|
|
|
#endif /* __T42TYPES_H__ */
|
2002-05-21 16:13:01 +02:00
|
|
|
|
|
|
|
|
|
|
|
/* END */
|