* src/cache/ftcimage.c (ftc_inode_weight): Formatting.

adjust
Alexei Podtelezhnikov 8 months ago
parent 4e079f6357
commit 1168b1b5b0
  1. 6
      src/cache/ftcimage.c

@ -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…
Cancel
Save