/[freetype]/freetype2/src/raster/ftraster.c
ViewVC logotype

Diff of /freetype2/src/raster/ftraster.c

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

revision 1.31 by werner, Sat Jun 12 13:21:20 2004 UTC revision 1.32 by wl, Fri Apr 1 23:57:31 2005 UTC
# Line 4  Line 4 
4  /*                                                                         */  /*                                                                         */
5  /*    The FreeType glyph rasterizer (body).                                */  /*    The FreeType glyph rasterizer (body).                                */
6  /*                                                                         */  /*                                                                         */
7  /*  Copyright 1996-2001, 2002, 2003 by                                     */  /*  Copyright 1996-2001, 2002, 2003, 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 2984  Line 2984 
2984      Set_High_Precision( RAS_VARS ras.outline.flags &      Set_High_Precision( RAS_VARS ras.outline.flags &
2985                          FT_OUTLINE_HIGH_PRECISION );                          FT_OUTLINE_HIGH_PRECISION );
2986      ras.scale_shift    = ras.precision_shift;      ras.scale_shift    = ras.precision_shift;
2987        /* Drop-out mode 2 is hard-coded since this is the only mode used */
2988        /* on Windows platforms.  Using other modes, as specified by the  */
2989        /* font, results in misplaced pixels.                             */
2990      ras.dropOutControl = 2;      ras.dropOutControl = 2;
2991      ras.second_pass    = (FT_Byte)( !( ras.outline.flags &      ras.second_pass    = (FT_Byte)( !( ras.outline.flags &
2992                                         FT_OUTLINE_SINGLE_PASS ) );                                         FT_OUTLINE_SINGLE_PASS ) );
# Line 3048  Line 3051 
3051      Set_High_Precision( RAS_VARS ras.outline.flags &      Set_High_Precision( RAS_VARS ras.outline.flags &
3052                          FT_OUTLINE_HIGH_PRECISION );                          FT_OUTLINE_HIGH_PRECISION );
3053      ras.scale_shift    = ras.precision_shift + 1;      ras.scale_shift    = ras.precision_shift + 1;
3054        /* Drop-out mode 2 is hard-coded since this is the only mode used */
3055        /* on Windows platforms.  Using other modes, as specified by the  */
3056        /* font, results in misplaced pixels.                             */
3057      ras.dropOutControl = 2;      ras.dropOutControl = 2;
3058      ras.second_pass    = !( ras.outline.flags & FT_OUTLINE_SINGLE_PASS );      ras.second_pass    = !( ras.outline.flags & FT_OUTLINE_SINGLE_PASS );
3059    

Legend:
Removed from v.1.31  
changed lines
  Added in v.1.32

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