/[freetype]/freetype2/src/base/ftobjs.c
ViewVC logotype

Diff of /freetype2/src/base/ftobjs.c

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

revision 1.210 by freetype, Wed Mar 9 17:36:02 2005 UTC revision 1.211 by wl, Thu Mar 10 06:28:07 2005 UTC
# Line 2011  Line 2011 
2011        FT_UShort  x_ppem = (FT_UShort)( ( dim_x + 32 ) >> 6 );        FT_UShort  x_ppem = (FT_UShort)( ( dim_x + 32 ) >> 6 );
2012        FT_UShort  y_ppem = (FT_UShort)( ( dim_y + 32 ) >> 6 );        FT_UShort  y_ppem = (FT_UShort)( ( dim_y + 32 ) >> 6 );
2013    
2014      /* this code is disabled, for an explanation, see bug#12263 */  
2015          /* Don't take, say, 12.5x12.5 equal to 13x13.  If working with */
2016          /* fractional font sizes this would hide slightly different    */
2017          /* font metrics.  Consequently, the next two lines are         */
2018          /* disabled.                                                   */
2019  #if 0  #if 0
2020        if ( x_ppem == metrics->x_ppem && y_ppem == metrics->y_ppem )        if ( x_ppem == metrics->x_ppem && y_ppem == metrics->y_ppem )
2021          return FT_Err_Ok;          return FT_Err_Ok;
2022  #endif  #endif
2023    
2024        metrics->x_ppem = x_ppem;        metrics->x_ppem = x_ppem;
2025        metrics->y_ppem = y_ppem;        metrics->y_ppem = y_ppem;
2026      }      }

Legend:
Removed from v.1.210  
changed lines
  Added in v.1.211

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