2000-06-14 01:21:00 +02:00
|
|
|
/***************************************************************************/
|
|
|
|
/* */
|
|
|
|
/* cidafm.h */
|
|
|
|
/* */
|
|
|
|
/* AFM support for CID-keyed fonts (specification). */
|
|
|
|
/* */
|
|
|
|
/* Copyright 1996-2000 by */
|
|
|
|
/* David Turner, Robert Wilhelm, and Werner Lemberg. */
|
|
|
|
/* */
|
|
|
|
/* 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. */
|
|
|
|
/* */
|
|
|
|
/***************************************************************************/
|
|
|
|
|
2000-06-01 05:27:48 +02:00
|
|
|
|
2000-06-16 08:49:56 +02:00
|
|
|
#ifndef CIDAFM_H
|
|
|
|
#define CIDAFM_H
|
2000-06-01 05:27:48 +02:00
|
|
|
|
2000-06-14 01:21:00 +02:00
|
|
|
#include <cidobjs.h>
|
2000-06-01 05:27:48 +02:00
|
|
|
|
2000-06-14 01:21:00 +02:00
|
|
|
typedef struct T1_Kern_Pair_
|
|
|
|
{
|
2000-06-16 21:34:52 +02:00
|
|
|
FT_UInt glyph1;
|
|
|
|
FT_UInt glyph2;
|
|
|
|
FT_Vector kerning;
|
2000-06-01 05:27:48 +02:00
|
|
|
|
2000-06-14 01:21:00 +02:00
|
|
|
} T1_Kern_Pair;
|
2000-06-01 05:27:48 +02:00
|
|
|
|
2000-06-14 01:21:00 +02:00
|
|
|
typedef struct T1_AFM_
|
|
|
|
{
|
2000-06-16 21:34:52 +02:00
|
|
|
FT_Int num_pairs;
|
2000-06-14 01:21:00 +02:00
|
|
|
T1_Kern_Pair* kern_pairs;
|
2000-06-01 05:27:48 +02:00
|
|
|
|
2000-06-14 01:21:00 +02:00
|
|
|
} T1_AFM;
|
2000-06-01 05:27:48 +02:00
|
|
|
|
|
|
|
|
|
|
|
#if 0
|
|
|
|
|
|
|
|
LOCAL_DEF
|
2000-06-16 21:34:52 +02:00
|
|
|
FT_Error CID_Read_AFM( FT_Face face,
|
2000-06-01 05:27:48 +02:00
|
|
|
FT_Stream stream );
|
|
|
|
|
|
|
|
LOCAL_DEF
|
2000-06-14 01:21:00 +02:00
|
|
|
void CID_Done_AFM( FT_Memory memory,
|
|
|
|
T1_AFM* afm );
|
2000-06-01 05:27:48 +02:00
|
|
|
|
|
|
|
LOCAL_DEF
|
|
|
|
void CID_Get_Kerning( T1_AFM* afm,
|
2000-06-16 21:34:52 +02:00
|
|
|
FT_UInt glyph1,
|
|
|
|
FT_UInt glyph2,
|
|
|
|
FT_Vector* kerning );
|
2000-06-14 01:21:00 +02:00
|
|
|
|
2000-06-01 05:27:48 +02:00
|
|
|
#endif
|
|
|
|
|
2000-06-16 08:49:56 +02:00
|
|
|
#endif /* CIDAFM_H */
|
2000-06-14 01:21:00 +02:00
|
|
|
|
|
|
|
|
|
|
|
/* END */
|