freetype-commit
[Top][All Lists]
Advanced

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

[freetype2] ewaldhew-wip e8b7eee 29/52: (objects) add is_t1 flag


From: Hew Yih Shiuan Ewald
Subject: [freetype2] ewaldhew-wip e8b7eee 29/52: (objects) add is_t1 flag
Date: Mon, 10 Jul 2017 05:10:17 -0400 (EDT)

branch: ewaldhew-wip
commit e8b7eee23a33e3377412f81086189d536312b1ef
Author: Ewald Hew <address@hidden>
Commit: Ewald Hew <address@hidden>

    (objects) add is_t1 flag
---
 include/freetype/internal/psaux.h | 2 ++
 src/psaux/psfont.h                | 1 +
 src/psaux/psft.c                  | 1 +
 3 files changed, 4 insertions(+)

diff --git a/include/freetype/internal/psaux.h 
b/include/freetype/internal/psaux.h
index 3e89d30..20177c5 100644
--- a/include/freetype/internal/psaux.h
+++ b/include/freetype/internal/psaux.h
@@ -572,6 +572,8 @@ FT_BEGIN_HEADER
     void*           hints_funcs;    /* hinter-specific */
     void*           hints_globals;  /* hinter-specific */
 
+    FT_Bool         is_t1;
+
     PS_Builder_FuncsRec  funcs;
 
   };
diff --git a/src/psaux/psfont.h b/src/psaux/psfont.h
index f7ce149..7e1f8c9 100644
--- a/src/psaux/psfont.h
+++ b/src/psaux/psfont.h
@@ -65,6 +65,7 @@ FT_BEGIN_HEADER
     FT_Memory  memory;
     FT_Error   error;     /* shared error for this instance */
 
+    FT_Bool             isT1;
     FT_Bool             isCFF2;
     CF2_RenderingFlags  renderingFlags;
 
diff --git a/src/psaux/psft.c b/src/psaux/psft.c
index 2107100..ed26e86 100644
--- a/src/psaux/psft.c
+++ b/src/psaux/psft.c
@@ -381,6 +381,7 @@
 
       /* copy isCFF2 boolean from TT_Face to CF2_Font */
       font->isCFF2 = builder->face->is_cff2;
+      font->isT1   = is_t1;
 
       font->renderingFlags = 0;
       if ( hinted )



reply via email to

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