shithub: freetype+ttf2subf

Download patch

ref: d26cd5ed275c37afc6ea199f8b20b0ca2d9a12c1
parent: af8346172a7b573715134f7a51e6c5c60fa7f2ab
author: Werner Lemberg <[email protected]>
date: Sat Nov 22 13:49:25 EST 2014

The FT_LOAD_BITMAP_CROP flag is obsolete.

It's not used by any driver.

git/fs: mount .git/fs: mount/attach disallowed
--- a/include/freetype.h
+++ b/include/freetype.h
@@ -2540,11 +2540,6 @@
    *     Indicates that the auto-hinter is preferred over the font's native
    *     hinter.  See also the note below.
    *
-   *   FT_LOAD_CROP_BITMAP ::
-   *     Indicates that the font driver should crop the loaded bitmap glyph
-   *     (i.e., remove all space around its black bits).  Not all drivers
-   *     implement this.
-   *
    *   FT_LOAD_PEDANTIC ::
    *     Indicates that the font driver should perform pedantic verifications
    *     during glyph loading.  This is mostly used to detect broken glyphs
@@ -2555,9 +2550,6 @@
    *     result in partially hinted or distorted glyphs in case a glyph's
    *     bytecode is buggy.
    *
-   *   FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH ::
-   *     Ignored.  Deprecated.
-   *
    *   FT_LOAD_NO_RECURSE ::
    *     Indicate that the font driver should not load composite glyphs
    *     recursively.  Instead, it should set the `num_subglyph' and
@@ -2595,6 +2587,12 @@
    *     bitmaps are found, they will be converted to 256-level gray
    *     bitmaps transparently.  Those bitmaps will be in the
    *     @FT_PIXEL_MODE_GRAY format.
+   *
+   *   FT_LOAD_CROP_BITMAP ::
+   *     Ignored.  Deprecated.
+   *
+   *   FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH ::
+   *     Ignored.  Deprecated.
    *
    * @note:
    *   By default, hinting is enabled and the font's native hinter (see