* src/cache/ftcimage.c (ftc_inode_weight): Formatting.
This commit is contained in:
parent
4e079f6357
commit
1168b1b5b0
6
src/cache/ftcimage.c
vendored
6
src/cache/ftcimage.c
vendored
@ -115,10 +115,9 @@
|
||||
{
|
||||
case FT_GLYPH_FORMAT_BITMAP:
|
||||
{
|
||||
FT_BitmapGlyph bitg;
|
||||
FT_BitmapGlyph bitg = (FT_BitmapGlyph)glyph;
|
||||
|
||||
|
||||
bitg = (FT_BitmapGlyph)glyph;
|
||||
size = bitg->bitmap.rows * (FT_Offset)FT_ABS( bitg->bitmap.pitch ) +
|
||||
sizeof ( *bitg );
|
||||
}
|
||||
@ -126,10 +125,9 @@
|
||||
|
||||
case FT_GLYPH_FORMAT_OUTLINE:
|
||||
{
|
||||
FT_OutlineGlyph outg;
|
||||
FT_OutlineGlyph outg = (FT_OutlineGlyph)glyph;
|
||||
|
||||
|
||||
outg = (FT_OutlineGlyph)glyph;
|
||||
size = (FT_Offset)outg->outline.n_points *
|
||||
( sizeof ( FT_Vector ) + sizeof ( FT_Byte ) ) +
|
||||
(FT_Offset)outg->outline.n_contours * sizeof ( FT_Short ) +
|
||||
|
Loading…
Reference in New Issue
Block a user