summaryrefslogtreecommitdiff
path: root/pango/opentype/harfbuzz-gsub.h
diff options
context:
space:
mode:
Diffstat (limited to 'pango/opentype/harfbuzz-gsub.h')
-rw-r--r--pango/opentype/harfbuzz-gsub.h50
1 files changed, 25 insertions, 25 deletions
diff --git a/pango/opentype/harfbuzz-gsub.h b/pango/opentype/harfbuzz-gsub.h
index 129671b4..3f8ed7c0 100644
--- a/pango/opentype/harfbuzz-gsub.h
+++ b/pango/opentype/harfbuzz-gsub.h
@@ -16,7 +16,7 @@
#include "harfbuzz-gdef.h"
#include "harfbuzz-buffer.h"
-FT_BEGIN_HEADER
+HB_BEGIN_HEADER
#define HB_Err_Invalid_GSUB_SubTable_Format 0x1010
#define HB_Err_Invalid_GSUB_SubTable 0x1011
@@ -41,16 +41,16 @@ FT_BEGIN_HEADER
HB_GSUB_Register_Alternate_Function(). The function must return an
index into the `alternates' array. */
-typedef FT_UShort (*HB_AltFunction)(FT_ULong pos,
- FT_UShort glyphID,
- FT_UShort num_alternates,
- FT_UShort* alternates,
+typedef HB_UShort (*HB_AltFunction)(HB_UInt pos,
+ HB_UShort glyphID,
+ HB_UShort num_alternates,
+ HB_UShort* alternates,
void* data );
struct HB_GSUBHeader_
{
- FT_ULong offset;
+ HB_UInt offset;
FT_Fixed Version;
@@ -80,38 +80,38 @@ HB_Error HB_Done_GSUB_Table( HB_GSUBHeader* gsub );
HB_Error HB_GSUB_Select_Script( HB_GSUBHeader* gsub,
- FT_ULong script_tag,
- FT_UShort* script_index );
+ HB_UInt script_tag,
+ HB_UShort* script_index );
HB_Error HB_GSUB_Select_Language( HB_GSUBHeader* gsub,
- FT_ULong language_tag,
- FT_UShort script_index,
- FT_UShort* language_index,
- FT_UShort* req_feature_index );
+ HB_UInt language_tag,
+ HB_UShort script_index,
+ HB_UShort* language_index,
+ HB_UShort* req_feature_index );
HB_Error HB_GSUB_Select_Feature( HB_GSUBHeader* gsub,
- FT_ULong feature_tag,
- FT_UShort script_index,
- FT_UShort language_index,
- FT_UShort* feature_index );
+ HB_UInt feature_tag,
+ HB_UShort script_index,
+ HB_UShort language_index,
+ HB_UShort* feature_index );
HB_Error HB_GSUB_Query_Scripts( HB_GSUBHeader* gsub,
- FT_ULong** script_tag_list );
+ HB_UInt** script_tag_list );
HB_Error HB_GSUB_Query_Languages( HB_GSUBHeader* gsub,
- FT_UShort script_index,
- FT_ULong** language_tag_list );
+ HB_UShort script_index,
+ HB_UInt** language_tag_list );
HB_Error HB_GSUB_Query_Features( HB_GSUBHeader* gsub,
- FT_UShort script_index,
- FT_UShort language_index,
- FT_ULong** feature_tag_list );
+ HB_UShort script_index,
+ HB_UShort language_index,
+ HB_UInt** feature_tag_list );
HB_Error HB_GSUB_Add_Feature( HB_GSUBHeader* gsub,
- FT_UShort feature_index,
- FT_UInt property );
+ HB_UShort feature_index,
+ HB_UInt property );
HB_Error HB_GSUB_Clear_Features( HB_GSUBHeader* gsub );
@@ -125,6 +125,6 @@ HB_Error HB_GSUB_Apply_String( HB_GSUBHeader* gsub,
HB_Buffer buffer );
-FT_END_HEADER
+HB_END_HEADER
#endif /* HARFBUZZ_GSUB_H */