[sfnt] Separate WOFF sources and headers

System Internals / FreeType - Nikhil Ramakrishnan [gmail.com] - 30 May 2019 18:27 EDT

Move WOFF sources and headers to separate files.

- include/freetype/internal/wofftypes.h, src/sfnt/sfwoff.c, src/sfnt/sfwoff.h: New files.

- include/freetype/internal/fttrace.h: Register `sfwoff.c'.

- include/freetype/internal/internal.h: Define FT_INTERNAL_WOFF_TYPES_H.

- include/freetype/internal/sfnt.h: Include FT_INTERNAL_WOFF_TYPES_H.

- include/freetype/internal/tttypes.h: Move out WOFF structures.

- src/sfnt/rules.mk: Add `sfwoff.c'.

- src/sfnt/sfnt.c: Include `sfwoff.c'.

- src/sfnt/sfobjs.c: Include `sfwoff.h', move out WOFF sources.

7b275a5af [sfnt] Separate WOFF sources and headers.
ChangeLog | 24 ++
include/freetype/internal/fttrace.h | 1 +
include/freetype/internal/internal.h | 1 +
include/freetype/internal/sfnt.h | 1 +
include/freetype/internal/tttypes.h | 75 ------
include/freetype/internal/wofftypes.h | 112 +++++++++
src/sfnt/rules.mk | 1 +
src/sfnt/sfnt.c | 1 +
src/sfnt/sfobjs.c | 399 +------------------------------
src/sfnt/sfwoff.c | 434 ++++++++++++++++++++++++++++++++++
src/sfnt/sfwoff.h | 41 ++++
11 files changed, 617 insertions(+), 473 deletions(-)

Upstream: git.savannah.gnu.org


  • Share