From 22d7c8578fd702fcb6208b45bf11ef6355c80841 Mon Sep 17 00:00:00 2001 From: Moazin Khatti Date: Sat, 10 Aug 2019 14:27:59 +0500 Subject: [PATCH] Minor name change. `svgrender.h' -> `otsvg.h' `FT_SVG_RENDER_H' -> `FT_OTSVG_H' Since `svgrender.h' contains just the hooks and the SVG document structure it's probably just better to name it something general like `otsvg.h'. --- include/freetype/config/ftheader.h | 6 +++--- include/freetype/internal/svginterface.h | 2 +- include/freetype/{svgrender.h => otsvg.h} | 4 ++-- src/base/ftglyph.c | 2 +- src/base/ftobjs.c | 2 +- src/sfnt/ttsvg.c | 2 +- src/svg/ftsvg.c | 2 +- src/svg/svgtypes.c | 2 +- 8 files changed, 11 insertions(+), 11 deletions(-) rename include/freetype/{svgrender.h => otsvg.h} (98%) diff --git a/include/freetype/config/ftheader.h b/include/freetype/config/ftheader.h index d9249f932..55716c2e5 100644 --- a/include/freetype/config/ftheader.h +++ b/include/freetype/config/ftheader.h @@ -550,14 +550,14 @@ /************************************************************************** * * @macro: - * FT_SVG_RENDER_H + * FT_OTSVG_H * * @description: * A macro used in `#include` statements to name the file containing the - * API of the SVG Renderer Module. + * API of OT-SVG support related things. * */ -#define FT_SVG_RENDER_H +#define FT_OTSVG_H /************************************************************************** diff --git a/include/freetype/internal/svginterface.h b/include/freetype/internal/svginterface.h index a94631e6f..6ff6db02f 100644 --- a/include/freetype/internal/svginterface.h +++ b/include/freetype/internal/svginterface.h @@ -20,7 +20,7 @@ #define SVGINTERFACE_H #include -#include FT_SVG_RENDER_H +#include FT_OTSVG_H FT_BEGIN_HEADER diff --git a/include/freetype/svgrender.h b/include/freetype/otsvg.h similarity index 98% rename from include/freetype/svgrender.h rename to include/freetype/otsvg.h index ecbc3ee0c..959d56722 100644 --- a/include/freetype/svgrender.h +++ b/include/freetype/otsvg.h @@ -1,8 +1,8 @@ /**************************************************************************** * - * svgrenderer.h + * otsvg.h * - * Interface for SVG Renderer Module (specification). + * Interface for OT-SVG support related things (specification). * * Copyright (C) 2004-2019 by * David Turner, Robert Wilhelm, Werner Lemberg and Moazin Khatti. diff --git a/src/base/ftglyph.c b/src/base/ftglyph.c index 373328afd..fa60ea1e7 100644 --- a/src/base/ftglyph.c +++ b/src/base/ftglyph.c @@ -35,7 +35,7 @@ #include FT_OUTLINE_H #include FT_BITMAP_H #include FT_INTERNAL_OBJECTS_H -#include FT_SVG_RENDER_H +#include FT_OTSVG_H /************************************************************************** diff --git a/src/base/ftobjs.c b/src/base/ftobjs.c index 880594362..770002e45 100644 --- a/src/base/ftobjs.c +++ b/src/base/ftobjs.c @@ -41,7 +41,7 @@ #include FT_SERVICE_TT_CMAP_H #include FT_SERVICE_KERNING_H #include FT_SERVICE_TRUETYPE_ENGINE_H -#include FT_SVG_RENDER_H +#include FT_OTSVG_H #include FT_DRIVER_H diff --git a/src/sfnt/ttsvg.c b/src/sfnt/ttsvg.c index cd45b76e3..4607c1e6f 100644 --- a/src/sfnt/ttsvg.c +++ b/src/sfnt/ttsvg.c @@ -29,7 +29,7 @@ #include FT_INTERNAL_OBJECTS_H #include FT_TRUETYPE_TAGS_H #include FT_GZIP_H -#include FT_SVG_RENDER_H +#include FT_OTSVG_H #ifdef FT_CONFIG_OPTION_SVG diff --git a/src/svg/ftsvg.c b/src/svg/ftsvg.c index 8c6dc3b85..2f04758d5 100644 --- a/src/svg/ftsvg.c +++ b/src/svg/ftsvg.c @@ -18,7 +18,7 @@ #include #include FT_INTERNAL_DEBUG_H #include FT_SERVICE_PROPERTIES_H -#include FT_SVG_RENDER_H +#include FT_OTSVG_H #include FT_INTERNAL_SVG_INTERFACE_H #include FT_BBOX_H diff --git a/src/svg/svgtypes.c b/src/svg/svgtypes.c index 7acfcea28..19514347e 100644 --- a/src/svg/svgtypes.c +++ b/src/svg/svgtypes.c @@ -18,7 +18,7 @@ #include #include FT_INTERNAL_OBJECTS_H #include FT_RENDER_H -#include FT_SVG_RENDER_H +#include FT_OTSVG_H typedef struct SVG_RendererRec_ {