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

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

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

revision 1.27 by wl, Mon May 30 07:54:20 2005 UTC revision 1.28 by wl, Thu Jun 16 19:07:08 2005 UTC
# Line 81  Line 81 
81    
82      /* some reasonable strength */      /* some reasonable strength */
83      xstr = FT_MulFix( face->units_per_EM,      xstr = FT_MulFix( face->units_per_EM,
84                        face->size->metrics.y_scale ) / 42;                        face->size->metrics.y_scale ) / 24;
85      ystr = xstr;      ystr = xstr;
86    
87      if ( slot->format == FT_GLYPH_FORMAT_OUTLINE )      if ( slot->format == FT_GLYPH_FORMAT_OUTLINE )
# Line 122  Line 122 
122      /* modify the metrics accordingly */      /* modify the metrics accordingly */
123      if ( !error )      if ( !error )
124      {      {
125          /* assume the layout is horizontal */
126        slot->advance.x += xstr;        slot->advance.x += xstr;
       slot->advance.y += ystr;  
127    
128        slot->metrics.width        += xstr;        slot->metrics.width        += xstr;
129        slot->metrics.height       += ystr;        slot->metrics.height       += ystr;

Legend:
Removed from v.1.27  
changed lines
  Added in v.1.28

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