[dense] Modified FT_FaceRec, FT_GlyphSlotRec and FT_Raster_Params

* include/freetype/freetype.h: Add glyph_array filed to FT_FaceRec,
prelines, prel_shifted fileds to GlyphSlotRec

* include/freetype/ftimage.h: Add prelines filed to FT_raster_Params
This commit is contained in:
Anurag Thakur 2023-10-10 01:43:22 +05:30
parent c33e0b82de
commit d074c39cd9
2 changed files with 13 additions and 0 deletions

View File

@ -1276,6 +1276,7 @@ FT_BEGIN_HEADER
FT_ListRec sizes_list;
FT_Generic autohint; /* face-specific auto-hinter data */
FT_GlyphSlot* glyph_array;
void* extensions; /* unused */
FT_Face_Internal internal;
@ -2209,6 +2210,12 @@ FT_BEGIN_HEADER
* other ::
* Reserved.
*
* prelines ::
* Linkedlist containing lines to be drawn for the glyph
*
* prel_shifted ::
* If the points in preline have been adjustted according to target bitmap
*
* lsb_delta ::
* The difference between hinted and unhinted left side bearing while
* auto-hinting is active. Zero otherwise.
@ -2326,6 +2333,8 @@ FT_BEGIN_HEADER
FT_Pos rsb_delta;
void* other;
FT_PreLine prelines;
int prel_shifted;
FT_Slot_Internal internal;

View File

@ -1030,6 +1030,9 @@ FT_BEGIN_HEADER
* An optional span clipping box expressed in _integer_ pixels
* (not in 26.6 fixed-point units).
*
* prelines ::
* Pointer of type FT_PreLine, containing line data for a glyph
*
* @note:
* The @FT_RASTER_FLAG_AA bit flag must be set in the `flags` to
* generate an anti-aliased glyph bitmap, otherwise a monochrome bitmap
@ -1059,6 +1062,7 @@ FT_BEGIN_HEADER
FT_Raster_BitSet_Func bit_set; /* unused */
void* user;
FT_BBox clip_box;
void* prelines;
} FT_Raster_Params;