freetype-commit
[Top][All Lists]
Advanced

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

[freetype2] parthw-pk-vf d934e03 1/2: [pk] Define PK_FaceRec and other f


From: Parth Wazurkar
Subject: [freetype2] parthw-pk-vf d934e03 1/2: [pk] Define PK_FaceRec and other format specific structures.
Date: Thu, 12 Jul 2018 13:09:21 -0400 (EDT)

branch: parthw-pk-vf
commit d934e03cdde9a2f63de035b1d3080d393a041e74
Author: Parth Wazurkar <address@hidden>
Commit: Parth Wazurkar <address@hidden>

    [pk] Define PK_FaceRec and other format specific structures.
    
    * src/pk/pkdrivr.h: Define PK_Bitmap and PK_Glyph
    structures to hold `pk' format specific values and
    define PK_FaceRec to accomodate them.
---
 src/pk/pkdrivr.h | 13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)

diff --git a/src/pk/pkdrivr.h b/src/pk/pkdrivr.h
index 001b35b..aa5e1a8 100644
--- a/src/pk/pkdrivr.h
+++ b/src/pk/pkdrivr.h
@@ -37,13 +37,22 @@ FT_BEGIN_HEADER
 
   } PK_BitmapRec, *PK_Bitmap;
 
+  typedef struct PK_GlyphRec_
+  {
+    FT_UInt         code_min, code_max;
+    PK_Bitmap       bm_table;
+    FT_UInt         ds, hppp, vppp;
+    FT_UInt         font_bbx_w, font_bbx_h;
+    FT_UInt         font_bbx_xoff, font_bbx_yoff;
+
+  } PK_GlyphRec, *PK_Glyph;
+
   typedef struct  PK_FaceRec_
   {
     FT_FaceRec        root;
-    /* TO-DO */
+    PK_Glyph          pk_glyph;
   } PK_FaceRec, *PK_Face;
 
-
   FT_EXPORT_VAR( const FT_Driver_ClassRec )  pk_driver_class;
 
 



reply via email to

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