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

This commit is contained in:
Alexei Podtelezhnikov 2024-04-27 20:44:01 -04:00
parent 4e079f6357
commit 1168b1b5b0
1 changed files with 2 additions and 4 deletions

View File

@ -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 ) +