2018-06-03 09:01:17 +02:00
|
|
|
/****************************************************************************
|
|
|
|
*
|
|
|
|
* cidload.h
|
|
|
|
*
|
|
|
|
* CID-keyed Type1 font loader (specification).
|
|
|
|
*
|
2021-01-17 07:18:48 +01:00
|
|
|
* Copyright (C) 1996-2021 by
|
2018-06-03 09:01:17 +02:00
|
|
|
* 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-16 08:49:56 +02:00
|
|
|
|
|
|
|
|
2016-01-12 21:37:13 +01:00
|
|
|
#ifndef CIDLOAD_H_
|
|
|
|
#define CIDLOAD_H_
|
2000-06-01 05:27:48 +02:00
|
|
|
|
2000-12-08 17:17:16 +01:00
|
|
|
|
2020-06-08 13:31:55 +02:00
|
|
|
#include <freetype/internal/ftstream.h>
|
2001-03-20 12:14:24 +01:00
|
|
|
#include "cidparse.h"
|
2000-12-08 17:17:16 +01:00
|
|
|
|
2000-06-01 05:27:48 +02:00
|
|
|
|
2000-12-08 03:42:29 +01:00
|
|
|
FT_BEGIN_HEADER
|
2000-06-01 05:27:48 +02:00
|
|
|
|
2000-12-08 17:17:16 +01:00
|
|
|
|
2000-06-16 08:49:56 +02:00
|
|
|
typedef struct CID_Loader_
|
|
|
|
{
|
|
|
|
CID_Parser parser; /* parser used to read the stream */
|
2000-06-16 21:34:52 +02:00
|
|
|
FT_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
|
|
|
|
2015-02-20 20:14:11 +01:00
|
|
|
FT_LOCAL( FT_ULong )
|
2001-06-27 21:46:12 +02:00
|
|
|
cid_get_offset( FT_Byte** start,
|
2021-10-08 04:41:56 +02:00
|
|
|
FT_UInt offsize );
|
2000-06-01 05:27:48 +02:00
|
|
|
|
2002-03-01 03:26:22 +01:00
|
|
|
FT_LOCAL( FT_Error )
|
2004-01-23 20:52:40 +01:00
|
|
|
cid_face_open( CID_Face face,
|
|
|
|
FT_Int face_index );
|
2000-06-16 08:49:56 +02:00
|
|
|
|
2000-12-08 17:17:16 +01:00
|
|
|
|
2000-12-08 03:42:29 +01:00
|
|
|
FT_END_HEADER
|
2000-06-16 08:49:56 +02:00
|
|
|
|
2016-01-12 21:37:13 +01:00
|
|
|
#endif /* CIDLOAD_H_ */
|
2000-06-01 05:27:48 +02:00
|
|
|
|
|
|
|
|
|
|
|
/* END */
|