2000-07-08 21:51:42 +02:00
|
|
|
/***************************************************************************/
|
|
|
|
/* */
|
2000-10-28 19:10:06 +02:00
|
|
|
/* t1gload.h */
|
2000-07-08 21:51:42 +02:00
|
|
|
/* */
|
2000-10-28 19:10:06 +02:00
|
|
|
/* Type 1 Glyph Loader (specification). */
|
2000-07-08 21:51:42 +02: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. */
|
|
|
|
/* */
|
|
|
|
/***************************************************************************/
|
|
|
|
|
2000-01-27 15:02:04 +01:00
|
|
|
|
2000-12-09 01:45:38 +01:00
|
|
|
#ifndef __T1GLOAD_H__
|
|
|
|
#define __T1GLOAD_H__
|
2000-01-27 15:02:04 +01:00
|
|
|
|
2000-12-08 17:17:16 +01:00
|
|
|
|
2000-12-08 03:42:29 +01:00
|
|
|
#include <ft2build.h>
|
* include/freetype/config/ft2build.h (FT2_ROOT, FT2_CONFIG_ROOT):
Removed. ANSI C doesn't (explicitly) allow macro expansion in
arguments using `##'.
(FT2_PUBLIC_FILE, FT2_CONFIG_FILE, FT2_INTERNAL_FILE): Use directory
names directly. Make them configurable. Use `##' to strip leading
and trailing spaces from arguments.
* builds/unix/ft2unix.h: Adapted.
* src/base/ftsystem.c (ft_alloc, ft_realloc, ft_free, ft_io_stream,
ft_close_stream): Use FT_CALLBACK_DEF.
* builds/unix/ftsystem.c: Use new header scheme.
(FT_Done_Memory): Use free() from FT_Memory structure.
* src/base/ftinit.c, src/base/ftmac.c: Header scheme fixes.
* include/freetype/config/ft2build.h (FT2_CONFIG_ROOT,
FT2_PUBLIC_FILE, FT2_CONFIG_FILE, FT2_INTERNAL_FILE,
FT_SOURCE_FILE): Use `##' operator to be really ANSI C compliant.
2000-12-12 23:28:12 +01:00
|
|
|
#include FT_SOURCE_FILE( type1, t1objs.h )
|
2000-07-08 21:51:42 +02:00
|
|
|
|
2000-12-08 17:17:16 +01:00
|
|
|
|
2000-12-08 03:42:29 +01:00
|
|
|
FT_BEGIN_HEADER
|
2000-01-27 15:02:04 +01:00
|
|
|
|
2000-12-08 17:17:16 +01:00
|
|
|
|
2000-11-04 02:55:49 +01:00
|
|
|
FT_LOCAL
|
2000-10-28 19:10:06 +02:00
|
|
|
FT_Error T1_Compute_Max_Advance( T1_Face face,
|
2000-07-08 21:51:42 +02:00
|
|
|
FT_Int* max_advance );
|
2000-01-27 15:02:04 +01:00
|
|
|
|
2000-11-04 02:55:49 +01:00
|
|
|
FT_LOCAL
|
2000-10-28 19:10:06 +02:00
|
|
|
FT_Error T1_Load_Glyph( T1_GlyphSlot glyph,
|
|
|
|
T1_Size size,
|
2000-06-16 21:34:52 +02:00
|
|
|
FT_Int glyph_index,
|
|
|
|
FT_Int load_flags );
|
2000-01-27 15:02:04 +01:00
|
|
|
|
|
|
|
|
2000-12-08 03:42:29 +01:00
|
|
|
FT_END_HEADER
|
2000-07-08 21:51:42 +02:00
|
|
|
|
2000-12-09 01:45:38 +01:00
|
|
|
#endif /* __T1GLOAD_H__ */
|
2000-07-08 21:51:42 +02:00
|
|
|
|
|
|
|
|
|
|
|
/* END */
|