2000-06-16 08:49:56 +02:00
|
|
|
/***************************************************************************/
|
|
|
|
/* */
|
|
|
|
/* cidload.h */
|
|
|
|
/* */
|
|
|
|
/* CID-keyed Type1 font loader (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. */
|
|
|
|
/* */
|
|
|
|
/***************************************************************************/
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef CIDLOAD_H
|
|
|
|
#define CIDLOAD_H
|
2000-06-01 05:27:48 +02:00
|
|
|
|
|
|
|
#include <freetype/internal/ftstream.h>
|
|
|
|
#include <cidparse.h>
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2000-06-16 08:49:56 +02:00
|
|
|
typedef struct CID_Loader_
|
|
|
|
{
|
|
|
|
CID_Parser parser; /* parser used to read the stream */
|
|
|
|
T1_Int num_chars; /* number of characters in encoding */
|
2000-06-01 05:27:48 +02:00
|
|
|
|
|
|
|
} CID_Loader;
|
|
|
|
|
2000-06-16 08:49:56 +02:00
|
|
|
|
2000-06-01 05:27:48 +02:00
|
|
|
LOCAL_DEF
|
2000-06-16 08:49:56 +02:00
|
|
|
T1_Long cid_get_offset( T1_Byte** start,
|
|
|
|
T1_Byte offsize );
|
2000-06-01 05:27:48 +02:00
|
|
|
|
|
|
|
LOCAL_DEF
|
2000-06-16 08:49:56 +02:00
|
|
|
void cid_decrypt( T1_Byte* buffer,
|
|
|
|
T1_Int length,
|
|
|
|
T1_UShort seed );
|
2000-06-01 05:27:48 +02:00
|
|
|
|
|
|
|
LOCAL_DEF
|
2000-06-16 08:49:56 +02:00
|
|
|
T1_Error CID_Open_Face( CID_Face face );
|
|
|
|
|
2000-06-01 05:27:48 +02:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2000-06-16 08:49:56 +02:00
|
|
|
|
|
|
|
#endif /* CIDLOAD_H */
|
2000-06-01 05:27:48 +02:00
|
|
|
|
|
|
|
|
|
|
|
/* END */
|