freetype-commit
[Top][All Lists]
Advanced

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

[freetype2] master f4a3531: Make `ftfntfmt.c' part of the `base' module.


From: Werner LEMBERG
Subject: [freetype2] master f4a3531: Make `ftfntfmt.c' part of the `base' module.
Date: Mon, 5 Mar 2018 14:45:31 -0500 (EST)

branch: master
commit f4a3531655cc6f9b8c1c8b5f4dc097111d672304
Author: Werner Lemberg <address@hidden>
Commit: Werner Lemberg <address@hidden>

    Make `ftfntfmt.c' part of the `base' module.
    
    `ftobjs.c' needs `FT_Get_Font_Format'.
    
    Problem reported by duhuanpeng <address@hidden>.
    
    * modules.cfg (BASE_EXTENSIONS): Don't include `ftfntfmt.c'.
    
    * src/base/ftbase.c: Include `ftfntfmt.c'.
    * src/base/rules.mk (BASE_SRC): Add `ftfntfmt.c'.
    * src/base/Jamfile (_sources): Adjusted.
    
    * docs/INSTALL.ANY: Updated.
---
 ChangeLog         | 16 ++++++++++++++++
 docs/INSTALL.ANY  |  1 -
 modules.cfg       |  5 -----
 src/base/Jamfile  |  2 +-
 src/base/ftbase.c |  1 +
 src/base/rules.mk |  1 +
 6 files changed, 19 insertions(+), 7 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 536ce7c..17a658a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,19 @@
+2018-03-05  Werner Lemberg  <address@hidden>
+
+       Make `ftfntfmt.c' part of the `base' module.
+
+       `ftobjs.c' needs `FT_Get_Font_Format'.
+
+       Problem reported by duhuanpeng <address@hidden>.
+
+       * modules.cfg (BASE_EXTENSIONS): Don't include `ftfntfmt.c'.
+
+       * src/base/ftbase.c: Include `ftfntfmt.c'.
+       * src/base/rules.mk (BASE_SRC): Add `ftfntfmt.c'.
+       * src/base/Jamfile (_sources): Adjusted.
+
+       * docs/INSTALL.ANY: Updated.
+
 2018-03-01  Werner Lemberg  <address@hidden>
 
        * src/truetype/ttinterp.c (TT_RunIns): Fix tracing arguments.
diff --git a/docs/INSTALL.ANY b/docs/INSTALL.ANY
index 47d080f..618b634 100644
--- a/docs/INSTALL.ANY
+++ b/docs/INSTALL.ANY
@@ -39,7 +39,6 @@ I. Standard procedure
       src/base/ftbdf.c        -- optional, see <ftbdf.h>
       src/base/ftbitmap.c     -- optional, see <ftbitmap.h>
       src/base/ftcid.c        -- optional, see <ftcid.h>
-      src/base/ftfntfmt.c     -- optional, see <ftfntfmt.h>
       src/base/ftfstype.c     -- optional
       src/base/ftgasp.c       -- optional, see <ftgasp.h>
       src/base/ftgxval.c      -- optional, see <ftgxval.h>
diff --git a/modules.cfg b/modules.cfg
index 6ce0f3e..25bf9ff 100644
--- a/modules.cfg
+++ b/modules.cfg
@@ -183,11 +183,6 @@ BASE_EXTENSIONS += ftbitmap.c
 # See include/freetype/ftcid.h for the API.
 BASE_EXTENSIONS += ftcid.c
 
-# Support functions for font formats.
-#
-# See include/freetype/ftfntfmt.h for the API.
-BASE_EXTENSIONS += ftfntfmt.c
-
 # Access FSType information.  Needs fttype1.c.
 #
 # See include/freetype/freetype.h for the API.
diff --git a/src/base/Jamfile b/src/base/Jamfile
index 2b47b8a..ec17033 100644
--- a/src/base/Jamfile
+++ b/src/base/Jamfile
@@ -21,6 +21,7 @@ SubDir  FT2_TOP $(FT2_SRC_DIR) base ;
                ftadvanc
                ftcalc
                ftdbgmem
+               ftfntfmt
                ftgloadr
                fthash
                ftobjs
@@ -51,7 +52,6 @@ SubDir  FT2_TOP $(FT2_SRC_DIR) base ;
                     ftbitmap
                     ftcid
                     ftdebug
-                    ftfntfmt
                     ftfstype
                     ftgasp
                     ftglyph
diff --git a/src/base/ftbase.c b/src/base/ftbase.c
index a1bdbaf..3e5bf22 100644
--- a/src/base/ftbase.c
+++ b/src/base/ftbase.c
@@ -23,6 +23,7 @@
 #include "ftadvanc.c"
 #include "ftcalc.c"
 #include "ftdbgmem.c"
+#include "ftfntfmt.c"
 #include "ftgloadr.c"
 #include "fthash.c"
 #include "ftmac.c"
diff --git a/src/base/rules.mk b/src/base/rules.mk
index 6491f5d..0f47a72 100644
--- a/src/base/rules.mk
+++ b/src/base/rules.mk
@@ -40,6 +40,7 @@ BASE_SRC := $(BASE_DIR)/basepic.c  \
             $(BASE_DIR)/ftadvanc.c \
             $(BASE_DIR)/ftcalc.c   \
             $(BASE_DIR)/ftdbgmem.c \
+            $(BASE_DIR)/ftfntfmt.c \
             $(BASE_DIR)/ftgloadr.c \
             $(BASE_DIR)/fthash.c   \
             $(BASE_DIR)/ftobjs.c   \



reply via email to

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