Lines 180-191
Link Here
|
180 |
} |
180 |
} |
181 |
|
181 |
|
182 |
// if we have the FT2 bytecode interpreter, autohinting won't be used |
182 |
// if we have the FT2 bytecode interpreter, autohinting won't be used |
183 |
#ifdef TT_CONFIG_OPTION_BYTECODE_INTERPRETER |
183 |
//#ifdef TT_CONFIG_OPTION_BYTECODE_INTERPRETER |
184 |
if (FT_Load_Glyph(ff->face, gid, |
184 |
// if (FT_Load_Glyph(ff->face, gid, |
185 |
aa ? FT_LOAD_NO_BITMAP : FT_LOAD_DEFAULT)) { |
185 |
// aa ? FT_LOAD_NO_BITMAP : FT_LOAD_DEFAULT)) { |
186 |
return gFalse; |
186 |
// return gFalse; |
187 |
} |
187 |
// } |
188 |
#else |
188 |
//#else |
189 |
// FT2's autohinting doesn't always work very well (especially with |
189 |
// FT2's autohinting doesn't always work very well (especially with |
190 |
// font subsets), so turn it off if anti-aliasing is enabled; if |
190 |
// font subsets), so turn it off if anti-aliasing is enabled; if |
191 |
// anti-aliasing is disabled, this seems to be a tossup - some fonts |
191 |
// anti-aliasing is disabled, this seems to be a tossup - some fonts |
Lines 195-201
Link Here
|
195 |
: FT_LOAD_DEFAULT)) { |
195 |
: FT_LOAD_DEFAULT)) { |
196 |
return gFalse; |
196 |
return gFalse; |
197 |
} |
197 |
} |
198 |
#endif |
198 |
//#endif |
199 |
|
199 |
|
200 |
FT_Glyph_Metrics *glyphMetrics = &(ff->face->glyph->metrics); |
200 |
FT_Glyph_Metrics *glyphMetrics = &(ff->face->glyph->metrics); |
201 |
// prelimirary values from FT_Glyph_Metrics |
201 |
// prelimirary values from FT_Glyph_Metrics |