* src/truetype/ttgload.c (tt_face_get_metrics) [FT_OPTIMIZE_MEMORY]:


			
			
				CACHE
			
			
		
Werner Lemberg 20 years ago
parent 5f501a4a98
commit 57214ba86a
  1. 5
      ChangeLog
  2. 4
      src/truetype/ttgload.c

@ -1,3 +1,8 @@
2005-04-06 Werner Lemberg <wl@gnu.org>
* src/truetype/ttgload.c (tt_face_get_metrics) [FT_OPTIMIZE_MEMORY]:
Fix typo which sometimes causes wrong metrics for the last glyph.
2005-04-04 David Turner <david@freetype.org>
* devel/ftoption.h, include/freetype/config/ftoption.h

@ -75,7 +75,7 @@
/*************************************************************************/
/* */
/* <Function> */
/* TT_Get_Metrics */
/* tt_face_get_metrics */
/* */
/* <Description> */
/* Returns the horizontal or vertical metrics in font units for a */
@ -132,7 +132,7 @@
if ( idx < (FT_UInt)k )
{
p += 4 * idx;
if ( p + 4 >= limit )
if ( p + 4 > limit )
goto NoData;
*aadvance = FT_NEXT_USHORT( p );

Loading…
Cancel
Save