Formatting.

This commit is contained in:
Werner Lemberg 2014-09-22 06:33:38 +02:00
parent 5c894842d3
commit 378266dc1a
2 changed files with 8 additions and 6 deletions

View File

@ -1028,10 +1028,11 @@
edge->first = seg; edge->first = seg;
edge->last = seg; edge->last = seg;
edge->fpos = seg->pos;
edge->opos = edge->pos = FT_MulFix( seg->pos, scale );
seg->edge_next = seg;
edge->dir = seg->dir; edge->dir = seg->dir;
edge->fpos = seg->pos;
edge->opos = FT_MulFix( seg->pos, scale );
edge->pos = edge->opos;
seg->edge_next = seg;
} }
else else
{ {

View File

@ -4,7 +4,7 @@
/* */ /* */
/* Auto-fitter hinting routines for latin writing system (body). */ /* Auto-fitter hinting routines for latin writing system (body). */
/* */ /* */
/* Copyright 2003-2013 by */ /* Copyright 2003-2014 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */ /* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */ /* */
/* This file is part of the FreeType project, and may only be used, */ /* This file is part of the FreeType project, and may only be used, */
@ -1194,9 +1194,10 @@
edge->first = seg; edge->first = seg;
edge->last = seg; edge->last = seg;
edge->fpos = seg->pos;
edge->dir = seg->dir; edge->dir = seg->dir;
edge->opos = edge->pos = FT_MulFix( seg->pos, scale ); edge->fpos = seg->pos;
edge->opos = FT_MulFix( seg->pos, scale );
edge->pos = edge->opos;
seg->edge_next = seg; seg->edge_next = seg;
} }
else else