2073 {
2077#ifdef DEBUG_HINTER
2079#endif
2081
2082
2083
2086
2087#ifdef DEBUG_HINTER
2088
2089 memory = globals->memory;
2090
2091 if ( ps_debug_glyph )
2092 {
2095 }
2096
2099
2100 ps_debug_glyph = glyph;
2101
2102#endif
2103
2107
2108
2109
2110
2111 {
2114
2117
2120
2123
2125
2126
2127 scaled =
FT_MulFix( globals->blues.normal_top.zones->org_ref, y_scale );
2129
2130 if ( fitted != 0 && scaled != fitted )
2131 {
2133
2134 y_scale =
FT_MulDiv( y_scale, fitted, scaled );
2135
2136 if ( fitted < scaled )
2137 x_scale -= x_scale / 50;
2138
2140 }
2141
2144
2147
2150
2152
2153 for ( dimension = 0; dimension < 2; dimension++ )
2154 {
2155
2157
2158
2160
2161
2164 dimension,
2165 glyph );
2166
2167
2169 if ( dimension == 1 )
2174
2175
2177
2178 if ( rescale )
2180 old_x_scale, old_y_scale, 0, 0 );
2181 }
2182 }
2183
2185
2186#ifndef DEBUG_HINTER
2188#endif
2189
2191 }
FT_MulDiv(FT_Long a, FT_Long b, FT_Long c)
FT_MulFix(FT_Long a, FT_Long b)
typedefFT_BEGIN_HEADER struct FT_MemoryRec_ * FT_Memory
FT_BEGIN_HEADER typedef unsigned char FT_Bool
static char memory[1024 *256]
static void psh_glyph_interpolate_other_points(PSH_Glyph glyph, FT_Int dimension)
static void psh_glyph_compute_extrema(PSH_Glyph glyph)
static void psh_glyph_interpolate_strong_points(PSH_Glyph glyph, FT_Int dimension)
static void psh_glyph_find_strong_points(PSH_Glyph glyph, FT_Int dimension)
static void psh_glyph_find_blue_points(PSH_Blues blues, PSH_Glyph glyph)
static void psh_glyph_save_points(PSH_Glyph glyph, FT_Int dimension)
static void psh_glyph_done(PSH_Glyph glyph)
static void psh_glyph_load_points(PSH_Glyph glyph, FT_Int dimension)
static void psh_hint_table_align_hints(PSH_Hint_Table table, PSH_Globals globals, FT_Int dimension, PSH_Glyph glyph)
static void psh_glyph_interpolate_normal_points(PSH_Glyph glyph, FT_Int dimension)
static FT_Error psh_glyph_init(PSH_Glyph glyph, FT_Outline *outline, PS_Hints ps_hints, PSH_Globals globals)
psh_globals_set_scale(PSH_Globals globals, FT_Fixed x_scale, FT_Fixed y_scale, FT_Fixed x_delta, FT_Fixed y_delta)
PSH_Hint_TableRec hint_tables[2]