2000-01-27 15:02:04 +01:00
|
|
|
/*******************************************************************
|
|
|
|
*
|
|
|
|
* t1load.h 2.0
|
|
|
|
*
|
2000-05-17 01:44:38 +02:00
|
|
|
* Type1 Loader.
|
2000-01-27 15:02:04 +01:00
|
|
|
*
|
|
|
|
* 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 T1LOAD_H
|
|
|
|
#define T1LOAD_H
|
|
|
|
|
2000-05-11 20:23:52 +02:00
|
|
|
#include <freetype/internal/ftstream.h>
|
2000-01-27 15:02:04 +01:00
|
|
|
#include <t1parse.h>
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
typedef struct T1_Loader_
|
|
|
|
{
|
|
|
|
T1_Parser parser; /* parser used to read the stream */
|
|
|
|
|
|
|
|
T1_Int num_chars; /* number of characters in encoding */
|
|
|
|
T1_Table encoding_table; /* T1_Table used to store the */
|
|
|
|
/* encoding character names */
|
2000-05-17 01:44:38 +02:00
|
|
|
|
|
|
|
T1_Int num_glyphs;
|
2000-01-27 15:02:04 +01:00
|
|
|
T1_Table glyph_names;
|
|
|
|
T1_Table charstrings;
|
2000-05-17 01:44:38 +02:00
|
|
|
|
2000-01-27 15:02:04 +01:00
|
|
|
T1_Int num_subrs;
|
|
|
|
T1_Table subrs;
|
2000-05-24 23:12:02 +02:00
|
|
|
T1_Bool fontdata;
|
2000-05-17 01:44:38 +02:00
|
|
|
|
2000-01-27 15:02:04 +01:00
|
|
|
} T1_Loader;
|
|
|
|
|
|
|
|
LOCAL_DEF
|
|
|
|
T1_Error T1_Open_Face( T1_Face face );
|
|
|
|
|
2000-05-26 04:07:40 +02:00
|
|
|
#ifndef T1_CONFIG_OPTION_NO_MM_SUPPORT
|
|
|
|
LOCAL_DEF
|
|
|
|
void T1_Done_Blend( T1_Face face );
|
|
|
|
#endif
|
2000-01-27 15:02:04 +01:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif /* T1LOAD_H */
|
|
|
|
|
|
|
|
|
|
|
|
/* END */
|