/[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.28 by wl, Thu Jun 16 19:07:08 2005 UTC revision 1.29 by olvaffe, Mon Jun 20 09:04:50 2005 UTC
# Line 87  Line 87 
87      if ( slot->format == FT_GLYPH_FORMAT_OUTLINE )      if ( slot->format == FT_GLYPH_FORMAT_OUTLINE )
88      {      {
89        error = FT_Outline_Embolden( &slot->outline, xstr );        error = FT_Outline_Embolden( &slot->outline, xstr );
90        xstr = xstr * 4;  /* according to the documentation */  
91          /* this is more than enough for most glyphs                     */
92          /* if you need accurate values, you have to FT_Outline_Get_CBox */
93          xstr = xstr * 2;
94        ystr = xstr;        ystr = xstr;
95      }      }
96      else if ( slot->format == FT_GLYPH_FORMAT_BITMAP )      else if ( slot->format == FT_GLYPH_FORMAT_BITMAP )

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

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