| Index: third_party/freetype/include/freetype/ftmm.h
|
| diff --git a/third_party/freetype/include/ftmm.h b/third_party/freetype/include/freetype/ftmm.h
|
| similarity index 94%
|
| rename from third_party/freetype/include/ftmm.h
|
| rename to third_party/freetype/include/freetype/ftmm.h
|
| index 2dcfd678df14f710a0d24e8ba9c4d8079d4bdf26..6ef47987e6d00da218ec8e88ae0f7bc56a038c3a 100644
|
| --- a/third_party/freetype/include/ftmm.h
|
| +++ b/third_party/freetype/include/freetype/ftmm.h
|
| @@ -4,7 +4,7 @@
|
| /* */
|
| /* FreeType Multiple Master font interface (specification). */
|
| /* */
|
| -/* Copyright 1996-2001, 2003, 2004, 2006, 2009, 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, */
|
| @@ -95,8 +95,8 @@ FT_BEGIN_HEADER
|
| /* */
|
| /* num_designs :: Number of designs; should be normally 2^num_axis */
|
| /* even though the Type~1 specification strangely */
|
| - /* allows for intermediate designs to be present. This */
|
| - /* number cannot exceed~16. */
|
| + /* allows for intermediate designs to be present. */
|
| + /* This number cannot exceed~16. */
|
| /* */
|
| /* axis :: A table of axis descriptors. */
|
| /* */
|
| @@ -201,10 +201,10 @@ FT_BEGIN_HEADER
|
| /* associated with them. The font can tell the */
|
| /* user that, for example, Weight=1.5 is `Bold'. */
|
| /* */
|
| - /* axis :: A table of axis descriptors. */
|
| + /* axis :: An axis descriptor table. */
|
| /* GX fonts contain slightly more data than MM. */
|
| /* */
|
| - /* namedstyles :: A table of named styles. */
|
| + /* namedstyle :: A named style table. */
|
| /* Only meaningful with GX. */
|
| /* */
|
| typedef struct FT_MM_Var_
|
| @@ -280,8 +280,10 @@ FT_BEGIN_HEADER
|
| /* face :: A handle to the source face. */
|
| /* */
|
| /* <Input> */
|
| - /* num_coords :: The number of design coordinates (must be equal to */
|
| - /* the number of axes in the font). */
|
| + /* num_coords :: The number of available design coordinates. If it */
|
| + /* is larger than the number of axes, ignore the excess */
|
| + /* values. If it is smaller than the number of axes, */
|
| + /* use default values for the remaining axes. */
|
| /* */
|
| /* coords :: An array of design coordinates. */
|
| /* */
|
| @@ -307,8 +309,10 @@ FT_BEGIN_HEADER
|
| /* face :: A handle to the source face. */
|
| /* */
|
| /* <Input> */
|
| - /* num_coords :: The number of design coordinates (must be equal to */
|
| - /* the number of axes in the font). */
|
| + /* num_coords :: The number of available design coordinates. If it */
|
| + /* is larger than the number of axes, ignore the excess */
|
| + /* values. If it is smaller than the number of axes, */
|
| + /* use default values for the remaining axes. */
|
| /* */
|
| /* coords :: An array of design coordinates. */
|
| /* */
|
| @@ -334,8 +338,10 @@ FT_BEGIN_HEADER
|
| /* face :: A handle to the source face. */
|
| /* */
|
| /* <Input> */
|
| - /* num_coords :: The number of design coordinates (must be equal to */
|
| - /* the number of axes in the font). */
|
| + /* num_coords :: The number of available design coordinates. If it */
|
| + /* is larger than the number of axes, ignore the excess */
|
| + /* values. If it is smaller than the number of axes, */
|
| + /* use default values for the remaining axes. */
|
| /* */
|
| /* coords :: The design coordinates array (each element must be */
|
| /* between 0 and 1.0). */
|
|
|