summaryrefslogtreecommitdiff
path: root/third_party/freetype/src/type1/t1afm.c
diff options
context:
space:
mode:
authorOliver Chang <ochang@chromium.org>2015-11-05 14:46:51 -0800
committerOliver Chang <ochang@chromium.org>2015-11-05 14:46:51 -0800
commit87ee069d05ca06f60d6cfacd9e426739d8f2053d (patch)
tree0239c3b2797cef656a31121827d11a0c23454147 /third_party/freetype/src/type1/t1afm.c
parentff5adbc0dfa71270a9979f0c3e1d27923c16218a (diff)
downloadpdfium-87ee069d05ca06f60d6cfacd9e426739d8f2053d.tar.xz
Update bundled freetype to 2.6.1
Also adds a README.pdfium and 0000-include.patch that details the local modifications made. Also rolls testing/corpus to 45f88c6914fcac26ad930bb0ebbfa468c21db0a5 which includes regenerated corpus expectations. R=thestig@chromium.org Review URL: https://codereview.chromium.org/1413673003 .
Diffstat (limited to 'third_party/freetype/src/type1/t1afm.c')
-rw-r--r--third_party/freetype/src/type1/t1afm.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/third_party/freetype/src/type1/t1afm.c b/third_party/freetype/src/type1/t1afm.c
index de9c1997c4..7f32059f85 100644
--- a/third_party/freetype/src/type1/t1afm.c
+++ b/third_party/freetype/src/type1/t1afm.c
@@ -4,7 +4,7 @@
/* */
/* AFM support for Type 1 fonts (body). */
/* */
-/* Copyright 1996-2011, 2013 by */
+/* Copyright 1996-2015 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */
/* This file is part of the FreeType project, and may only be used, */
@@ -169,8 +169,8 @@
goto Exit;
/* now, read each kern pair */
- kp = fi->KernPairs;
- limit = p + 4 * fi->NumKernPair;
+ kp = fi->KernPairs;
+ limit = p + 4 * fi->NumKernPair;
/* PFM kerning data are stored by encoding rather than glyph index, */
/* so find the PostScript charmap of this font and install it */
@@ -362,7 +362,7 @@
FT_Fixed* kerning )
{
AFM_FontInfo fi = (AFM_FontInfo)( (T1_Face)face )->afm_data;
- FT_Int i;
+ FT_UInt i;
if ( !fi )