[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[freetype2] parthw-cleaned 24f39cb 03/10: [pk] Define PK_FaceRec and oth
From: |
Parth Wazurkar |
Subject: |
[freetype2] parthw-cleaned 24f39cb 03/10: [pk] Define PK_FaceRec and other format specific structures. |
Date: |
Mon, 30 Jul 2018 14:32:00 -0400 (EDT) |
branch: parthw-cleaned
commit 24f39cba3dad4a0709b97c878de695c1f54d9144
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;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [freetype2] parthw-cleaned 24f39cb 03/10: [pk] Define PK_FaceRec and other format specific structures.,
Parth Wazurkar <=