/[freetype]/freetype2/src/pshinter/pshalgo.c
ViewVC logotype

Diff of /freetype2/src/pshinter/pshalgo.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.10 by werner, Fri Mar 5 09:26:22 2004 UTC revision 1.11 by wl, Sat Apr 9 09:50:39 2005 UTC
# Line 4  Line 4 
4  /*                                                                         */  /*                                                                         */
5  /*    PostScript hinting algorithm (body).                                 */  /*    PostScript hinting algorithm (body).                                 */
6  /*                                                                         */  /*                                                                         */
7  /*  Copyright 2001, 2002, 2003, 2004 by                                    */  /*  Copyright 2001, 2002, 2003, 2004, 2005 by                              */
8  /*  David Turner, Robert Wilhelm, and Werner Lemberg.                      */  /*  David Turner, Robert Wilhelm, and Werner Lemberg.                      */
9  /*                                                                         */  /*                                                                         */
10  /*  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        */
# Line 2031  Line 2031 
2031        scaled = FT_MulFix( globals->blues.normal_top.zones->org_ref, y_scale );        scaled = FT_MulFix( globals->blues.normal_top.zones->org_ref, y_scale );
2032        fitted = FT_PIX_ROUND( scaled );        fitted = FT_PIX_ROUND( scaled );
2033    
2034        if (scaled != fitted ) {        if ( fitted != 0 && scaled != fitted )
2035          {
2036          y_scale = FT_MulDiv( y_scale, fitted, scaled );          y_scale = FT_MulDiv( y_scale, fitted, scaled );
2037    
2038          if ( fitted < scaled )          if ( fitted < scaled )

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26