ref: a13a473dd90d645d7e81baaf27c8331255002a00
parent: 21fb2d9513271af300dea4f45222afdee802ff99
author: Werner Lemberg <[email protected]>
date: Thu Nov 2 10:14:38 EST 2000
More C++ fixes.
--- a/src/cache/ftcimage.c
+++ b/src/cache/ftcimage.c
@@ -96,7 +96,7 @@
&face, &size );
if ( !error )
{
- FT_UInt glyph_index = node->root.glyph_index;
+ FT_UInt gindex = node->root.glyph_index;
FT_UInt load_flags = FT_LOAD_DEFAULT;
FT_UInt image_type = imageset->description.image_type;
@@ -126,7 +126,7 @@
if ( image_type & ftc_image_flag_autohinted )
load_flags |= FT_LOAD_FORCE_AUTOHINT;
- error = FT_Load_Glyph( face, glyph_index, load_flags );
+ error = FT_Load_Glyph( face, gindex, load_flags );
if ( !error )
{
if ( face->glyph->format == ft_glyph_format_bitmap ||
--- a/src/truetype/ttinterp.c
+++ b/src/truetype/ttinterp.c
@@ -1278,7 +1278,7 @@
/*************************************************************************/
- static
+ LOCAL_FUNC_X
FT_F26Dot6 Read_CVT( EXEC_OP_ FT_ULong index )
{
return CUR.cvt[index];
@@ -1285,7 +1285,7 @@
}
- static
+ LOCAL_FUNC_X
FT_F26Dot6 Read_CVT_Stretched( EXEC_OP_ FT_ULong index )
{
return TT_MULFIX( CUR.cvt[index], CURRENT_Ratio() );
@@ -1292,7 +1292,7 @@
}
- static
+ LOCAL_FUNC_X
void Write_CVT( EXEC_OP_ FT_ULong index,
FT_F26Dot6 value )
{
@@ -1300,7 +1300,7 @@
}
- static
+ LOCAL_FUNC_X
void Write_CVT_Stretched( EXEC_OP_ FT_ULong index,
FT_F26Dot6 value )
{
@@ -1308,7 +1308,7 @@
}
- static
+ LOCAL_FUNC_X
void Move_CVT( EXEC_OP_ FT_ULong index,
FT_F26Dot6 value )
{
@@ -1316,7 +1316,7 @@
}
- static
+ LOCAL_FUNC_X
void Move_CVT_Stretched( EXEC_OP_ FT_ULong index,
FT_F26Dot6 value )
{
--- a/src/type1/t1load.c
+++ b/src/type1/t1load.c
@@ -972,7 +972,7 @@
/* We need to `zero' out encoding_table.elements */
for ( n = 0; n < count; n++ )
{
- char* notdef = ".notdef";
+ char* notdef = (char *)".notdef";
T1_Add_Table( char_table, n, notdef, 8 );
@@ -1342,7 +1342,7 @@
/* 0 333 hsbw endchar */
FT_Byte notdef_glyph[] = {0x8B, 0xF7, 0xE1, 0x0D, 0x0E};
- char* notdef_name = ".notdef";
+ char* notdef_name = (char *)".notdef";
error = T1_Add_Table( name_table, n,