| Index: third_party/freetype/include/ftbitmap.h
|
| diff --git a/core/src/fxge/fx_freetype/fxft2.5.01/include/freetype/ftbitmap.h b/third_party/freetype/include/ftbitmap.h
|
| similarity index 95%
|
| rename from core/src/fxge/fx_freetype/fxft2.5.01/include/freetype/ftbitmap.h
|
| rename to third_party/freetype/include/ftbitmap.h
|
| index 96407909257c9fffedb1a077ff99d4b7b7aa39e8..eae716904b4420a4e06eec73d05ee2b5959e9c62 100644
|
| --- a/core/src/fxge/fx_freetype/fxft2.5.01/include/freetype/ftbitmap.h
|
| +++ b/third_party/freetype/include/ftbitmap.h
|
| @@ -4,7 +4,7 @@
|
| /* */
|
| /* FreeType utility functions for bitmaps (specification). */
|
| /* */
|
| -/* Copyright 2004-2006, 2008, 2013 by */
|
| +/* Copyright 2004-2006, 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 __FTBITMAP_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!"
|
| @@ -45,7 +45,9 @@ FT_BEGIN_HEADER
|
| /* Handling FT_Bitmap objects. */
|
| /* */
|
| /* <Description> */
|
| - /* This section contains functions for converting FT_Bitmap objects. */
|
| + /* This section contains functions for handling @FT_Bitmap objects. */
|
| + /* Note that none of the functions changes the bitmap's `flow' (as */
|
| + /* indicated by the sign of the `pitch' field in `FT_Bitmap'). */
|
| /* */
|
| /*************************************************************************/
|
|
|
| @@ -122,6 +124,9 @@ FT_BEGIN_HEADER
|
| /* If you want to embolden the bitmap owned by a @FT_GlyphSlotRec, */
|
| /* you should call @FT_GlyphSlot_Own_Bitmap on the slot first. */
|
| /* */
|
| + /* Bitmaps in @FT_PIXEL_MODE_GRAY2 and @FT_PIXEL_MODE_GRAY@ format */
|
| + /* are converted to @FT_PIXEL_MODE_GRAY format (i.e., 8bpp). */
|
| + /* */
|
| FT_EXPORT( FT_Error )
|
| FT_Bitmap_Embolden( FT_Library library,
|
| FT_Bitmap* bitmap,
|
|
|