freetype-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[freetype2] gsoc-anurag-2023-final d074c39cd 06/11: [dense] Modified FT_


From: Werner Lemberg
Subject: [freetype2] gsoc-anurag-2023-final d074c39cd 06/11: [dense] Modified FT_FaceRec, FT_GlyphSlotRec and FT_Raster_Params
Date: Mon, 9 Oct 2023 18:16:49 -0400 (EDT)

branch: gsoc-anurag-2023-final
commit d074c39cd918dba315869a1936bc4dbacb76138d
Author: Anurag Thakur <anurag105csec21@bpitindia.edu.in>
Commit: Anurag Thakur <anurag105csec21@bpitindia.edu.in>

    [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
---
 include/freetype/freetype.h | 9 +++++++++
 include/freetype/ftimage.h  | 4 ++++
 2 files changed, 13 insertions(+)

diff --git a/include/freetype/freetype.h b/include/freetype/freetype.h
index a12bd15d5..9ab407296 100644
--- a/include/freetype/freetype.h
+++ b/include/freetype/freetype.h
@@ -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;
 
diff --git a/include/freetype/ftimage.h b/include/freetype/ftimage.h
index 6baa81256..c25c6d59c 100644
--- a/include/freetype/ftimage.h
+++ b/include/freetype/ftimage.h
@@ -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;
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]