forked from minhngoc25a/freetype2
Add a comment there. That part can be confusing.
This commit is contained in:
parent
bb1b25e560
commit
2d13c5127c
|
@ -884,6 +884,11 @@
|
||||||
if ( ( load_flags & FT_LOAD_COLOR ) &&
|
if ( ( load_flags & FT_LOAD_COLOR ) &&
|
||||||
( ttface->svg ) )
|
( ttface->svg ) )
|
||||||
{
|
{
|
||||||
|
/* load the TTF/CFF glyph without any scaling,
|
||||||
|
* this is so that ultimately, these outlines
|
||||||
|
* can be used to calculate the bounding box and
|
||||||
|
* the advance metrics
|
||||||
|
*/
|
||||||
FT_Load_Glyph( face, glyph_index, FT_LOAD_NO_SCALE);
|
FT_Load_Glyph( face, glyph_index, FT_LOAD_NO_SCALE);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue