summaryrefslogtreecommitdiffstats
path: root/src/psaux/afmparse.h
diff options
context:
space:
mode:
authorThe Android Open Source Project <initial-contribution@android.com>2009-03-03 18:28:24 -0800
committerThe Android Open Source Project <initial-contribution@android.com>2009-03-03 18:28:24 -0800
commited49a886544c69b375cd7bce63e9ace9bfbad0e5 (patch)
tree4b825dc642cb6eb9a060e54bf8d69288fbee4904 /src/psaux/afmparse.h
parentb36db06baca4c030538565e01b8264971c9b69f8 (diff)
downloadandroid_external_freetype-ed49a886544c69b375cd7bce63e9ace9bfbad0e5.tar.gz
android_external_freetype-ed49a886544c69b375cd7bce63e9ace9bfbad0e5.tar.bz2
android_external_freetype-ed49a886544c69b375cd7bce63e9ace9bfbad0e5.zip
auto import from //depot/cupcake/@135843
Diffstat (limited to 'src/psaux/afmparse.h')
-rw-r--r--src/psaux/afmparse.h87
1 files changed, 0 insertions, 87 deletions
diff --git a/src/psaux/afmparse.h b/src/psaux/afmparse.h
deleted file mode 100644
index c2fce75..0000000
--- a/src/psaux/afmparse.h
+++ /dev/null
@@ -1,87 +0,0 @@
-/***************************************************************************/
-/* */
-/* afmparse.h */
-/* */
-/* AFM parser (specification). */
-/* */
-/* Copyright 2006 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 __AFMPARSE_H__
-#define __AFMPARSE_H__
-
-
-#include <ft2build.h>
-#include FT_INTERNAL_POSTSCRIPT_AUX_H
-
-
-FT_BEGIN_HEADER
-
-
- FT_LOCAL( FT_Error )
- afm_parser_init( AFM_Parser parser,
- FT_Memory memory,
- FT_Byte* base,
- FT_Byte* limit );
-
-
- FT_LOCAL( void )
- afm_parser_done( AFM_Parser parser );
-
-
- FT_LOCAL( FT_Error )
- afm_parser_parse( AFM_Parser parser );
-
-
- enum AFM_ValueType_
- {
- AFM_VALUE_TYPE_STRING,
- AFM_VALUE_TYPE_NAME,
- AFM_VALUE_TYPE_FIXED, /* real number */
- AFM_VALUE_TYPE_INTEGER,
- AFM_VALUE_TYPE_BOOL,
- AFM_VALUE_TYPE_INDEX /* glyph index */
- };
-
-
- typedef struct AFM_ValueRec_
- {
- enum AFM_ValueType_ type;
- union {
- char* s;
- FT_Fixed f;
- FT_Int i;
- FT_Bool b;
-
- } u;
-
- } AFM_ValueRec, *AFM_Value;
-
-#define AFM_MAX_ARGUMENTS 5
-
- FT_LOCAL( FT_Int )
- afm_parser_read_vals( AFM_Parser parser,
- AFM_Value vals,
- FT_Int n );
-
- /* read the next key from the next line or column */
- FT_LOCAL( char* )
- afm_parser_next_key( AFM_Parser parser,
- FT_Bool line,
- FT_UInt* len );
-
-FT_END_HEADER
-
-#endif /* __AFMPARSE_H__ */
-
-
-/* END */