| Index: third_party/freetype/include/ftadvanc.h
|
| diff --git a/core/src/fxge/fx_freetype/fxft2.5.01/include/freetype/ftadvanc.h b/third_party/freetype/include/ftadvanc.h
|
| similarity index 96%
|
| rename from core/src/fxge/fx_freetype/fxft2.5.01/include/freetype/ftadvanc.h
|
| rename to third_party/freetype/include/ftadvanc.h
|
| index 0163ba18744d52e9bb6d3253328dbe8c82776690..955f93fa16cbeeca8cfd1d12ba456085e7b058a8 100644
|
| --- a/core/src/fxge/fx_freetype/fxft2.5.01/include/freetype/ftadvanc.h
|
| +++ b/third_party/freetype/include/ftadvanc.h
|
| @@ -4,7 +4,7 @@
|
| /* */
|
| /* Quick computation of advance widths (specification only). */
|
| /* */
|
| -/* Copyright 2008, 2013 by */
|
| +/* Copyright 2008, 2013, 2014 by */
|
| /* David Turner, Robert Wilhelm, and Werner Lemberg. */
|
| /* */
|
| /* This file is part of the FreeType project, and may only be used, */
|
| @@ -20,8 +20,8 @@
|
| #define __FTADVANC_H__
|
|
|
|
|
| -#include "../ft2build.h"
|
| -#include "freetype.h"
|
| +#include <ft2build.h>
|
| +#include FT_FREETYPE_H
|
|
|
| #ifdef FREETYPE_H
|
| #error "freetype.h of FreeType 1 has been loaded!"
|
| @@ -48,6 +48,11 @@ FT_BEGIN_HEADER
|
| * @description:
|
| * This section contains functions to quickly extract advance values
|
| * without handling glyph outlines, if possible.
|
| + *
|
| + * @order:
|
| + * FT_Get_Advance
|
| + * FT_Get_Advances
|
| + *
|
| */
|
|
|
|
|
| @@ -64,11 +69,11 @@ FT_BEGIN_HEADER
|
| /* corresponding hinting mode or font driver doesn't allow for very */
|
| /* quick advance computation. */
|
| /* */
|
| - /* Typically, glyphs which are either unscaled, unhinted, bitmapped, */
|
| + /* Typically, glyphs that are either unscaled, unhinted, bitmapped, */
|
| /* or light-hinted can have their advance width computed very */
|
| /* quickly. */
|
| /* */
|
| - /* Normal and bytecode hinted modes, which require loading, scaling, */
|
| + /* Normal and bytecode hinted modes that require loading, scaling, */
|
| /* and hinting of the glyph outline, are extremely slow by */
|
| /* comparison. */
|
| /* */
|
| @@ -171,7 +176,7 @@ FT_BEGIN_HEADER
|
| FT_Int32 load_flags,
|
| FT_Fixed *padvances );
|
|
|
| -/* */
|
| + /* */
|
|
|
|
|
| FT_END_HEADER
|
|
|